multilanguage implemented

This commit is contained in:
tom5079
2019-05-15 19:32:38 +09:00
parent 4d67bbc76e
commit f9a2f9bd11
6 changed files with 95 additions and 12 deletions

26
ko/index.html Normal file
View File

@@ -0,0 +1,26 @@
---
layout: default
lang: ko
---
<div id="home">
<h1>글 목록</h1>
{% assign posts=site.posts | where:"lang", page.lang %}
<ul class="posts">
{% for post in posts %}
<li>
<span>
{{ post.date | date_to_string }}
</span>
&raquo;
<a href="{{ post.url }}">
{{ post.title }}
</a>
{{ post.excerpt }}
</li>
{% endfor %}
</ul>
</div>