diff --git a/_config.yml b/_config.yml index 54d0af28..927097f9 100644 --- a/_config.yml +++ b/_config.yml @@ -5,8 +5,23 @@ description: Hitomi.la viewer for Android baseurl: "/Pupil" show_downloads: true -google_analytics: UA-119938781-2 github: app_url: https://github.com/tom5079/Pupil-issue/releases/download/1.3/Pupil-v1.3.apk - issue_url: https://github.com/tom5079/Pupil-issue/issues/new/choose \ No newline at end of file + issue_url: https://github.com/tom5079/Pupil-issue/issues/new/choose + +t: + en: + header: + description: Hitomi.la viewer for Android + download: "Download app" + issue: "Having a problem?" + or: "or…" + email: "Send an E-mail" + ko: + header: + description: 안드로이드 Hitomi.la 뷰어 + download: "앱 다운로드" + issue: "문제가 있으세요?" + or: "또는…" + email: "이메일 보내기" diff --git a/_layouts/default.html b/_layouts/default.html index 91c07722..fb0d59e5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -25,8 +25,10 @@

{{ page.title | default: site.title | default: site.github.repository_name }}

{{ page.description | default: site.description | default: site.github.project_tagline }}

{% if site.show_downloads %} - Download app (v1.3) - Having a problem? + {{ site.t[page.lang].header.download }} + {{ site.t[page.lang].header.issue }} + {{ site.t[page.lang].header.or }} + {{ site.t[page.lang].header.email }} {% endif %} @@ -41,4 +43,4 @@ - \ No newline at end of file + diff --git a/_posts/2019-05-15-test.md b/_posts/2019-05-15-test.md new file mode 100644 index 00000000..d0990489 --- /dev/null +++ b/_posts/2019-05-15-test.md @@ -0,0 +1,9 @@ +--- +layout: default +lang: ko +title: "테스트" +date: 2019-05-15 18:51:00 +0900 +--- + +# 테스트입니당 +이게 보인다구요? 야호~~~~~ diff --git a/en/index.html b/en/index.html new file mode 100644 index 00000000..799ca64f --- /dev/null +++ b/en/index.html @@ -0,0 +1,26 @@ +--- +layout: default +lang: en +--- + +
+

Blog posts

+ {% assign posts=site.posts | where:"lang", page.lang %} + +
diff --git a/index.html b/index.html index 342dcf60..caf9f125 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,12 @@ ---- -layout: default ---- - -
-

Blog Posts

-
\ No newline at end of file + diff --git a/ko/index.html b/ko/index.html new file mode 100644 index 00000000..d71b6546 --- /dev/null +++ b/ko/index.html @@ -0,0 +1,26 @@ +--- +layout: default +lang: ko +--- + +
+

글 목록

+ {% assign posts=site.posts | where:"lang", page.lang %} + +