diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-07-27 16:06:57 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-07-27 16:06:57 +0700 |
commit | 666c0318c9190dd7742e871865b738d5444d7a54 (patch) | |
tree | c7d18ceba3b6cfc00bbdbb1b1f5eb3d50ec90182 /layouts/_default | |
parent | fa98ab0589d4be1ca89a0538f6826b0037ff9821 (diff) | |
download | victor-666c0318c9190dd7742e871865b738d5444d7a54.tar.gz |
Add word count, change CSS path
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 3 |
1 files changed, 3 insertions, 0 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> |