之前在 http://heyeshuang.tk 这个域名下的时候,wordpress 提供的 RSS feed 地址格式类似 http://heyeshuang.tk/feed/ ,但是 hugo 提供的 RSS 地址是 index.xml 样子的,而且我翻遍了 manual 也没看到给 RSS 加 alias 的方法。所以只能改模版了,思路是把/feed 目录的列表页渲染成 RSS 的样子,我是直接在主题里面改的:\themes\\layouts\feed\list.html: {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else ……