forked from nutomic/joinpeertube
Better opengraph tags and add instances link
This commit is contained in:
parent
a1cd0a3972
commit
aa56cf0682
6 changed files with 25 additions and 5 deletions
|
@ -56,6 +56,7 @@ name = "paper"
|
|||
switchlang = true
|
||||
# You can use markdown here.
|
||||
BrandImage = "/brand.png"
|
||||
OpenGraphImage = "notebook.jpg"
|
||||
brand = "Peertube"
|
||||
topline = ""
|
||||
footline = ""
|
||||
|
|
|
@ -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"
|
||||
url = "https://github.com/Chocobozzz/PeerTube"
|
||||
|
||||
[[Languages.en.menu.main]]
|
||||
name = "Instances"
|
||||
weight = 6
|
||||
identifier = ""
|
||||
url = "https://instances.joinpeertube.org"
|
||||
|
|
|
@ -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"
|
||||
url = "https://github.com/Chocobozzz/PeerTube"
|
||||
|
||||
[[Languages.fr.menu.main]]
|
||||
name = "Instances"
|
||||
weight = 6
|
||||
identifier = ""
|
||||
url = "https://instances.joinpeertube.org"
|
||||
|
|
|
@ -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!
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
|
||||
date = "2018-02-28T14:41:00+01:00"
|
||||
title = "Accueil"
|
||||
title = "PeerTube"
|
||||
author = "Framasoft"
|
||||
draft = false
|
||||
type = "page"
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
<link rel="author" href="http://plus.google.com/+{{ . }}">
|
||||
{{ end }}
|
||||
|
||||
<meta property="image" content="{{ .Site.BaseURL }}{{ .Site.Params.OpenGraphImage }}"/>
|
||||
|
||||
<meta property="og:title" content="{{ .Title }} {{ if ne .Title .Site.Title }} · {{ .Site.Title }} {{ end }}">
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}"/>
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
|
@ -23,6 +25,7 @@
|
|||
{{ else }}
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:description" content="{{ .Description }}"/>
|
||||
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Site.Params.OpenGraphImage }}"/>
|
||||
<meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
|
||||
<meta property="og:article:modified_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
|
||||
|
||||
|
@ -44,6 +47,8 @@
|
|||
<meta name="twitter:description" content="{{ .Description }}" />
|
||||
<meta name="twitter:url" content="{{ .Permalink }}" />
|
||||
<meta name="twitter:domain" content="{{ .Site.BaseURL }}">
|
||||
<meta name="twitter:image" content="{{ .Site.BaseURL }}{{ .Site.Params.OpenGraphImage }}"/>
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ if ne .Site.Params.googleplus "" }}
|
||||
|
|
Loading…
Reference in a new issue