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

github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumberto Rocha <humrochagf@gmail.com>2019-07-29 15:55:15 +0300
committerHumberto Rocha <humrochagf@gmail.com>2019-07-29 15:55:15 +0300
commitcc0e6fb80784f4eb739c5e554f5f5d49b0005b5f (patch)
tree214fedbe3e3877bd8e808ac58f09c0930ab2310b /layouts/partials
parentc58a8fd0ea5992eeec9de5026b7b157cddc48c65 (diff)
Publish partial, i18n, and typography changes
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/publish.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/publish.html b/layouts/partials/publish.html
new file mode 100644
index 0000000..da6647b
--- /dev/null
+++ b/layouts/partials/publish.html
@@ -0,0 +1,6 @@
+<p class="publish">
+ {{ i18n "publish" }}
+ <time class="post-date" datetime="{{ .PublishDate.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
+ {{ index $.Site.Data.months (.Site.Language.Lang) (printf "%d" .PublishDate.Month) }} {{ .PublishDate.Day }}, {{ .PublishDate.Year }}
+ </time>
+</p>