summaryrefslogtreecommitdiffstats
path: root/layouts/partials/post-toc-summary.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-28 11:12:09 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-28 11:12:09 +0200
commitb17ccbd2fa987395d42313a81b2227f5ec8d88ac (patch)
treef37523bae5f862f849b88e5c9d52e6eca0106e5d /layouts/partials/post-toc-summary.html
parent7bc1c366a3c812a6e6e93d570896de29480e6015 (diff)
downloadgohugo-theme-ed-b17ccbd2fa987395d42313a81b2227f5ec8d88ac.tar.gz
Rework the "Latest Publications" section
Diffstat (limited to 'layouts/partials/post-toc-summary.html')
-rw-r--r--layouts/partials/post-toc-summary.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/post-toc-summary.html b/layouts/partials/post-toc-summary.html
new file mode 100644
index 0000000..d9a70c7
--- /dev/null
+++ b/layouts/partials/post-toc-summary.html
@@ -0,0 +1,7 @@
+<span class="post-meta">
+ <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
+ {{- .Date.Format (site.Params.dateFormatToc | default "2006.01.02") }}
+ </time>
+</span>
+
+<a href="{{ .Permalink }}">{{ .Title }} </a>