diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-03-24 15:27:46 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-03-24 15:27:46 +0100 |
commit | d229b1c4b664096240ea5fea63abf6512abfc632 (patch) | |
tree | f04e603d3897d83cd85732d7080aa860bf6d9c11 /src | |
parent | cf13e6712e83c367f9e033365551751cda6b1dec (diff) | |
download | website-d229b1c4b664096240ea5fea63abf6512abfc632.tar.xz |
journal: Add a tag to entry titles
Diffstat (limited to 'src')
-rw-r--r-- | src/style.css | 9 | ||||
-rw-r--r-- | src/templates/journal.html | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/style.css b/src/style.css index 3858498..97011ee 100644 --- a/src/style.css +++ b/src/style.css @@ -69,6 +69,15 @@ header h1 { margin-top: 0.3rem; margin-bottom: 0.3rem; } +.entry .title a, +.entry .title a:visited { + color: #111; +} + +.entry .title a:hover { + color: #333; +} + .entry .info { font-size: 0.9rem; color: #505050; diff --git a/src/templates/journal.html b/src/templates/journal.html index d7a64d2..2b2794f 100644 --- a/src/templates/journal.html +++ b/src/templates/journal.html @@ -9,7 +9,7 @@ <article itemscope itemtype="http://schema.org/Article" class="entry" id="entry:{{ entry.id }}"> - <h2 itemprop="name" class="title">{{ entry.title }}</h2> + <h2 itemprop="name" class="title"><a href="#entry:{{ entry.id }}">{{ entry.title }}</a></h2> <div class="info"> Published on |