Add jekyll-multiple-language-plugin and refactor strings into /_i18n

This commit is contained in:
John Hess 2022-03-30 16:40:50 -05:00
parent 8887613e81
commit a474bc61ed
10 changed files with 53 additions and 93 deletions

View file

@ -7,14 +7,14 @@ layout: basic
<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">{{ page_data.captive_data.welcome_message }}</h1>
<p class="content-text text-black ls-40 mb-2">{{ page_data.captive_data.welcome_details }}</p>
<img src="{{site.baseurl}}{{ page_data.page_logo }}" alt="{% t page_logo_alt %}" />
<h1 class="content-title mb-2">{% t captive.welcome_message %}</h1>
<p class="content-text text-black ls-40 mb-2">{% t captive.welcome_details %}</p>
<!-- Use NoDogSplash-provided variables to render a "continue" button -->
<form method="get" action="$authaction">
<input type="hidden" name="tok" value="$tok">
<input type="hidden" name="redir" value="$redir">
<input type="submit" value="{{ page_data.captive_data.continue_button }}">
<input type="submit" value="{% t captive.continue_button %}">
</form>
</div>
</div>