├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── language_key.yml ├── lib ├── octopress-multilingual.rb └── octopress-multilingual │ ├── command.rb │ ├── filters.rb │ ├── hooks.rb │ ├── jekyll.rb │ ├── set_lang_tag.rb │ ├── translation_tag.rb │ └── version.rb ├── octopress-multilingual.gemspec └── test ├── _clash.yml ├── _config.yml ├── _data ├── lang_de.yml └── lang_en.yml ├── _expected ├── articles.html ├── awesome │ └── 2015 │ │ └── 01 │ │ └── 18 │ │ └── a-post-without-language.html ├── category-index.html ├── de │ ├── articles.html │ ├── category-index.html │ ├── eine-mehrsprachige-test │ │ └── index.html │ ├── index.html │ ├── links.html │ └── some-page.html ├── default_lang.html ├── en │ ├── 2015 │ │ └── 01 │ │ │ └── 17 │ │ │ └── test.html │ └── awesome │ │ └── 2015 │ │ └── 01 │ │ └── 19 │ │ └── an-english-language-crosspost.html ├── index.html ├── index_en.html ├── lang-dict-default.html ├── lang-dict.html ├── links.html ├── set-lang.html └── some-page.html ├── _includes ├── article-loop.html ├── category-loop.html ├── linkpost-loop.html ├── post-info.html ├── post-loop.html └── tag-loop.html ├── _layouts └── translations.html ├── _posts ├── 2015-01-18-a-post-without-language.markdown ├── de │ └── 2015-01-17-eine-mehrsprachige-test.markdown └── en │ ├── 2015-01-17-test.markdown │ └── 2015-01-19-an-english-language-crosspost.markdown ├── articles.html ├── category-index.html ├── de ├── articles.html ├── category-index.html ├── index.html ├── links.html └── some-page.html ├── default_lang.html ├── index.html ├── index_en.html ├── lang-dict-default.html ├── lang-dict.html ├── links.html ├── set-lang.html └── some-page.html /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | 3 | -------------------------------------------------------------------------------- /language_key.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/language_key.yml -------------------------------------------------------------------------------- /lib/octopress-multilingual.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/lib/octopress-multilingual.rb -------------------------------------------------------------------------------- /lib/octopress-multilingual/command.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/lib/octopress-multilingual/command.rb -------------------------------------------------------------------------------- /lib/octopress-multilingual/filters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/lib/octopress-multilingual/filters.rb -------------------------------------------------------------------------------- /lib/octopress-multilingual/hooks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/lib/octopress-multilingual/hooks.rb -------------------------------------------------------------------------------- /lib/octopress-multilingual/jekyll.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/lib/octopress-multilingual/jekyll.rb -------------------------------------------------------------------------------- /lib/octopress-multilingual/set_lang_tag.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/lib/octopress-multilingual/set_lang_tag.rb -------------------------------------------------------------------------------- /lib/octopress-multilingual/translation_tag.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/lib/octopress-multilingual/translation_tag.rb -------------------------------------------------------------------------------- /lib/octopress-multilingual/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/lib/octopress-multilingual/version.rb -------------------------------------------------------------------------------- /octopress-multilingual.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/octopress-multilingual.gemspec -------------------------------------------------------------------------------- /test/_clash.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_clash.yml -------------------------------------------------------------------------------- /test/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_config.yml -------------------------------------------------------------------------------- /test/_data/lang_de.yml: -------------------------------------------------------------------------------- 1 | title: Deutsch Regeln 2 | -------------------------------------------------------------------------------- /test/_data/lang_en.yml: -------------------------------------------------------------------------------- 1 | title: English Rules 2 | -------------------------------------------------------------------------------- /test/_expected/articles.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/articles.html -------------------------------------------------------------------------------- /test/_expected/awesome/2015/01/18/a-post-without-language.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/awesome/2015/01/18/a-post-without-language.html -------------------------------------------------------------------------------- /test/_expected/category-index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/category-index.html -------------------------------------------------------------------------------- /test/_expected/de/articles.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/de/articles.html -------------------------------------------------------------------------------- /test/_expected/de/category-index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/de/category-index.html -------------------------------------------------------------------------------- /test/_expected/de/eine-mehrsprachige-test/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/de/eine-mehrsprachige-test/index.html -------------------------------------------------------------------------------- /test/_expected/de/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/de/index.html -------------------------------------------------------------------------------- /test/_expected/de/links.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/de/links.html -------------------------------------------------------------------------------- /test/_expected/de/some-page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/de/some-page.html -------------------------------------------------------------------------------- /test/_expected/default_lang.html: -------------------------------------------------------------------------------- 1 | en 2 | -------------------------------------------------------------------------------- /test/_expected/en/2015/01/17/test.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/en/2015/01/17/test.html -------------------------------------------------------------------------------- /test/_expected/en/awesome/2015/01/19/an-english-language-crosspost.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/en/awesome/2015/01/19/an-english-language-crosspost.html -------------------------------------------------------------------------------- /test/_expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/index.html -------------------------------------------------------------------------------- /test/_expected/index_en.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/index_en.html -------------------------------------------------------------------------------- /test/_expected/lang-dict-default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/lang-dict-default.html -------------------------------------------------------------------------------- /test/_expected/lang-dict.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/lang-dict.html -------------------------------------------------------------------------------- /test/_expected/links.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/links.html -------------------------------------------------------------------------------- /test/_expected/set-lang.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/set-lang.html -------------------------------------------------------------------------------- /test/_expected/some-page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_expected/some-page.html -------------------------------------------------------------------------------- /test/_includes/article-loop.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_includes/article-loop.html -------------------------------------------------------------------------------- /test/_includes/category-loop.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_includes/category-loop.html -------------------------------------------------------------------------------- /test/_includes/linkpost-loop.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_includes/linkpost-loop.html -------------------------------------------------------------------------------- /test/_includes/post-info.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_includes/post-info.html -------------------------------------------------------------------------------- /test/_includes/post-loop.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_includes/post-loop.html -------------------------------------------------------------------------------- /test/_includes/tag-loop.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_includes/tag-loop.html -------------------------------------------------------------------------------- /test/_layouts/translations.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_layouts/translations.html -------------------------------------------------------------------------------- /test/_posts/2015-01-18-a-post-without-language.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_posts/2015-01-18-a-post-without-language.markdown -------------------------------------------------------------------------------- /test/_posts/de/2015-01-17-eine-mehrsprachige-test.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_posts/de/2015-01-17-eine-mehrsprachige-test.markdown -------------------------------------------------------------------------------- /test/_posts/en/2015-01-17-test.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_posts/en/2015-01-17-test.markdown -------------------------------------------------------------------------------- /test/_posts/en/2015-01-19-an-english-language-crosspost.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/_posts/en/2015-01-19-an-english-language-crosspost.markdown -------------------------------------------------------------------------------- /test/articles.html: -------------------------------------------------------------------------------- 1 | --- 2 | lang: en 3 | --- 4 | {% include article-loop.html %} 5 | -------------------------------------------------------------------------------- /test/category-index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/category-index.html -------------------------------------------------------------------------------- /test/de/articles.html: -------------------------------------------------------------------------------- 1 | --- 2 | lang: de 3 | --- 4 | {% include article-loop.html %} 5 | 6 | -------------------------------------------------------------------------------- /test/de/category-index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/de/category-index.html -------------------------------------------------------------------------------- /test/de/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | lang: de 3 | --- 4 | {% include post-loop.html %} 5 | -------------------------------------------------------------------------------- /test/de/links.html: -------------------------------------------------------------------------------- 1 | --- 2 | lang: de 3 | --- 4 | {% include linkpost-loop.html %} 5 | -------------------------------------------------------------------------------- /test/de/some-page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/de/some-page.html -------------------------------------------------------------------------------- /test/default_lang.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/default_lang.html -------------------------------------------------------------------------------- /test/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | {% include post-loop.html %} 4 | -------------------------------------------------------------------------------- /test/index_en.html: -------------------------------------------------------------------------------- 1 | --- 2 | lang: en 3 | --- 4 | {% include post-loop.html %} 5 | -------------------------------------------------------------------------------- /test/lang-dict-default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/lang-dict-default.html -------------------------------------------------------------------------------- /test/lang-dict.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/lang-dict.html -------------------------------------------------------------------------------- /test/links.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/links.html -------------------------------------------------------------------------------- /test/set-lang.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/set-lang.html -------------------------------------------------------------------------------- /test/some-page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/multilingual/HEAD/test/some-page.html --------------------------------------------------------------------------------