From ccb9163dd20185e7a20d5186cb86e884d13e185b Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sun, 1 Jan 2023 13:10:02 +0100 Subject: [PATCH] chg: [meta] updated to have proper "Open Graph protocol" --- _config.yml | 2 +- _includes/head.html | 49 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index dce7e93..1fb2837 100755 --- a/_config.yml +++ b/_config.yml @@ -1,7 +1,7 @@ # Site settings title: Alexandre Dulaunoy - adulau - Home Page email: a@foo.be -description: > +description: Personal webpage of Alexandre Dulaunoy - from information security to open source and art baseurl: "" url: "https://www.foo.be" diff --git a/_includes/head.html b/_includes/head.html index 32d5d47..9ba15e2 100755 --- a/_includes/head.html +++ b/_includes/head.html @@ -6,10 +6,59 @@ {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} + + +{% if page.title %} + +{% else %} + +{% endif %} +{% if page.title %} + +{% else %} + +{% endif %} +{% if page.description %} + +{% else %} + +{% endif %} +{% if page.url %} + +{% endif %} +{% if page.date %} + + +{% endif %} +{% if page.image %} + +{% else %} + +{% endif %} +{% if page.categories %} + {% for category in page.categories limit:1 %} + + {% endfor %} +{% endif %} +{% if page.tags %} + {% for tag in page.tags %} + + {% endfor %} +{% endif %} + + + + + + + + + +