From 7afdccc62e4236f16e7bd38f33ceb5aed2b49df0 Mon Sep 17 00:00:00 2001 From: southerntofu Date: Sun, 29 Mar 2020 21:15:57 +0200 Subject: [PATCH] Styling corrections, translations everywhere! --- config.toml | 8 ++++++++ sass/style.scss | 8 +++++++- templates/index.html | 6 ++++-- templates/section.html | 1 + 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/config.toml b/config.toml index 48ef901..647adf9 100644 --- a/config.toml +++ b/config.toml @@ -22,3 +22,11 @@ title = "dnsmanager - liberate your zones" browse = "https://tildegit.org/southerntofu/dnsmanager-website/src/branch/master/" home = "https://tildegit.org/" name = "tildegit" + +[translations] +[translations.fr] +source = "Source de cette page" +readmore = "Lire la suite" +[translations.en] +source = "Source for this page" +readmore = "Read more" diff --git a/sass/style.scss b/sass/style.scss index 787d98b..8933d23 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -19,8 +19,14 @@ article > div:first-child { text-align: center; } +.read-more { + text-align: center; + display: block; + font-weight: bold; +} + main { - margin-top: 1rem; + margin: 1rem 0; } .source { diff --git a/templates/index.html b/templates/index.html index e4fce38..5caede0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -28,10 +28,12 @@