From 18fd72904485ca550219561c267033d29f213b77 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sun, 22 Sep 2019 09:12:06 +0200 Subject: [PATCH] Add image to opengraph and twitter cards --- config.toml | 1 + content/posts/theme-demo.en.md | 18 +++++++++--------- content/posts/theme-demo.md | 18 +++++++++--------- static/own-style.css | 7 +++++++ 4 files changed, 26 insertions(+), 18 deletions(-) diff --git a/config.toml b/config.toml index 84b8b62..05ba0cf 100644 --- a/config.toml +++ b/config.toml @@ -22,6 +22,7 @@ disqusShortname = "yourdiscussshortname" info = "Ingénieur en informatique, formateur & moniteur" description = "Site personnel de Gregory Trolliet" keywords = "blog,développeur,personnel" + images = ["images/avatar_grey.png"] avatarurl = "images/avatar_grey.png" footercontent = "" posts = "Articles" diff --git a/content/posts/theme-demo.en.md b/content/posts/theme-demo.en.md index b4e7d72..2d449e2 100644 --- a/content/posts/theme-demo.en.md +++ b/content/posts/theme-demo.en.md @@ -1,12 +1,12 @@ -+++ -date = "2017-01-08" -title = "Theme Demo" -description = "The post demonstrates features of the coder theme." -images = ["/images/N90.jpg"] -math = "true" -series = ["Theme", "Hugo"] -draft = true -+++ +--- +date: "2017-01-08" +title: "Theme Demo" +description: "The post demonstrates features of the coder theme." +images: ["/images/N90.jpg"] +math: "true" +series: ["Theme", "Hugo"] +draft: true +--- ## Style Demo diff --git a/content/posts/theme-demo.md b/content/posts/theme-demo.md index b4e7d72..2d449e2 100644 --- a/content/posts/theme-demo.md +++ b/content/posts/theme-demo.md @@ -1,12 +1,12 @@ -+++ -date = "2017-01-08" -title = "Theme Demo" -description = "The post demonstrates features of the coder theme." -images = ["/images/N90.jpg"] -math = "true" -series = ["Theme", "Hugo"] -draft = true -+++ +--- +date: "2017-01-08" +title: "Theme Demo" +description: "The post demonstrates features of the coder theme." +images: ["/images/N90.jpg"] +math: "true" +series: ["Theme", "Hugo"] +draft: true +--- ## Style Demo diff --git a/static/own-style.css b/static/own-style.css index 2cd6e9b..a085e59 100644 --- a/static/own-style.css +++ b/static/own-style.css @@ -24,3 +24,10 @@ body { .fab { font-family: "Font Awesome 5 Brands"; } + +.categories { + display: inline-block; +} +.tags { + display: inline-block; +}