diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/archive.html | 39 | ||||
-rw-r--r-- | _layouts/default.html | 12 | ||||
-rw-r--r-- | _layouts/language-war.html | 40 | ||||
-rw-r--r-- | _layouts/post.html | 51 | ||||
-rw-r--r-- | _layouts/project.html | 22 |
5 files changed, 0 insertions, 164 deletions
diff --git a/_layouts/archive.html b/_layouts/archive.html deleted file mode 100644 index c794c22..0000000 --- a/_layouts/archive.html +++ /dev/null @@ -1,39 +0,0 @@ ---- -layout: default ---- - -{% markdown %} -## Blog posts tagged with #{{ page.title | slugify }} -{% endmarkdown %} - -{% include posts-intro.md %} - -{% for post in page.posts %} - {% if post.wip %}{% continue %}{% endif %} - {% assign this_year = post.date | date: "%Y" %} - - {% if this_year != prev_year %} - {% if forloop.first != true %} - </ul> - {% endif %} - - <h3>{{ this_year }}</h3> - <ul> - {% endif %} - - <li> - <a href="{{ post.url }}">{{ post.title }}</a> - <small> - {{ post.date | date: "%Y-%m-%d" }} - {% for tag in post.tags %} - <a href="{{ site.baseurl | prepend: site.url }}/tag/{{ tag | slugify }}">#{{ tag | slugify }}</a> - {% endfor %} - </small> - </li> - - {% if forloop.last %} - </ul> - {% endif %} - - {% assign prev_year = post.date | date: "%Y" %} -{% endfor %} diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index 228f4c7..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -{% include head.html %} - <body> -{% include header.html %} - <main> - <div class="container"> -{{ content }} </div> - </main> -{% include footer.html %} - </body> -</html> diff --git a/_layouts/language-war.html b/_layouts/language-war.html deleted file mode 100644 index 31f1085..0000000 --- a/_layouts/language-war.html +++ /dev/null @@ -1,40 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head lang="en"> - {% include head.html %} - <link rel="stylesheet" type="text/css" href="{{ "/css/language-war.css" | prepend: site.baseurl }}" /> - </head> - <body> - {% include header.html %} - <article> - <main> - {{ content }} - </main> - <footer> - <p class="text-center"> - <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"> - <img alt="Creative Commons License" style="border-width:0" src="{{ "/img/cc-by-sa.png" | prepend: site.baseurl }}" /> - </a> - </p> - {% if page.authors %} - <p> - This <span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" rel="dct:type">work</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>. - You can freely modify and redistribute this work as long as attribution to the author(s) remains: - </p> - <ul> - {% for author in page.authors %} - <li> - {% if author[1] %} - <a xmlns:cc="http://creativecommons.org/ns#" href="{{ author[1] }}" property="cc:attributionName" rel="cc:attributionURL">{{ author[0] }}</a> - {% else %} - {{ author[0] }} - {% endif %} - </li> - {% endfor %} - </ul> - {% endif %} - </footer> - </article> - {% include footer.html %} - </body> -</html> diff --git a/_layouts/post.html b/_layouts/post.html deleted file mode 100644 index d979adb..0000000 --- a/_layouts/post.html +++ /dev/null @@ -1,51 +0,0 @@ ---- -layout: default ---- - -<article> - <header> - <h1> - {{ page.title }} - {% if page.wip %}<small>Work in progress!</small>{% endif %} - </h1> - <small> - {% for tag in page.tags %} - <a href="{{ site.baseurl | prepend: site.url }}/tag/{{ tag | slugify }}">#{{ tag | slugify }}</a> - {% endfor %} - </small> - </header> - <main> - {{ content }} - </main> - <footer> - <p class="text-center"> - <a class="image-link" rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"> - <img alt="Creative Commons License" style="border-width:0" src="{{ "/img/cc-by-sa.png" | prepend: site.baseurl }}" /> - </a>{% if page.social %} - <span class="footer-link-seperator"></span> - {% for media in page.social %} - <a class="image-link" href="{{ media[1] }}"> - <img alt="{{ media[0] }}" src="{{ media[0] | append: ".png" | prepend: "/img/" | prepend: site.baseurl }}" /> - </a> - {% endfor %} - {% endif %} - </p> - {% if page.authors %} - <p> - This <span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" rel="dct:type">work</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>. - You can freely modify and redistribute this work as long as attribution to the author(s) remains: - </p> - <ul> - {% for author in page.authors %} - <li> - {% if author[1] %} - <a xmlns:cc="http://creativecommons.org/ns#" href="{{ author[1] }}" property="cc:attributionName" rel="cc:attributionURL">{{ author[0] }}</a> - {% else %} - {{ author[0] }} - {% endif %} - </li> - {% endfor %} - </ul> - {% endif %} - </footer> -</article> diff --git a/_layouts/project.html b/_layouts/project.html deleted file mode 100644 index e85b209..0000000 --- a/_layouts/project.html +++ /dev/null @@ -1,22 +0,0 @@ ---- -layout: default ---- - -<article> - <header> - <h1>{{ page.title }}</h1> - </header> - <main> - {{ content }} - </main> - <footer> - <hr> - <ul> - <li><strong>Language(s)</strong>: {{ page.langs }}</li> - <li><strong>License</strong>: {{ page.license }}</li> - <li> - <strong>Source repository</strong>: <a href="{{ page.repo}}">{{ page.repo }}</a> - </li> - </ul> - </footer> -</article> |