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

Fix series URL #192

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix series URL #192

wants to merge 2 commits into from

Conversation

ctmbl
Copy link
Contributor

@ctmbl ctmbl commented Aug 9, 2024

A fix for the issue I mentioned in #173

But in the case of series the baseURL is simply prefixed to the relative path, which isn't robust, for example if baseURL doesn't finish with a / (it is my case and it breaks, try clicking on the series at https://iscsc.fr/posts/introducing-poison/): if baseURL=http://example.com it will built the URL http://example.comseries/my-series which of course will fail.

Note: .LinkTitle redirect to Title if the parameter is not used

And a minor fix for a syntax highlight issue caused by conflicting quotes:
before the fix:
syntax highlight before
after the fix:
syntax highlight after

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant