summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/style.css9
-rw-r--r--src/templates/journal.html2
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