You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: My
email: my@example.com
description: >- # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
# Build settings
plugins:
- jekyll-feed
- jekyll-polyglot
languages: ["en", "bg"]
default_lang: "en"
exclude_from_localization: ["assets"]
parallel_localization: true
From what I can tell, there is something in jekyll build/ployglot that sees href= and prepends the language directory to {{page.url}} no matter what. Remove the href= and it gives the correct path (which obviously breaks the HTML).
This is the language switcher
This is the config
Running jekyll serve produces _site/bg/index.html
Running jekyll build produces _site/bg/index.html
Is this the expected behaviour or am I missing something? You see how the href in the first case is / and in the second it is bg
The text was updated successfully, but these errors were encountered: