From 0eb8f29d7f144826ac10324c418bd3cc7d0d4c80 Mon Sep 17 00:00:00 2001 From: nevfy Date: Wed, 19 Jun 2024 12:10:18 +0300 Subject: [PATCH] fix(docs): lastmod --- .../docsy/layouts/partials/page-meta-lastmod.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_vendor/github.com/google/docsy/layouts/partials/page-meta-lastmod.html b/_vendor/github.com/google/docsy/layouts/partials/page-meta-lastmod.html index c14ebfc..eba643d 100644 --- a/_vendor/github.com/google/docsy/layouts/partials/page-meta-lastmod.html +++ b/_vendor/github.com/google/docsy/layouts/partials/page-meta-lastmod.html @@ -1,10 +1,10 @@ {{ if and .GitInfo .Site.Params.github_repo -}}
- {{ T "post_last_mod" }} {{ .Lastmod.Format .Site.Params.time_format_default -}} - {{ with .GitInfo }}: {{/* Trim WS */ -}} + {{ T "post_last_mod" }}: + {{ with .GitInfo }} {{/* Trim WS */ -}} - {{- .Subject }} ({{ .AbbreviatedHash }}) {{- /* Trim WS */ -}} + {{- end }} + {{ .Lastmod | time.Format ":date_long" }} - {{- end }} -
+ {{ end -}}