From f8047590d8ef0d2676f7aebfb8aaf68e7bfcd434 Mon Sep 17 00:00:00 2001 From: somrat Date: Mon, 4 May 2020 11:19:08 +0600 Subject: [PATCH] modified copyright --- exampleSite/config.toml | 4 +++- exampleSite/i18n/en.yaml | 4 +--- exampleSite/i18n/fr.yaml | 4 +--- layouts/partials/footer.html | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7b5fd44d9c..c4cb5fea94 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -139,6 +139,7 @@ languageCode = "en-us" contentDir = "content/english" weight = 1 home = "Home" +copyright = "copyright © 2019 [gethugothemes](https://gethugothemes.com) all right reserved" ################################ France Language ######################## [Languages.fr] @@ -146,4 +147,5 @@ languageName = "Fr" languageCode = "fr-fr" contentDir = "content/french" weight = 2 -home = "Accueil" \ No newline at end of file +home = "Accueil" +copyright = "copyright et copie; 2019 [gethugothemes] (https://gethugothemes.com) tous droits réservés" \ No newline at end of file diff --git a/exampleSite/i18n/en.yaml b/exampleSite/i18n/en.yaml index 40ec21e985..0656e7cfae 100644 --- a/exampleSite/i18n/en.yaml +++ b/exampleSite/i18n/en.yaml @@ -13,6 +13,4 @@ - id: submit translation: Submit - id: all - translation: All -- id: copyright - translation: copyright © 2019 [gethugothemes](https://gethugothemes.com) all right reserved \ No newline at end of file + translation: All \ No newline at end of file diff --git a/exampleSite/i18n/fr.yaml b/exampleSite/i18n/fr.yaml index d50c46fd3e..b116c3051f 100644 --- a/exampleSite/i18n/fr.yaml +++ b/exampleSite/i18n/fr.yaml @@ -13,6 +13,4 @@ - id: submit translation: Soumettre - id: all - translation: All -- id: copyright - translation: copyright et copie; 2019 [gethugothemes] (https://gethugothemes.com) tous droits réservés \ No newline at end of file + translation: All \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index dc76fa46ef..bfafcee7ff 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -19,7 +19,7 @@ {{ .Site.Title }}
-

{{ i18n "copyright" | markdownify }}

+

{{ .Site.Params.copyright | markdownify }}