diff options
author | Patrick Spek <p.spek@tyil.nl> | 2018-07-08 15:46:56 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2018-07-08 15:46:56 +0200 |
commit | d16530d61a04435fd8cb4d4770c4ac715ac8ef0e (patch) | |
tree | 46499a98c6f890622e5ccbf9cf43725a7597c7e4 /_includes |
Initial commit
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/footer.html | 20 | ||||
-rw-r--r-- | _includes/head.html | 21 | ||||
-rw-r--r-- | _includes/header.html | 11 |
3 files changed, 52 insertions, 0 deletions
diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..a050abe --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,20 @@ +<footer class="site-footer"> + <div class="container"> + <hr> + <p> + © 2016 - {{ 'now' | date: "%Y" }} – Patrick "tyil" Spek + </p> + <p> + All content is licensed as per the license shown below that content. + All other sources (html, css, ...) are released under the terms of the + <a href="https://www.gnu.org/licenses/gpl-3.0.txt">GNU GPL, version + 3</a> or later. + </p> + <p> + Site generated using Jekyll from <a + href="https://c.darenet.org/tyil/website">this git repository</a>. The + link to the Jekyll site is intentionally omitted as they make use of + Cloudflare. Untill this issue is resolved, I will not link to them. + </p> + </div> +</footer> diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..61c8c2d --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,21 @@ +<head lang="en"> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <link rel="stylesheet" type="text/css" href="{{ "/css/pygments.css" | prepend: site.baseurl }}" /> + <link rel="stylesheet" type="text/css" href="{{ "/css/main.css" | prepend: site.baseurl }}" /> + + <title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title> + + {% if page.excerpt.size != 0 and page.excerpt.size > 0 %} + <meta name="description" content="{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}" /> + {% else %} + <meta name="description" content="{{ page.description | strip_newlines }}" /> + {% endif %} + + <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 }}"> + + <script src="https://cdn.tyil.nl/analytics.js"></script> +</head> diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..2335d7c --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,11 @@ +<header id="site-header"> + <div class="container"> + <nav> + <a href="{{ site.baseurl }}/" class="brand-name">{{ site.title }}</a> + {% for collection in site.collections %} + <a href="{{ collection.label | prepend: "/" | prepend: site.baseurl }}/">{{ collection.label | capitalize }}</a> + {% endfor %} + <a href="{{ "/support" | prepend: site.baseurl }}/">Support me</a> + </nav> + </div> +</header> |