diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-28 15:15:11 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-28 15:15:11 +0200 |
| commit | 6b2b8e81e631a1fec44bdb94d5177cf5c56287c9 (patch) | |
| tree | 994d425dd7ea4e4d57986e64fefd712de8011c03 /layouts/partials/post-toc-summary.html | |
| parent | 512e94b28b243105e053c1090f56ac31846bc7cf (diff) | |
| download | gohugo-theme-ed-6b2b8e81e631a1fec44bdb94d5177cf5c56287c9.tar.gz | |
Added multilanguage support
Diffstat (limited to 'layouts/partials/post-toc-summary.html')
| -rw-r--r-- | layouts/partials/post-toc-summary.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post-toc-summary.html b/layouts/partials/post-toc-summary.html index d9a70c7..371a6f1 100644 --- a/layouts/partials/post-toc-summary.html +++ b/layouts/partials/post-toc-summary.html @@ -1,6 +1,6 @@ <span class="post-meta"> <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}"> - {{- .Date.Format (site.Params.dateFormatToc | default "2006.01.02") }} + {{- .Date | time.Format (site.Params.dateFormatToc | default "2006.01.02") }} </time> </span> |
