From aa56cf0682ed32d89e30cf85caa30c9f7364cb5f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 18 May 2018 17:28:27 +0200 Subject: [PATCH] Better opengraph tags and add instances link --- config.toml | 1 + config/en.toml | 9 ++++++++- config/fr.toml | 9 ++++++++- content/home.en.md | 4 ++-- content/home.fr.md | 2 +- .../layouts/partials/base/metas.html | 5 +++++ 6 files changed, 25 insertions(+), 5 deletions(-) diff --git a/config.toml b/config.toml index 690ccdd..9c65032 100644 --- a/config.toml +++ b/config.toml @@ -56,6 +56,7 @@ name = "paper" switchlang = true # You can use markdown here. BrandImage = "/brand.png" +OpenGraphImage = "notebook.jpg" brand = "Peertube" topline = "" footline = "" diff --git a/config/en.toml b/config/en.toml index 4acfdfb..a283a94 100644 --- a/config/en.toml +++ b/config/en.toml @@ -8,6 +8,7 @@ languageCode = "en" weight = 1 title = "PeerTube" +description = "A decentralized video hosting network, based on free/libre software" [[Languages.en.menu.main]] name = "FAQ" @@ -32,4 +33,10 @@ url = "https://peertube.frama.wiki" name = "Source code" weight = 5 identifier = "" -url = "https://github.com/Chocobozzz/PeerTube" \ No newline at end of file +url = "https://github.com/Chocobozzz/PeerTube" + +[[Languages.en.menu.main]] +name = "Instances" +weight = 6 +identifier = "" +url = "https://instances.joinpeertube.org" diff --git a/config/fr.toml b/config/fr.toml index fe731c4..710da85 100644 --- a/config/fr.toml +++ b/config/fr.toml @@ -8,6 +8,7 @@ languageCode = "fr" weight = 1 title = "PeerTube" +description = "L'hébergement de vidéos décentralisé, en réseau, basé sur du logiciel libre" [[Languages.fr.menu.main]] name = "FAQ" @@ -32,4 +33,10 @@ url = "https://peertube.frama.wiki" name = "Code source" weight = 5 identifier = "" -url = "https://github.com/Chocobozzz/PeerTube" \ No newline at end of file +url = "https://github.com/Chocobozzz/PeerTube" + +[[Languages.fr.menu.main]] +name = "Instances" +weight = 6 +identifier = "" +url = "https://instances.joinpeertube.org" diff --git a/content/home.en.md b/content/home.en.md index eec2e45..9d360a6 100644 --- a/content/home.en.md +++ b/content/home.en.md @@ -1,7 +1,7 @@ +++ date = "2018-02-28T14:41:00+01:00" -title = "Home" +title = "PeerTube" author = "Framasoft" draft = false type = "page" @@ -166,7 +166,7 @@ Every account has a globally unique identifier (e.g. @chocobozzz@framatube.org) The administrators of a PeerTube instance can follow each other. When your PeerTube instance follows another PeerTube instance, you receive -the videos preview informations from this instance. This way, you can display +the videos preview informations from this instance. This way, you can display the videos available on your instance and on the instances you decided to follow. So you keep control of the videos displayed on your PeerTube instance! diff --git a/content/home.fr.md b/content/home.fr.md index 4c7db41..5ab6eac 100644 --- a/content/home.fr.md +++ b/content/home.fr.md @@ -1,7 +1,7 @@ +++ date = "2018-02-28T14:41:00+01:00" -title = "Accueil" +title = "PeerTube" author = "Framasoft" draft = false type = "page" diff --git a/themes/hugo-bootstrap-premium/layouts/partials/base/metas.html b/themes/hugo-bootstrap-premium/layouts/partials/base/metas.html index c0c2189..54843fa 100644 --- a/themes/hugo-bootstrap-premium/layouts/partials/base/metas.html +++ b/themes/hugo-bootstrap-premium/layouts/partials/base/metas.html @@ -13,6 +13,8 @@ {{ end }} + + @@ -23,6 +25,7 @@ {{ else }} + @@ -44,6 +47,8 @@ + + {{ end }} {{ if ne .Site.Params.googleplus "" }}