Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relative urls in rss #741

Closed
3 tasks done
Natenom opened this issue Sep 25, 2022 · 3 comments
Closed
3 tasks done

relative urls in rss #741

Natenom opened this issue Sep 25, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@Natenom
Copy link
Contributor

Natenom commented Sep 25, 2022

Prerequisites

Describe the issue

There are relative urls in the rss feed, but should be absolut?

https://blog.natenom.com/index.xml

<item>
<title>Falsch gedrehte Bilder in Hugo durch Verwendung von Funktionen zur Bildbearbeitung</title>
<link>/2022/09/falsch-gedrehte-bilder-in-hugo-durch-verwendung-von-funktionen-zur-bildbearbeitung/</link>
<pubDate>Sun, 11 Sep 2022 20:11:13 +0200</pubDate>
<guid>/2022/09/falsch-gedrehte-bilder-in-hugo-durch-verwendung-von-funktionen-zur-bildbearbeitung/</guid>

My website builds on the server with the same hugo extended version as on my local pc.

There the link field looks like this:

<link>//localhost:1313/2022/09/falsch-gedrehte-bilder-in-hugo-durch-verwendung-von-funktionen-zur-bildbearbeitung/</link>

Steps to reproduce

Build.

Expected behavior

Absolute urls.

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Chrome, Firefox

What version of theme are you using?

afc9eb4 (HEAD -> master, origin/master, origin/HEAD) chore: print the fuse.js options to console

What version of Hugo are you using?

hugo v0.103.0+extended linux/amd64 BuildDate=2022-09-16T20:37:28Z VendorInfo=debian:0.103.0-1

What version of Node.js are you using?

v18.7.0

What version of Git are you using?

git version 2.35.1

Additional context

No response

@Natenom Natenom added the bug Something isn't working label Sep 25, 2022
@razonyang
Copy link
Owner

I guess you haven't specified the baseURL on production.

@Natenom
Copy link
Contributor Author

Natenom commented Sep 25, 2022

It was specified, the first line in my config and I didn't change .... oh, I did change it by accident somehow, it was

GbaseURL = "https://blog.natenom.com/"

Thank you :)

I checked that today but missed the G.

@razonyang
Copy link
Owner

Np.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants