<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>hugo on Kotet's Personal Blog</title><link>https://blog.kotet.jp/en/tags/hugo/</link><description>Recent content in hugo on Kotet's Personal Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 15 Oct 2023 00:00:00 +0900</lastBuildDate><atom:link href="https://blog.kotet.jp/en/tags/hugo/index.xml" rel="self" type="application/rss+xml"/><item><title>Using Hugo's GitInfo Feature with GitHub Actions</title><link>https://blog.kotet.jp/en/2023/10/gohugo-gitinfo/</link><pubDate>Sun, 15 Oct 2023 00:00:00 +0900</pubDate><guid>https://blog.kotet.jp/en/2023/10/gohugo-gitinfo/</guid><description>Next to each article&amp;rsquo;s creation date field on this blog, you&amp;rsquo;ll notice a &amp;ldquo;Last Modified&amp;rdquo; timestamp.
I&amp;rsquo;ve been wanting to display the last modified date for a long time, but kept failing and giving up repeatedly. Only recently did I finally figure out the root cause, so I&amp;rsquo;m documenting it here.
Hugo&amp;rsquo;s GitInfo Feature First, for displaying the last modified date, we&amp;rsquo;ll use Hugo&amp;rsquo;s GitInfo feature. This feature allows Hugo templates to access Git history information.</description></item></channel></rss>