diff options
author | somrat <monnaf37@gmail.com> | 2019-11-24 13:48:18 +0300 |
---|---|---|
committer | somrat <monnaf37@gmail.com> | 2019-11-24 13:48:18 +0300 |
commit | 1a031acf628f5e629faa53e6656088f6ce4fde34 (patch) | |
tree | 9a5827da16999cbb54898db4dfa067282c474aba | |
parent | e3f83438dfd7c4a081bdafa245f6837bc718c0dc (diff) |
added meta data
22 files changed, 26 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 36a7497..bf92bee 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -26,6 +26,10 @@ DefaultContentLanguage = "en" code = "fr" [[Params.listeLangues]] code = "en" + + # meta data + author = "Themefisher" + description = "This is meta description" # Gestion des langues : FR / EN / NL / DE [Languages] diff --git a/exampleSite/content/about/_index.en.md b/exampleSite/content/about/_index.en.md index dbc5f8b..0029797 100644 --- a/exampleSite/content/about/_index.en.md +++ b/exampleSite/content/about/_index.en.md @@ -2,4 +2,5 @@ title : "About Us ..." date : 2018-07-07T12:37:52+06:00 draft : false +description: "This is meta description" --- diff --git a/exampleSite/content/about/_index.fr.md b/exampleSite/content/about/_index.fr.md index 2bc174d..55e3d67 100644 --- a/exampleSite/content/about/_index.fr.md +++ b/exampleSite/content/about/_index.fr.md @@ -2,4 +2,5 @@ title : "A propos de nous ..." date : 2018-07-07T12:37:52+06:00 draft : false +description: "This is meta description" --- diff --git a/exampleSite/content/blog/_index.en.md b/exampleSite/content/blog/_index.en.md index f073ccf..208330d 100644 --- a/exampleSite/content/blog/_index.en.md +++ b/exampleSite/content/blog/_index.en.md @@ -1,4 +1,5 @@ --- title: "ENGLISH Blog" date: 2018-07-07T18:23:33+06:00 +description: "This is meta description" --- diff --git a/exampleSite/content/blog/_index.fr.md b/exampleSite/content/blog/_index.fr.md index c80f68a..73741ef 100644 --- a/exampleSite/content/blog/_index.fr.md +++ b/exampleSite/content/blog/_index.fr.md @@ -1,4 +1,5 @@ --- title: "FRANCAIS Blog" date: 2018-07-07T18:23:33+06:00 +description: "This is meta description" --- diff --git a/exampleSite/content/blog/are-you-doing-the-right-way.en.md b/exampleSite/content/blog/are-you-doing-the-right-way.en.md index 35b2956..483b3bb 100644 --- a/exampleSite/content/blog/are-you-doing-the-right-way.en.md +++ b/exampleSite/content/blog/are-you-doing-the-right-way.en.md @@ -3,6 +3,7 @@ title: Are You Doing the Right Way date: 2018-07-07T17:04:41+06:00 image: images/blog/post-3.jpg author: Admin +description: "This is meta description" --- ### Introduction diff --git a/exampleSite/content/blog/are-you-doing-the-right-way.fr.md b/exampleSite/content/blog/are-you-doing-the-right-way.fr.md index 1fcab46..2a612c4 100644 --- a/exampleSite/content/blog/are-you-doing-the-right-way.fr.md +++ b/exampleSite/content/blog/are-you-doing-the-right-way.fr.md @@ -3,6 +3,7 @@ title: FRANCAIS Are You Doing the Right Way date: 2018-07-07T17:04:41+06:00 image: images/blog/post-3.jpg author: Admin +description: "This is meta description" --- ### Introduction diff --git a/exampleSite/content/blog/blog-photos-on-phone.en.md b/exampleSite/content/blog/blog-photos-on-phone.en.md index ed9166c..b908066 100644 --- a/exampleSite/content/blog/blog-photos-on-phone.en.md +++ b/exampleSite/content/blog/blog-photos-on-phone.en.md @@ -3,6 +3,7 @@ title: "Blog Photos on Phone" date: 2018-07-08T12:22:40+06:00 image: images/blog/post-2.jpg author: Cersei Lannister +description: "This is meta description" --- ### Viral dreamcatcher keytar typewriter, aesthetic offal umami. diff --git a/exampleSite/content/blog/blog-photos-on-phone.md b/exampleSite/content/blog/blog-photos-on-phone.md index 20a98e9..20e586d 100644 --- a/exampleSite/content/blog/blog-photos-on-phone.md +++ b/exampleSite/content/blog/blog-photos-on-phone.md @@ -3,6 +3,7 @@ title: "Blog Photos on Phone" date: 2018-07-08T12:22:40+06:00 image: images/blog/post-2.jpg author: Cersei Lannister +description: "This is meta description" --- ### Viral dreamcatcher keytar typewriter, aesthetic offal umami. diff --git a/exampleSite/content/blog/installation.md b/exampleSite/content/blog/installation.md index bbfbed4..18d270b 100644 --- a/exampleSite/content/blog/installation.md +++ b/exampleSite/content/blog/installation.md @@ -3,6 +3,7 @@ title: "How To Setup Navigator Hugo" date: 2018-07-08T12:22:40+06:00 image: images/blog/post-2.jpg author: Cersei Lannister +description: "This is meta description" --- ## Install this template by following those simple steps: diff --git a/exampleSite/content/blog/something-i-need-to-tell-you.md b/exampleSite/content/blog/something-i-need-to-tell-you.md index d520b15..489feb4 100644 --- a/exampleSite/content/blog/something-i-need-to-tell-you.md +++ b/exampleSite/content/blog/something-i-need-to-tell-you.md @@ -3,6 +3,7 @@ title: Something I Need to Tell You date: 2018-07-07T17:04:02+06:00 image: images/blog/post-2.jpg author: Jhonathan Ive +description: "This is meta description" --- ### Introduction diff --git a/exampleSite/content/blog/ten-things-about-business.md b/exampleSite/content/blog/ten-things-about-business.md index 1a43e99..c9d05f9 100644 --- a/exampleSite/content/blog/ten-things-about-business.md +++ b/exampleSite/content/blog/ten-things-about-business.md @@ -3,6 +3,7 @@ title: Ten Things About Business date: 2018-07-07T16:57:54+06:00 image: images/blog/post-1.jpg author: John Snow +description: "This is meta description" --- ### Introduction diff --git a/exampleSite/content/blog/the-nourish-box-august.md b/exampleSite/content/blog/the-nourish-box-august.md index 95109ce..df03d09 100644 --- a/exampleSite/content/blog/the-nourish-box-august.md +++ b/exampleSite/content/blog/the-nourish-box-august.md @@ -3,6 +3,7 @@ title: "The Nourish Box August" date: 2018-07-08T12:20:58+06:00 image: images/blog/post-1.jpg author: Sansa Stark +description: "This is meta description" --- ### Viral dreamcatcher keytar typewriter, aesthetic offal umami. diff --git a/exampleSite/content/blog/this-show-has-divided.md b/exampleSite/content/blog/this-show-has-divided.md index 27e552e..f89e933 100644 --- a/exampleSite/content/blog/this-show-has-divided.md +++ b/exampleSite/content/blog/this-show-has-divided.md @@ -3,6 +3,7 @@ title: "This Show Has Divided" date: 2018-07-08T12:18:46+06:00 image: images/blog/post-3.jpg author: Theon Greyjoy +description: "This is meta description" --- ### Chatting with the ancestors diff --git a/exampleSite/content/blog/why-you-need-a-statement-bag-this-season.md b/exampleSite/content/blog/why-you-need-a-statement-bag-this-season.md index f8992aa..83e012b 100644 --- a/exampleSite/content/blog/why-you-need-a-statement-bag-this-season.md +++ b/exampleSite/content/blog/why-you-need-a-statement-bag-this-season.md @@ -3,6 +3,7 @@ title: Why You Need a Statement Bag date: 2018-07-08T12:11:29+06:00 image: images/blog/post-2.jpg author: Arya Stark +description: "This is meta description" --- ### A cleansing hot shower or bath diff --git a/exampleSite/content/contact/_index.en.md b/exampleSite/content/contact/_index.en.md index cc31223..89aa364 100644 --- a/exampleSite/content/contact/_index.en.md +++ b/exampleSite/content/contact/_index.en.md @@ -2,4 +2,5 @@ title: "Contact Us" date: 2018-07-07T15:53:27+06:00 draft: false +description: "This is meta description" --- diff --git a/exampleSite/content/contact/_index.fr.md b/exampleSite/content/contact/_index.fr.md index 5a8094f..d3fb1fd 100644 --- a/exampleSite/content/contact/_index.fr.md +++ b/exampleSite/content/contact/_index.fr.md @@ -2,4 +2,5 @@ title: "FRANCAIS Contactez Nous" date: 2018-07-07T15:53:27+06:00 draft: false +description: "This is meta description" --- diff --git a/exampleSite/content/portfolio/_index.en.md b/exampleSite/content/portfolio/_index.en.md index 923cca7..16ff2eb 100644 --- a/exampleSite/content/portfolio/_index.en.md +++ b/exampleSite/content/portfolio/_index.en.md @@ -2,4 +2,5 @@ title: "Portfolio" date: 2018-07-07T15:45:06+06:00 draft: false +description: "This is meta description" --- diff --git a/exampleSite/content/portfolio/_index.fr.md b/exampleSite/content/portfolio/_index.fr.md index a151480..6807083 100644 --- a/exampleSite/content/portfolio/_index.fr.md +++ b/exampleSite/content/portfolio/_index.fr.md @@ -2,4 +2,5 @@ title: "FRANCAIS Portfolio" date: 2018-07-07T15:45:06+06:00 draft: false +description: "This is meta description" --- diff --git a/exampleSite/content/service/_index.en.md b/exampleSite/content/service/_index.en.md index 570a531..8ce2afe 100644 --- a/exampleSite/content/service/_index.en.md +++ b/exampleSite/content/service/_index.en.md @@ -2,4 +2,5 @@ title: "Our Services" date: 2018-07-07T14:53:13+06:00 draft: false +description: "This is meta description" --- diff --git a/exampleSite/content/service/_index.fr.md b/exampleSite/content/service/_index.fr.md index ea632b4..a892be6 100644 --- a/exampleSite/content/service/_index.fr.md +++ b/exampleSite/content/service/_index.fr.md @@ -2,4 +2,5 @@ title: "FRANCAIS Our Services" date: 2018-07-07T14:53:13+06:00 draft: false +description: "This is meta description" --- diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 426406e..5f030b6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,8 +1,8 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<meta name="description" content="Navigator Hugo Template"> -<meta name="author" content="Themefisher.com"> +<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}"> +{{ with .Site.Params.author }} <meta name="author" content="{{ . }}">{{ end }} {{ hugo.Generator }} <title>{{ .Site.Title }}</title> |