summaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/entry.html2
-rw-r--r--src/templates/journal.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/entry.html b/src/templates/entry.html
index 2355310..83dad5a 100644
--- a/src/templates/entry.html
+++ b/src/templates/entry.html
@@ -13,7 +13,7 @@
{% block content %}
<article itemscope itemtype="http://schema.org/Article"
- class="entry" id="entry:{{ page.id }}">
+ class="entry{% if page.dropcap %} dropcap{% endif %}" id="entry:{{ page.id }}">
<h2 itemprop="name" class="title">{{ page.title }}</h2>
diff --git a/src/templates/journal.html b/src/templates/journal.html
index 2b2794f..36abb93 100644
--- a/src/templates/journal.html
+++ b/src/templates/journal.html
@@ -7,7 +7,7 @@
{% block content %}
{% for entry in entries %}
<article itemscope itemtype="http://schema.org/Article"
- class="entry" id="entry:{{ entry.id }}">
+ 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>