Skip to content

LearnOSM need to be tidy #306

Closed
Closed
@pyrog

Description

@pyrog

Hi,

One of the big problem is that this site is a… mess 😉

It use essentially _posts but this is not a blog, it's a book. We don't need to put chapters in _posts.
So the actually structure of learnOSM is too complicated, difficult to understand, translate and maintain.

We should tidy it and separate better data and code:

  • data : chapters in .md format without liquid markup
  • code: use "well" layouts and/or gems

Examples:

  • All chapters code could be only in the layout
  • same thing for Moving Forward
  • Front matter are too complicated, we don't need:
    • permalink: if we will not use _posts
    • lang:, layout could determine it easily from the page.path 😉
    • category: same as permalink.
  • Images:
    • their names are too complicated
    • some of them should translated, internationalized
      (so we should have the source image and separately the anotations written on them)
  • layouts are too complicated:
    • a layout could call another one. Hi levels layout represent structures (menu, header, footer, traffic analysis Web Traffic Analytics? #294, …), low levels contains HTML
    • a layout could also include other files

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