sqlitebrowser / website

The sqlitebrowser.org website. Created using Hugo & blogdown.
1 stars 7 forks source link

Invalid links in our blog RSS feed #9

Open justinclift opened 4 years ago

justinclift commented 4 years ago

We've received a report through Twitter that our blog's RSS feed has incorrect links in it:

https://twitter.com/goozak/status/1197540838487801858

The links are relative URL's (eg /foo/bar.html), instead of full URLs (eg https://ourserver/foo/bar.html).

It's probably just something in our Hugo theme that will need adjusting, so the https and server name are included.

FriedrichFroebel commented 4 years ago

Maybe specifying the complete baseurl here fixes it: https://github.com/sqlitebrowser/website/blob/master/config.toml#L1 (In the docs it is called baseURL - I do not know whether the keys might be case-sensitive as well.)

interrobot commented 6 months ago

Per the above pull request... I didn't push anything outside the code-scope, the hugo export had updates to ./docs that were unrelated to my changes, so it didn't seem like a good idea. This removes the deprecation notice from footer.html, .Site.RSSLink use, WARN deprecated: Site.RSSLink was deprecated in Hugo v0.114.0 and will be removed in a future release. Use the Output Format's Permalink method instead, e.g. .OutputFormats.Get "RSS".Permalink.