From 3425c9a1725cc99a9593525afd1cd8b68cd16514 Mon Sep 17 00:00:00 2001 From: ihza rizky Date: Wed, 30 Sep 2020 19:03:01 +0700 Subject: [PATCH 1/2] update meta tag property title and property image for article thumbnail in folder partials -> file head.html --- layouts/partials/head.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index af9cb77..fde5132 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,6 +4,12 @@ + + + + {{ if isset .Params "image" }} + + {{ end }} {{- with $.Param "author" -}} From 9c5216522927a21baf6b7469f78fd72e2aa72761 Mon Sep 17 00:00:00 2001 From: ihza rizky Date: Wed, 30 Sep 2020 19:14:22 +0700 Subject: [PATCH 2/2] update file CONTRIBUTORS.md and README.md --- CONTRIBUTORS.md | 1 + README.md | 1 + layouts/partials/head.html | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 230ccf1..8722d74 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -10,3 +10,4 @@ collaboration of others. * [Christoph Petrausch](https://github.com/hikhvar) * [Mohamed Muhannad](https://github.com/muhannad0) * [Jon Besga](https://github.com/jonbesga) +* [Mochammad Ihza Rizky Karim](https://github.com/ihzarizkyk) diff --git a/README.md b/README.md index bc2823b..44d05e5 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ For more explanation about various features, scroll down to **Features** * Twitter cards and Open Graph tags integration * Images for post headers * Use of a homepage instead of a list of posts +* Thumbnail Article or Post * And some other cool features... ## Installation diff --git a/layouts/partials/head.html b/layouts/partials/head.html index fde5132..df4bf3b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,9 +4,9 @@ - + - + {{ if isset .Params "image" }} {{ end }}