hugo-theme-stack/layouts
LSweetSour 2d6f7c84c6
fix: Correct Lastmod field access in OpenGraph meta tags
- Updated the OpenGraph meta tags to correctly access the Lastmod field.
- For pages, use .Lastmod instead of .Site.Lastmod.
- For non-pages, use .Site.LastChange instead of .Site.Lastmod.
- Ensured proper formatting for published and modified times in OpenGraph meta tags.

The original content caused issues on Cloudflare Pages due to incorrect access of the Lastmod field, leading to build failures.
2024-09-28 13:53:59 +08:00
..
_default fix: use Hugo's default RSS template value source for lastBuildDate (#1006) 2024-09-07 14:22:17 +02:00
page feat: use .RelPermalink for search JSON (#859) 2023-08-15 11:40:43 +02:00
partials fix: Correct Lastmod field access in OpenGraph meta tags 2024-09-28 13:53:59 +08:00
shortcodes feat(article): GitLab Snippets Shortcode (#627) 2022-06-11 11:04:20 +02:00
404.html refactor(i18n): translation key renaming (#68) 2020-12-19 01:41:26 +01:00
index.html Revert "Merge branch 'canary' into master" (#712) 2022-10-29 17:14:19 +02:00