diff options
author | Katharina Fey <kookie@spacekookie.de> | 2018-01-22 14:14:56 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2018-01-22 14:14:56 +0100 |
commit | a8f43af83bf72f2c3f1291b3235a3552a17b6659 (patch) | |
tree | cb8bb3fd61486c8805a34a227dc403582478960e /crumbs | |
parent | 9573a497c326ca83b7594aef572d749afc557761 (diff) |
Using the cool new plugin and stuff
Diffstat (limited to 'crumbs')
-rwxr-xr-x | crumbs/templates/article.html | 25 | ||||
-rwxr-xr-x | crumbs/templates/home.html | 4 |
2 files changed, 14 insertions, 15 deletions
diff --git a/crumbs/templates/article.html b/crumbs/templates/article.html index eb38808..e5a6c9e 100755 --- a/crumbs/templates/article.html +++ b/crumbs/templates/article.html @@ -5,19 +5,20 @@ {% block keywords %}{% for tag in article.tags|sort %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endblock keywords %} {% block content %} - <div class="col-lg-9 content"> - {{ article.content }} - {% if article.related_posts %} - <h4>Articles connexes</h4> - <dl class="dl-horizontal"> - {% for related_post in article.related_posts %} - <dt>{{ related_post.locale_date}}</dt> - <dd><a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a></dd> - {% endfor %} - </dl> - {% endif %} + <p>This article takes {{article.read_time_string}} to read.</p> - <hr/> + <div class="col-lg-9 content"> + {{ article.content }} + + {% if article.related_posts %} + <h4>Articles connexes</h4> + <dl class="dl-horizontal"> + {% for related_post in article.related_posts %} + <dt>{{ related_post.locale_date}}</dt> + <dd><a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a></dd> + {% endfor %} + </dl> + {% endif %} </div> {% endblock %} diff --git a/crumbs/templates/home.html b/crumbs/templates/home.html index 50991e6..7df2bfe 100755 --- a/crumbs/templates/home.html +++ b/crumbs/templates/home.html @@ -7,10 +7,8 @@ <!-- Fonts --> <!-- <link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500|Raleway:200,200i,300,300i,400,400i,500" rel="stylesheet"> --> - <link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500;subset=cyrillic,latin-ext" rel="stylesheet"> + <link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,500" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet"> - - <!-- Include font awesome --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- Load bootstrap, then my own CSS --> |