diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-08-07 20:51:22 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2016-08-07 20:51:22 +0200 |
commit | 08abcf7543844ae3480d22bf89daf7034b271fbb (patch) | |
tree | 7776b883eedba4dad75f0e0df80cd01bdfe35390 /src/templates | |
parent | 950273e92cbd95e9abbc09d56a65134948829d93 (diff) | |
download | website-08abcf7543844ae3480d22bf89daf7034b271fbb.tar.xz |
Redo permalink again
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/journal.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/templates/journal.html b/src/templates/journal.html index 33856c1..4c1b47f 100644 --- a/src/templates/journal.html +++ b/src/templates/journal.html @@ -9,14 +9,16 @@ <article itemscope itemtype="http://schema.org/Article" class="entry{% if entry.dropcap %} dropcap{% endif %}" id="entry:{{ entry.id }}"> - <h2 itemprop="name" class="title"><a href="#entry:{{ entry.id }}">{{ entry.title }}</a></h2> + <h2 itemprop="name" class="title"> + <a href="journal/{{ entry.page }}">{{ entry.title }}</a> + <a href="#entry:{{ entry.id }}" class="permalink">§</a> + </h2> <div class="info"> Published on <time itemprop="datePublished" datetime="{{ entry.date.strftime('%Y-%m-%d') }}"> {{ entry.date.strftime('%Y-%m-%d') }} </time> - <a href="journal/{{ entry.page }}">[permalink]</a> </div> {{ entry.body }} |