You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The theme hasper was forked from defined a variable RSSLink in the .Site.Params section, however, Hugo has its own Site variable with the same name. This makes it confusing for theme consumers. Which variable is the correct one to set??
Simplify this configuration by using the canonical path: .Site.RSSLink and remove all references to .Site.Params.RSSLink.
Here are references within Hasper:
./layouts/partials/head/links.html:{{if .Site.Params.RSSLink}}
./layouts/partials/head/links.html:<link href="{{.Site.Params.RSSLink}}" rel="alternate"
./layouts/partials/head/links.html:<link href="{{.RSSLink}}" rel="alternate" type="application/rss+xml"
./layouts/partials/nav.html:{{$rss_link := or .Site.Params.RSSLink .RSSLink}}
./layouts/partials/navigation.html:{{$rss_link := or .Site.Params.RSSLink .RSSLink}}
The text was updated successfully, but these errors were encountered:
The theme hasper was forked from defined a variable
RSSLink
in the.Site.Params
section, however, Hugo has its own Site variable with the same name. This makes it confusing for theme consumers. Which variable is the correct one to set??Simplify this configuration by using the canonical path:
.Site.RSSLink
and remove all references to.Site.Params.RSSLink
.Here are references within Hasper:
The text was updated successfully, but these errors were encountered: