about summary refs log tree commit diff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html3
-rw-r--r--layouts/partials/head.html2
2 files changed, 4 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 5d37444..3dc85e7 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -8,6 +8,9 @@ SPDX-License-Identifier: MIT
   <article>
     <header>
       <h1>{{ trim .Title  " " }}</h1>
+      {{ .WordCount }} words
+      ({{ div .WordCount 240}}~{{ div .WordCount 180}} minutes reading)
+
       {{ partial "post-language-switcher.html" . }}
       {{ partial "post-navigation.html" . }}
     </header>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 86c4a33..79d51b5 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,4 +1,4 @@
-{{ $style := resources.Get "css/readable.css" }}
+{{ $style := resources.Get "css/readable/readable.css" }}
 
 <meta charset="utf-8">
 <meta name="HandheldFriendly" content="True">