From 0eb8f29d7f144826ac10324c418bd3cc7d0d4c80 Mon Sep 17 00:00:00 2001 From: nevfy Date: Wed, 19 Jun 2024 12:10:18 +0300 Subject: [PATCH 1/2] 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 -}} From 90fd2e1481a9dd52b1e64984490648351d9c1d46 Mon Sep 17 00:00:00 2001 From: nevfy Date: Mon, 1 Jul 2024 03:51:54 +0300 Subject: [PATCH 2/2] fix: end scope --- .../google/docsy/layouts/partials/page-meta-lastmod.html | 6 +++--- 1 file changed, 3 insertions(+), 3 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 eba643d..e14a453 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 @@ -3,8 +3,8 @@ {{ T "post_last_mod" }}: {{ with .GitInfo }} {{/* Trim WS */ -}} - {{- end }} - {{ .Lastmod | time.Format ":date_long" }} + {{ $.Lastmod | time.Format ":date_long" }} + {{- end }} -{{ end -}} +{{ end -}} \ No newline at end of file