Closed shervinsahba closed 9 months ago
I made this hacky fix to the problematic line in layout.html. I don't know what the underlying issue was, but this is working for now, I think.
Changed
<a href="{{ .Permalink }}">
to
<a href="{{ .Permalink | replaceRE "\"" ""}}">
Can you provide your BaseURL
setting? I think this is caused by a inappropriate "
suffix in your BaseURL setting.
Closed due to inactivity.
Hi kaiiiz. First of all, thank you for the lovely theme!
On my live build, the postcard links are broken. It appears that the call to {{ .Permalink }} here causes a quotation character to be inserted in the URL for some reason.
Here is an example from my site. Clicking the postcard fails on Firefox and breaks on Chrome. I printed the output of![image](https://user-images.githubusercontent.com/25020522/226751123-644359c0-99a2-4ad8-affd-bc1dc1a16480.png)
{{ .Permalink }}
and saw thisThe actual page does exist if you retype the URL without the quotation mark. The quote seems to only appear for postcards from what I've seen so far.
Did I mess something up, or is this a bug?