Added support for Hugo 0.55
在 0.55 后版本的 Hugo 中 RSS 无法使用,并且在编译时会有如下警告
WARN 2019/06/06 18:06:29 Page's .RSSLink is deprecated and will be removed in a future release. Use the Output Format's link, e.g. something like:
{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}.
WARN 2019/06/06 18:06:29 Page's .URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url.'
按照他的提示修复了相关功能
你好,谢谢你的修复,但是我按你的提交修改后还是会出现.url的警告 Page's .URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url.
不知道是不是除了你提交的3个文件外还有其他地方需要修改?
你好,谢谢你的修复,但是我按你的提交修改后还是会出现.url的警告 Page's .URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url.
不知道是不是除了你提交的3个文件外还有其他地方需要修改?
你好,我在新的文件夹中 clone 了我提交 PR 的那个分支,然后运行 hugo,没有出现你说的情况

我的 Hugo 版本是 v0.55.6/extended
你好,谢谢你的修复,但是我按你的提交修改后还是会出现.url的警告 Page's .URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url. 不知道是不是除了你提交的3个文件外还有其他地方需要修改?
你好,我在新的文件夹中 clone 了我提交 PR 的那个分支,然后运行
hugo,没有出现你说的情况
我的 Hugo 版本是
v0.55.6/extended
谢谢答复,可能是我的文章front matter里面有用到自定义url的原因。我再试试看看,谢谢