Skip to content

Commit

Permalink
Merge pull request #17 from Derson5/gh-pages
Browse files Browse the repository at this point in the history
feat(language): add Polish language and remove extra space between tags
  • Loading branch information
yulijia committed Jun 7, 2016
2 parents 0c98f4e + 881af64 commit 7f97267
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
20 changes: 19 additions & 1 deletion _config.yml
Expand Up @@ -22,7 +22,7 @@ google_analytics_key: UA-57979084-1 # put YOUR key here to enable tracking! (bla
### Site setting:
ShowContactInfo: "True" # Personal Info (twitter,github,email) can be seen on aboutme-sidebar, those info only shown where ShowContactInfo == True
default_column: "two" # blog style: two columns, if default_column != "two", you will see a one column blog.
default_locale: "en" # blog sidebar language set, only include: English(en), Chinese (cn) and Japanese (jp)
default_locale: "en" # blog sidebar language set, only include: English (en), Chinese (cn), Japanese (jp) and Polish (pl)

locales:
en:
Expand Down Expand Up @@ -79,6 +79,24 @@ locales:
About: "このブログについて"
Guestbook: "メッセージ"
Subscribe: "購読"
pl:
Aboutme: "O mnie"
Archives: "Archiwum"
Blogroll: "Odnośniki"
Categories: "Kategorie"
Copyright_Notice: "Prawa autorskie"
Recent_Posts: "Najnowsze wpisy"
Tags: "Tagi"
Previous: "Starsze"
Next: "Nowsze"
PostedInCategories: "Kategoria"
Taggedwith: "tagi"
PostDate: "on "
Google_search: "Wyszukiwarka"
Home: "Strona główna"
About: "O mnie"
Guestbook: "Księga gości"
Subscribe: "Subskrypcja"

### your Blogroll info, only name can shown on the page.

Expand Down
2 changes: 1 addition & 1 deletion _layouts/post.html
Expand Up @@ -14,7 +14,7 @@ <h1 itemprop="name" class="post-title">{{ page.title }}</h1>
{% if page.tags != empty %}
{{ site.locales[site.default_locale].Taggedwith }}
{% for tag in page.tags %}
<a href="{{ site.baseurl }}/tags/#{{ tag }}" title="{{ tag }}">{{ tag }} </a>{% unless page.tags.last == tag %}, {% endunless %}
<a href="{{ site.baseurl }}/tags/#{{ tag }}" title="{{ tag }}">{{ tag }}</a>{% unless page.tags.last == tag %}, {% endunless %}
{% endfor %}
{% endif %}
<time itemprop="datePublished" datetime="{{ page.date | date: '%Y-%m-%d' }}">
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -20,7 +20,7 @@ <h1 itemprop="name" class="post-title">
{% if post.tags != empty %}
{{ site.locales[site.default_locale].Taggedwith }}
{% for tag in post.tags %}
<a href="{{ site.baseurl }}/tags/#{{ tag }}" title="{{ tag }}">{{ tag }} </a>{% unless post.tags.last == tag %}, {% endunless %}
<a href="{{ site.baseurl }}/tags/#{{ tag }}" title="{{ tag }}">{{ tag }}</a>{% unless post.tags.last == tag %}, {% endunless %}
{% endfor %}
{% endif %}
<time itemprop="datePublished" datetime="{{ post.date | date: '%Y-%m-%d' }}">
Expand Down

0 comments on commit 7f97267

Please sign in to comment.