Skip to content
This repository was archived by the owner on Mar 16, 2022. It is now read-only.

JPN translation of latest post, most structural pages#54

Open
ghost wants to merge 9 commits intomasterfrom
unknown repository
Open

JPN translation of latest post, most structural pages#54
ghost wants to merge 9 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Sep 25, 2014

  • Uses /jpn as root of JPN translated pages, and jpn as language category.
  • Translated includes and layouts have 'jpn' appended to their base filename, as do posts.

@ghost
Copy link
Copy Markdown
Author

ghost commented Sep 25, 2014

@jsakuda pagination by category will be supported just as soon as the maintainers pull jekyll/jekyll-paginate#11

@ghost
Copy link
Copy Markdown
Author

ghost commented Sep 28, 2014

Strange paginator behavior: this doesn't work when placed in /ja/index.html but will work when placed in /index.html.

 {% for post in paginator.posts %}
      {% if post.lang contains "ja" %}
      {% include post.html %}
      {% endif %}
  {% endfor %}

@ghost
Copy link
Copy Markdown
Author

ghost commented Jun 22, 2015

@jsakuda jekyll/jekyll-paginate#11 means that categories can be used for pagination now. What do you think?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants