Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/colorchestra/smol.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormorph <morph@posteo.de>2020-05-26 19:30:25 +0300
committermorph <morph@posteo.de>2020-05-26 19:30:25 +0300
commit6f6aa7c5ae20bfb013953bec715acda6c608d0f3 (patch)
tree84d5950dbd50181e3ece17b9cc18df12ab64a8cf
parent98782658f22b6da57b422d463b6f3236492cdc88 (diff)
change countrunes to len
-rw-r--r--layouts/partials/header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index c3e2cb1..14da3a8 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,7 +1,7 @@
<header>
- {{ strings.Repeat ( .Site.Title | countrunes | add 6 ) .Site.Params.title_frame_char }}<br>
+ {{ strings.Repeat ( .Site.Title | len | add 6 ) .Site.Params.title_frame_char }}<br>
== <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> ==<br>
- {{ strings.Repeat ( .Site.Title | countrunes | add 6 ) .Site.Params.title_frame_char }}<br>
+ {{ strings.Repeat ( .Site.Title | len | add 6 ) .Site.Params.title_frame_char }}<br>
<p>
<div style="float: right;">{{ .Site.Params.subtitle }}</div>
<nav>