Skip to content

Proposal: Strictly separate content and templates #56

Closed

Description

@hroncok

(This is an idea I've got after reading the discussion in #55 (comment), although it's not related to the discussion itself, so I'm opening a new issue not to spam that discussion).

See this template. It has content. It says things. I propose we remove the content form the template and save it somewhere where content belongs, such as in this repository a YAML or Markdown file.

Does it make sense?

(This is not intended as bikeshedding, feel free to ignore the proposal until more pressing issues are fixed.)

Activity

  1. Sanqui commented on Mar 9, 2017

    @Sanqui
    Member

    I believe that is already being done for lessons. I can see some lessons have already been converted to Markdown, e.g. cmdline. However, it's more complicated with templates for e.g. the front page, which aren't simply formatted text, rather websites with various elements - buttons, containers, cards. Those may be expressed easier in explicit HTML.

  2. encukou commented on Mar 9, 2017

    @encukou
    Member

    Yeah, the home page is special – it mixes short pieces of text and formatting, and it's quite visual. I think separating here would make it quite a lot harder to edit.
    For more content-heavy pages, this should be done already.

  3. added a commit that references this issue on Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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