Add jekyll-multiple-language-plugin and refactor strings into /_i18n
This commit is contained in:
parent
8887613e81
commit
a474bc61ed
10 changed files with 53 additions and 93 deletions
17
index.html
17
index.html
|
|
@ -7,24 +7,23 @@ layout: default
|
|||
<section class="content-area">
|
||||
<div class="container">
|
||||
<div class="content-area-wrapper text-center">
|
||||
<img src="{{site.baseurl}}{{ page_data.page_logo[0] }}" alt="{{ page_data.page_logo[1] }}" />
|
||||
<h1 class="content-title mb-2 mt-2">{{ page_data.title }}</h1>
|
||||
<img src="{{site.baseurl}}{{ page_data.page_logo }}" alt="{% t page_logo_alt %}" />
|
||||
<h1 class="content-title mb-2 mt-2">{% t title %}</h1>
|
||||
<p class="content-text text-black ls-40 mb-2">
|
||||
{% if site.data.deployment.show_chat %}
|
||||
{{ page_data.text.show_chat }}
|
||||
{% t text.show_chat %}
|
||||
{% else %}
|
||||
{{ page_data.text.dont_show_chat }}
|
||||
{% t text.dont_show_chat %}
|
||||
{% endif %}
|
||||
</p>
|
||||
<div class="content-img">
|
||||
<img src="{{site.baseurl}}{{ page_data.image[0] }}" alt="{{ page_data.image[1] }}" />
|
||||
<p class="caption ls-40 mb-2">{{ page_data.fdroid_apps_caption }}</p>
|
||||
<img src="{{site.baseurl}}{{ page_data.app_tiles_image }}" alt="{% t app_tiles_image_alt %}" />
|
||||
<p class="caption ls-40 mb-2">{% t fdroid_apps_caption %}</p>
|
||||
</div>
|
||||
<a class="btn-main btn-modal" href="#" data-micromodal-trigger="product-modal">{{ page_data.fdroid_button_text | upcase }}</a>
|
||||
<a class="btn-main btn-modal" href="#" data-micromodal-trigger="product-modal">{% t fdroid_button_text %}</a>
|
||||
{% if site.data.deployment.show_chat %}
|
||||
<a class="btn-main btn-modal" href="/chat">{{ page_data.chat_button_text | upcase }}</a>
|
||||
<a class="btn-main btn-modal" href="/chat">{% t chat_button_text %}</a>
|
||||
{% endif %}
|
||||
<p class="content-text text-black ls-40 mb-2">{{ page_data.chat_text }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue