- New: Site methods,
tags_by_language
andcategories_by_language
. - New: Methods
posts_by_language
,articles_by_language
,linkposts_by_language
,categories_by_language
,tags_by_language
now accept a language and return an empty array or empty hash rather thannil
if no posts exist.
- Fix: Posts permalinks will only have language defined if the site has a default language.
- Fix: Pages with
:lang
in permalink structure are given proper URLs if language is not defined for them.
- Minor: Now site languages array always lists primary language first.
- New: Tags and Categories are now also filtered by language.
- Fix: Page permalinks were getting set to by language names.
- Fix: Ensure main language is in languages array.
- Added Octopress Ink integration (merges Ink payload on pages)
- Fixed an issue where page languages weren't being added to site languages
- New: Language dictionaries for simplifying site templates.
- Change:
translate
command renamed toid
to be clearer about what it actually does.
- Fixed an issue where permalinks would break if post/page language was not defined.
- No longer necessary to abort if site language is not defined.
- Added a
language_name
method for retrieving a match from the language_names hash.
- Link between posts or pages with a matching
translation_id
. - Add translation IDs to posts or pages with
octopress translate <path>
. - Check if a post or page has been translated with
[post or page].tranlsated
. - Access translated posts or pages with
[post or page].tranlsations
. - New tags
{% translations [post or page] %}
and{% translation_list [post or page] %}
for generating links to translated posts. - Convert language codes to language names with filter
{{ de | language_name }}
.
- Cross-post languages with
lang_crosspost: true
in a post's YAML front-matter.
- Fix: 'default' language maps to site.lang.
- Fix: Issue with access to site instance.
- Now pages can use the /:lang/ permalink placeholder.
- New site methods:
posts_by_language
,articles_by_language
,linkposts_by_language
,languages
.
- Fix: On pages,
lang: default
now defaults tosite.lang
.
- Change: No longer filters
site.posts
at all. - Change: Posts are automatically filtered based on
page.lang
. - Docs have been improved quite a bit.
- Fix: Language cross-posts are now properly sorted. Thanks @drallgood, via #6.
- Fix: on posts, page.next and page.previous follow post language
- Fix: If no posts had been defined with the main language, posts would disappear. Most embarrassing.
- Change: instead of
site.main_language
, now usingsite.lang
.
- Reversed post order (as it should be)
- Improved integration with Octopress docs
- Added support for scoping octopress-linkblog
articles
andlinkposts
loops.
- Renamed tag to
{% set_lang %}
.
- New:
{% post_lang %}
block tag.
- initial release