Skip to content

[18n_subsites] Let empty main_siteurl refer to /#1409

Draft
hamadmad wants to merge 1 commit into
getpelican:masterfrom
hamadmad:i18n_subsites_empty_siteurl_fix
Draft

[18n_subsites] Let empty main_siteurl refer to /#1409
hamadmad wants to merge 1 commit into
getpelican:masterfrom
hamadmad:i18n_subsites_empty_siteurl_fix

Conversation

@hamadmad

@hamadmad hamadmad commented Mar 6, 2025

Copy link
Copy Markdown

When the config variable "SITEURL" is set to "/" or to "", the generated links for the default language refer to "", which obviously doesn't work. Possibly, _MAIN_SITEURL should be changed as well, instead of just main_siteurl.

@hamadmad hamadmad changed the title Let empty main_siteurl refer to / i18n_subsites: Let empty main_siteurl refer to / Mar 6, 2025
@hamadmad hamadmad changed the title i18n_subsites: Let empty main_siteurl refer to / [18n_subsites] Let empty main_siteurl refer to / Mar 6, 2025
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