template: add header partial + add meta:og headers
This commit is contained in:
parent
2412f16d9a
commit
ced546d4cb
|
@ -1,10 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<title>{{ .Title }} – {{ site.Title }}</title>
|
||||
{{ partial "header.html" . | safeHTML }}
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "navigation.html" . | safeHTML }}
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<title>{{ .Title }} – {{ site.Title }}</title>
|
||||
{{ partial "header.html" . | safeHTML }}
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "navigation.html" . | safeHTML }}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<title>{{ .Title }} – {{ site.Title }}</title>
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
|
||||
<meta property="og:title" content="{{ .Title }} – {{ site.Title }}" />
|
||||
<meta property="og:description" content="Site communautaire en français autour d'OpenBSD" />
|
||||
<meta property="og:url" content="https://openbsd.fr.eu.org{{ .Path }}" />
|
||||
<meta property="og:image" content="https://openbsd.fr.eu.org/images/logo.png" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:locale" content="fr_FR" />
|
|
@ -1,10 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<title>{{ .Title }} – {{ site.Title }}</title>
|
||||
{{ partial "header.html" . | safeHTML }}
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "navigation.html" . | safeHTML }}
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<title>{{ .Title }} – {{ site.Title }}</title>
|
||||
{{ partial "header.html" . | safeHTML }}
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "navigation.html" . | safeHTML }}
|
||||
|
|
Reference in New Issue