diff options
author | Tobias Bernard <tbernard@gnome.org> | 2019-12-11 17:01:46 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-12-11 17:04:20 +0100 |
commit | b41a3f66c97e3d861faed04b727daf929383b827 (patch) | |
tree | 34c10f34c0c1a91673623c07153701918bfe80a1 /docs/_includes | |
parent | 2e3fa22ef3de327cad6af7bdfc44655201c70ebe (diff) | |
download | systemd-b41a3f66c97e3d861faed04b727daf929383b827.tar.gz |
docs: make it pretty
Add custom Jekyll theme, logo, webfont and .gitignore
FIXME: the markdown files have some H1 headers which need to be replaced
with H2
Diffstat (limited to 'docs/_includes')
-rw-r--r-- | docs/_includes/footer.html | 5 | ||||
-rw-r--r-- | docs/_includes/head.html | 16 | ||||
-rw-r--r-- | docs/_includes/header.html | 11 |
3 files changed, 32 insertions, 0 deletions
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html new file mode 100644 index 0000000000..d8c1535f28 --- /dev/null +++ b/docs/_includes/footer.html @@ -0,0 +1,5 @@ +<footer class="site-footer"> + <p>© systemd, 2019</p> + + <p><a href="https://github.com/systemd/systemd">Website source</a></p> +</footer> diff --git a/docs/_includes/head.html b/docs/_includes/head.html new file mode 100644 index 0000000000..3ff4bbe0b8 --- /dev/null +++ b/docs/_includes/head.html @@ -0,0 +1,16 @@ +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="theme-color" content="#0021D8"> + + <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> + + <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> + <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" /> + + <link rel="stylesheet" href="{{ "/style.css" | prepend: site.baseurl }}"> + + <link rel="icon" type="image/png" href="/favicon.png" /> + <link rel="icon" sizes="144x144" href="apple-touch-icon.png"> +</head> diff --git a/docs/_includes/header.html b/docs/_includes/header.html new file mode 100644 index 0000000000..4e885fbe71 --- /dev/null +++ b/docs/_includes/header.html @@ -0,0 +1,11 @@ +<header class="site-header"> + + <div class="wrapper"> + + <a class="page-logo" href="{{ site.baseurl }}/"> + <img src="/assets/page-logo.svg" alt="systemd"> + </a> + + </div> + +</header> |