OGP support

This commit is contained in:
2019-03-15 19:42:16 +01:00
parent a25dd83629
commit 4b0f5714b3
2 changed files with 8 additions and 0 deletions

View File

@@ -133,6 +133,7 @@ class Spot extends Main
),
'index',
array(
'host_url' => Settings::HOST_SERVER,
'filepath_css' => self::addTimestampToFilePath('style/spot.css'),
'filepath_js_d3' => self::addTimestampToFilePath('script/d3.min.js'),
'filepath_js_leaflet' => self::addTimestampToFilePath('script/leaflet.min.js'),

View File

@@ -3,6 +3,13 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Spotty, une application findmespot pour suivre François sur les chemins !">
<meta property="og:title" content="Spotty" />
<meta property="og:description" content="Spotty, une application findmespot pour suivre François sur les chemins !" />
<meta property="og:type" content="website" />
<meta property="og:url" content="[#]host_url[#]" />
<meta property="og:image" content="images/icons/android-chrome-512x512.png" />
<meta property="og:locale" content="fr_FR" />
<link rel="apple-touch-icon" sizes="180x180" href="images/icons/apple-touch-icon.png?v=GvmqYyKwbb">
<link rel="icon" type="image/png" sizes="32x32" href="images/icons/favicon-32x32.png?v=GvmqYyKwbb">
<link rel="icon" type="image/png" sizes="16x16" href="images/icons/favicon-16x16.png?v=GvmqYyKwbb">