Skip to content

individuel Pages for all systems - not only affected ones #269

@MirMiz

Description

@MirMiz

Is your feature request related to a problem? Please describe.
at the moment: cstate/hugo only creates pages for systems, which are currently affected by an incident.
clicking on a system's name (without incidents) on the index page forwards to the 404.html-page, with is showing a vague message like "doc not found OR no incident recorded OR url maybe wrong" (it's not the fault of the 404-page: he/she/it can't know for sure)
It would be more user-friendly, if more precise information could be displayed.

Describe the solution you'd like
rendering/creating page for all systems would be a solution for this problem.
_default/lists.html seems to be already prepared for this usecase: Lines 59ff formulate an if-clause to include the calmBeforeTheStorm-message. (however, as the pages for systems currently will only be rendered, if there are incidents, the calmBeforeTheStorm is never displayed) :(

Describe alternatives you've considered
i tried to create inndividual pages per system in a folder content/affected/. this kind of works. however, this would be some form of duplicate data storage, as the systems names are already defined in config.yml. (Furthermore, I wasn't able to display die incidents/issues belonging to the system on it's content/affected/-Page. -- if fixable, this might be an alternativ, though)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions