EmielH / tale-hugo

A port of the Tale theme for Hugo. Tale is a minimal theme curated for storytellers.
https://themes.gohugo.io/tale-hugo/
MIT License
249 stars 123 forks source link

v0.55 .URL deprecated,and .RSSlink deprecated #15

Closed nonumeros closed 5 years ago

nonumeros commented 5 years ago

starting with hugo v.055

WARN 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.

WARN 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 }}.

EmielH commented 5 years ago

Thanks for fixing this! I have made some comments in the code. Furthermore, the .URL field for the paginator is not deprecated, so these should not change to .RelPermalink.

nonumeros commented 5 years ago

okay, closing.