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

View File

@@ -25,8 +25,10 @@
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
{% if site.show_downloads %}
<a href="{{ site.github.app_url }}" class="btn">Download app (v1.3)</a>
<a href="{{ site.github.issue_url }}" target="_blank" class="btn">Having a problem?</a>
<a href="{{ site.github.app_url }}" class="btn">{{ site.t[page.lang].header.download }}</a>
<a href="{{ site.github.issue_url }}" target="_blank" class="btn">{{ site.t[page.lang].header.issue }}</a>
{{ site.t[page.lang].header.or }}
<a href="mailto:pupil.hentai@gmail.com" class="btn">{{ site.t[page.lang].header.email }}</a>
{% endif %}
</header>
@@ -41,4 +43,4 @@
</footer>
</main>
</body>
</html>
</html>