.URL deprecated,and .RSSLink deprecated on v 0.55#34
.URL deprecated,and .RSSLink deprecated on v 0.55#34nonumeros wants to merge 2 commits intokeichi:masterfrom
Conversation
|
@nonumeros Thanks! Is this backward compatible? |
|
Helloi @keichi let me check again for yours. How far back do you need it? |
|
Hey, it's fine if it only works with v0.55. I just want to clarify the minimum required version of hugo in README and theme.toml. |
|
The RSS link in the header seems to be broken. Can you take a look? |
I'll check it |
|
@keichi double check the RSS for me. Thanks. Can't believe I missed that one. |
|
the But see for example https://github.com/Lednerb/bilberry-hugo-theme/blob/master/exampleSite/config.toml in which he @Lednerb already specified the parameters on the config file from the exampleSite Anything else @keichi for his use case to have RSS on the site, such as |
There are quite a few changes coming up with hugo v 0.55
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.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 }}.this pull request fixes it for you. I just tested your theme and it's working.