1
0
Fork 0
This commit is contained in:
Alex Kotov 2020-10-21 09:25:47 +05:00
parent 076cc98098
commit a78632be08
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
5 changed files with 5 additions and 1 deletions

View File

@ -1 +1,2 @@
fedihub = FediHub
federated-services-without-censorship = Federated services without censorship.

View File

@ -1 +1,2 @@
fedihub = FediHub
federated-services-without-censorship = Федеративные сервисы без цензуры.

View File

@ -16,6 +16,7 @@ pub fn index(
) -> Result<Template, CommonResponse> {
let page_context = views::home::Index {
i18n_fedihub: i18n.dummy_translate("en", "fedihub"),
i18n_federated_services_without_censorship: i18n.dummy_translate("en", "federated-services-without-censorship"),
};
let context = views::Site {

View File

@ -19,6 +19,7 @@ pub mod home {
#[derive(Serialize)]
pub struct Index {
pub i18n_fedihub: String,
pub i18n_federated_services_without_censorship: String,
}
}

View File

@ -1,6 +1,6 @@
<div class="jumbotron jumbotron-fluid text-center">
<div class="container">
<h1>{{ i18n_fedihub }}</h1>
<p class="lead">Federated services without censorship.</p>
<p class="lead">{{ i18n_federated_services_without_censorship }}</p>
</div>
</div>