-
Notifications
You must be signed in to change notification settings - Fork 205
Plugin Completely Broken--site.baseurl_root and variables unusable #119
Comments
+1 I've noticed |
I've elected to simply use data files and font matter for multilingual functionality. It works and it's easier to template and maintain. https://github.com/88kbbq/jekyll-template |
I've managed to get things working well, it's just a shame Github Pages doesn't support this plugin. |
Hi @88kbbq 👋 Are you still experiencing this issue with v1.6.0? If so let me know and I'll look into it. |
@joshcummingsdesign I ended up just using data files and markdown to achieve multilingual functionality. I have three languages, check here. Pretty much got everything done, including multilingual sitemap, schema markup, and alternate URLs. Works well, but it's not a change-one-change-all solution. I still have to manually update navigation, but other than that it's good. I could fix that but the site is small, no need. I think it's pretty good, need the template, let me know. |
I've been experiencing this issue. More specifically, {{ post.url | prepend: site.baseurl }} I have to do an if/else like this one {% if site.lang == 'en' %}{{ post.url | relative_url }}{% else %}/{{site.lang}}{{ post.url | relative_url }}{% endif %}
since
|
I just found out that these variables happen to be empty if I set my <!-- Toogle language -->
<li class="nav-item active">
{% if site.lang == "en" %}
<a class="nav-link" href="{{site.baseurl_root}}/pt-br{{page.url}}"> PT-BR </a>
{% elsif site.lang == "pt-br" %}
<a class="nav-link" href="{{site.baseurl_root}}{{ page.url }}"> EN </a>
{% endif %}
</li> then, set my baseurl: /al-folio This seems to work, as the link that appears when I click on the PT-BR button is baseurl: / the link that appears on the toggle is just |
Is this project still maintained? Where can we get support?
{{ site.baseurl_root }}/{{ site.lang }}
sees blank spaces or underlines in rendered HTML.The text was updated successfully, but these errors were encountered: