Added OpenGraph

This commit is contained in:
Pierre 2018-05-12 12:02:15 +02:00
parent cb3d62aa69
commit b8bb3d842c
4 changed files with 17 additions and 11 deletions

View File

@ -4,7 +4,7 @@ email: contact@communiquons.org
description: Website about Comunic. description: Website about Comunic.
baseurl: "" # the subpath of your site, e.g. /blog/ (If you use organization leave empty) baseurl: "" # the subpath of your site, e.g. /blog/ (If you use organization leave empty)
url: "https://about.communiquons.org" # the base hostname & protocol for your site url: "http://127.0.0.1:4000" # the base hostname & protocol for your site
#Comunic application URL #Comunic application URL
app_url: "http://devweb.local/comunic/v2/" app_url: "http://devweb.local/comunic/v2/"

View File

@ -9,20 +9,24 @@
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title> <title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
<!-- Bootstrap Core CSS --> <!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="/vendor/bootstrap/css/bootstrap.min.css" type="text/css"> <link rel="stylesheet" href="{{ site.baseurl }}/vendor/bootstrap/css/bootstrap.min.css" type="text/css">
<!-- Plugin CSS --> <!-- Plugin CSS -->
<link rel="stylesheet" href="/css/animate.min.css" type="text/css"> <link rel="stylesheet" href="{{ site.baseurl }}/css/animate.min.css" type="text/css">
<link rel="stylesheet" href="/vendor/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="{{ site.baseurl }}/vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="/vendor/simple-line-icons/css/simple-line-icons.css"> <link rel="stylesheet" href="{{ site.baseurl }}/vendor/simple-line-icons/css/simple-line-icons.css">
<link rel="stylesheet" href="/vendor/device-mockups/device-mockups.min.css"> <link rel="stylesheet" href="{{ site.baseurl }}/vendor/device-mockups/device-mockups.min.css">
<!-- Custom CSS <!-- Custom CSS -->
<link rel="stylesheet" href="css/main.css" type="text/css"> --> <link href="{{ site.baseurl }}/css/main.css" rel="stylesheet">
<link href="/css/main.css" rel="stylesheet">
<!-- Website icon --> <!-- Website icon -->
<link rel="icon" type="image/vnd.microsoft.icon" href="/img/comunic_icon.png" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{{site.url}}{{ site.baseurl }}/img/comunic_icon.png" />
<link rel="shortcut icon" type="image/x-icon" href="/img/comunic_icon.png" /> <link rel="shortcut icon" type="image/x-icon" href="{{site.url}}{{ site.baseurl }}/img/comunic_icon.png" />
<!-- Open Graph content -->
{% if page.title %}<meta property="og:title" content="{{ page.title }}"/>{% endif %}
{% if page.subtitle %}<meta property ="og:description" content="{{ page.subtitle }}"/>{% endif %}
<meta property="og:image" content="{{site.url}}{{ site.baseurl }}/img/comunic_icon.png"/>
</head> </head>

View File

@ -1,4 +1,5 @@
--- ---
layout: developer/home layout: developer/home
title: Developer title: Developer
subtitle: Comunic website for developers
--- ---

View File

@ -1,4 +1,5 @@
--- ---
layout: home layout: home
title: Comunic, A new Social Network title: Comunic, A new Social Network
subtitle: Discover a social network that respect your privacy
--- ---