<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Lastmod - 标签 -</title><link>https://oklife.me/tags/lastmod/</link><description>Lastmod - 标签 -</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>contact@oklife.me (梦行志)</managingEditor><webMaster>contact@oklife.me (梦行志)</webMaster><copyright>© 2026 梦行志 | 保留所有权利</copyright><lastBuildDate>Tue, 17 Mar 2026 20:32:00 +0800</lastBuildDate><atom:link href="https://oklife.me/tags/lastmod/" rel="self" type="application/rss+xml"/><item><title>Hugo + LoveIt 的 lastmod 为什么总显示成今天</title><link>https://oklife.me/posts/hugo/hugo-loveit-lastmod-fix/</link><pubDate>Tue, 17 Mar 2026 20:32:00 +0800</pubDate><author>contact@oklife.me (梦行志)</author><guid>https://oklife.me/posts/hugo/hugo-loveit-lastmod-fix/</guid><description>&lt;div class="featured-image">
                &lt;img src="/featured-image.webp" referrerpolicy="no-referrer">
            &lt;/div>写了 front matter 的 lastmod，却依然显示成当天更新。问题表面像是 LoveIt 主题开关，根因其实是 Hugo 在 enableGitInfo 开启时优先读取了 Git 提交时间。</description></item></channel></rss>