Add Indonesian support
Thanks to Samsul Ma’arif, Freshmen21 theme support Indonesian now!
Add Turkish (tr) language support
Thanks to Muhammet Kara, Freshmen21 theme support Turkish now!
Korean and Russian language support
Thanks to ulgoon and alexeyev.
Now, we have a Korean language support and Russian language support for this theme!
Korean
Russian
add Polish language
Thanks to Derson5, now we have a Polish language support for this theme!
auto generate navigation caption
Thanks all the users of this theme. You support is the driving force for my coding.
Today I fix a bug about navigation caption.
In the old theme version, I didn’t know how to change the navigation captions automatically when setting different language.
I using the code below to change the page title and navigation caption with site local language.
After using those code, if you add a new page to the blog, please make sure add a locale caption tag in _config.yml
file.
If you want to using variables inside YAML front matter block, you can check this aritcle posted by pnhung177.
It is a great plugin to do the same thing as my code when you need to adjust navigation caption.
# file: _plugins/expand_nested_variable_filter.rb
module Jekyll
module ExpandNestedVariableFilter
def flatify(input)
Liquid::Template.parse(input).render(@context)
end
end
end
Liquid::Template.register_filter(Jekyll::ExpandNestedVariableFilter)
In the YAML front matter, you can insert variable.
Now we can using set en
, cn
or jp
to switch blog language in the _config.yml
file. And all the navigation caption is automatically changed.