File: 2017-7-23-Polyglot-1.3.0.md

package info (click to toggle)
ruby-jekyll-polyglot 1.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,196 kB
  • sloc: xml: 1,500; ruby: 947; sh: 10; makefile: 4
file content (27 lines) | stat: -rw-r--r-- 1,430 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
layout: post
title: Polyglot 1.3.0
lang: en
---

A new version of Polyglot has been released! Give it a try!

{% highlight yaml %}
gem install jekyll-polyglot
{% endhighlight %}

This release was made possible with the support of the following github users:
* [vlsi](https://github.com/vlsi)
* [pserwylo](https://github.com/pserwylo)

### Recursively merge language specific `site.data`
Language specific content defined in your `site.data` directory will now be recursively merged together, so that `active_lang` content gets precedence over `default_lang` content, gets precedence over language non-specific content. ([#59](https://github.com/untra/polyglot/pull/59))

### Still build unassigned files to the `default_lang` site root
If the `default_lang` is not defined in the `languages`, this ensures that language unassigned files (such as those excluded from localization) are still written out to the site root. ([#65](https://github.com/untra/polyglot/pull/65))

### Performance improvements and fixes for `i18n_headers` tag
Document processing is now faster, and fixes were made to the i18n_headers for when the site.url is defined. ([#67](https://github.com/untra/polyglot/pull/67))

### Custom keys for `active_lang` site payload
This allows custom keys to be defined with the `active_lang`, giving interoperability between polyglot and other plugins and themes. ([#68](https://github.com/untra/polyglot/pull/68))