diff options
Diffstat (limited to 'src/_includes')
-rw-r--r-- | src/_includes/footer.html | 19 | ||||
-rw-r--r-- | src/_includes/head.html | 15 | ||||
-rw-r--r-- | src/_includes/header.html | 9 | ||||
-rw-r--r-- | src/_includes/posts-intro.md | 22 |
4 files changed, 65 insertions, 0 deletions
diff --git a/src/_includes/footer.html b/src/_includes/footer.html new file mode 100644 index 0000000..e1f6637 --- /dev/null +++ b/src/_includes/footer.html @@ -0,0 +1,19 @@ + +<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://gitlab.com/tyil/blog">this git repository</a>. The link + to the Jekyll site is intentionally omitted as they make use of + Cloudflare. Until this issue is resolved, I will not link to them. + </p> + </div> +</footer> diff --git a/src/_includes/head.html b/src/_includes/head.html new file mode 100644 index 0000000..78ef1f7 --- /dev/null +++ b/src/_includes/head.html @@ -0,0 +1,15 @@ + +<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">{% if page.description %} + <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="stylesheet" type="text/css" href="{{ "/css/pygments.css" | prepend: site.baseurl }}" /> + <link rel="stylesheet" type="text/css" href="{{ "/css/main.css" | prepend: site.baseurl }}" /> + <link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ "/atom.xml" | 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 }}"> + + <title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title> +</head> diff --git a/src/_includes/header.html b/src/_includes/header.html new file mode 100644 index 0000000..9c0a8e5 --- /dev/null +++ b/src/_includes/header.html @@ -0,0 +1,9 @@ +<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> diff --git a/src/_includes/posts-intro.md b/src/_includes/posts-intro.md new file mode 100644 index 0000000..c109af2 --- /dev/null +++ b/src/_includes/posts-intro.md @@ -0,0 +1,22 @@ +{% markdown %} +Over time, I've written a number of articles. Some to voice my opinion, some to +help people out with a tutorial. These articles are listed below, sorted by +publication date. If you have any comments on any of my articles, feel free to +reach out to me through any of the contact details found [on the +homepage][home]. Alternatively, I have a public inbox on Sourcehut that you +can send any comments to: +[`~tyil/public-inbox@lists.sr.ht`](mailto:~tyil/public-inbox@lists.sr.ht). + +All my blog posts are available under the [Creative Commons (CC BY-SA +3.0)][cc-by-sa] license, which means you are free to use it for any purpose so +long as you keep attribution to me (and preferably also just link to the +original article) and do not relicense the article. + +I'd also like to note that **these articles reflect my opinion, and only +mine**. Please refrain from accusing other people of holding my opinion for +simply being referenced in my articles. + +[cc-by-sa]: https://creativecommons.org/licenses/by-sa/3.0/ +[home]: / +[pgp]: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x7A6AC285E2D98827 +{% endmarkdown %} |