diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/blog.html | 5 | ||||
-rw-r--r-- | templates/default.html | 7 | ||||
-rw-r--r-- | templates/index.html | 2 | ||||
-rw-r--r-- | templates/project.html | 2 |
4 files changed, 9 insertions, 7 deletions
diff --git a/templates/blog.html b/templates/blog.html index 87a9cd9..c32451b 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -7,4 +7,9 @@ <ul class="postlist">{% for post in page.posts %} <li><time>{{ post.date|datefmt }}</time> | <a href="{{ '/' + post.location }}">{{ post.title }}</a>{% endfor %} </ul> +{% if page.tags %} +<ul class="taglist"> + <li>All tags:</li>{% for tag in page.tags %} + <li><a href="{{ '/tag/' + tag + '.html' }}">{{ tag }}</a></li>{% endfor %} +</ul>{% endif %} {% endblock %} diff --git a/templates/default.html b/templates/default.html index 07ff3ed..f6898ae 100644 --- a/templates/default.html +++ b/templates/default.html @@ -1,11 +1,11 @@ <!DOCTYPE html> -<html> +<html lang="en-GB"> <head> + <meta charset="utf-8" /> <title>{{ page.title }}</title> <link rel="stylesheet" href="/style.css" /> <link rel="icon" type="image/png" sizes="32x32" href="/images/icon32x32.png" /> <link rel="icon" type="image/png" sizes="16x16" href="/images/icon16x16.png" /> - <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="description" content="{{ page.description }}" /> <meta name="author" content="Tomasz Kramkowski <tk@the-tk.com>" /> @@ -29,9 +29,6 @@ • <a href="https://github.com/EliteTK">github</a> • <a href="https://the-tk.com/cgit">cgit</a> • <a href="https://the-tk.com/archive">ML archive</a> - • <a href="http://www.catb.org/hacker-emblem/"><img class="icon" src="/images/glider-yellow.png" alt="Hacker Emblem" /></a> - • <a href="https://www.eff.org/"><img class="icon" src="/images/EFF.png" alt="EFF Logo" /></a> - • <a href="https://www.fsf.org/"><img class="icon" src="/images/GNU.png" alt="GNU Logo" /></a> </footer> </main> <div id="copyright"> diff --git a/templates/index.html b/templates/index.html index c32a7fb..6a64d79 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,7 +11,7 @@ <header> <h3>{{ post.title }}</h3> </header> - {{ post.pre }} + {{ post.pre|md }} <a href="/{{ post.location }}">Read more...</a> <footer> <time>{{ post.date|datefmt }}</time> diff --git a/templates/project.html b/templates/project.html index 15e4d9a..2246296 100644 --- a/templates/project.html +++ b/templates/project.html @@ -2,7 +2,7 @@ {% block content %} <h1>{{ page.title }}</h1> {{ page.content }} -{% if page.source or page.ml %}<hr /> +{% if page.source or page.ml or page.aur %}<hr /> <dl> {% if page.source %}<dt>Source</dt> <dd><a href="{{ page.source }}">{{ page.source }}</a></dd>{% endif %} |