diff options
author | Filipe Brandenburger <filbranden@google.com> | 2019-01-02 23:16:34 +0100 |
---|---|---|
committer | Filipe Brandenburger <filbranden@google.com> | 2019-01-02 23:16:34 +0100 |
commit | c3e270f4eeda70396b5af8dc01ac2a7234f098b9 (patch) | |
tree | 35c0fc453460feefe7c5e35474368a59d8d901ee /docs/DISTRO_PORTING.md | |
parent | Docs: Add Missing Space Between Words (diff) | |
download | systemd-c3e270f4eeda70396b5af8dc01ac2a7234f098b9.tar.xz systemd-c3e270f4eeda70396b5af8dc01ac2a7234f098b9.zip |
docs: add a "front matter" snippet to our markdown pages
It turns out Jekyll (the engine behind GitHub Pages) requires that pages
include a "Front Matter" snippet of YAML at the top for proper rendering.
Omitting it will still render the pages, but including it opens up new
possibilities, such as using a {% for %} loop to generate index.md instead of
requiring a separate script.
I'm hoping this will also fix the issue with some of the pages (notably
CODE_OF_CONDUCT.html) not being available under systemd.io
Tested locally by rendering the website with Jekyll. Before this change, the
*.md files were kept unchanged (so not sure how that even works?!), after this
commit, proper *.html files were generated from it.
Diffstat (limited to 'docs/DISTRO_PORTING.md')
-rw-r--r-- | docs/DISTRO_PORTING.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/DISTRO_PORTING.md b/docs/DISTRO_PORTING.md index bcb093fbdc..f8b98bcbae 100644 --- a/docs/DISTRO_PORTING.md +++ b/docs/DISTRO_PORTING.md @@ -1,3 +1,7 @@ +--- +title: Porting systemd To New Distributions +--- + # Porting systemd To New Distributions ## HOWTO |