diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/style.css | 9 | ||||
-rw-r--r-- | src/templates/journal.html | 6 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/style.css b/src/style.css index aac5d1c..f853a73 100644 --- a/src/style.css +++ b/src/style.css @@ -78,6 +78,15 @@ header h1 { color: #333; } +.entry .permalink a, +.entry .permalink a:visited { + color: #eeeeee; +} + +.entry .permalink a:hover { + color: #738181; +} + .entry .info { font-size: 0.9rem; color: #505050; 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 }} |