From 1f5142524bbf031607321fe8f7fc161e088bb805 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Tue, 15 Feb 2022 21:42:24 -0800 Subject: [PATCH] Add open graph profile metadata --- config.toml | 3 +++ layouts/partials/head.html | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/config.toml b/config.toml index 8a2573d..eb0a3af 100644 --- a/config.toml +++ b/config.toml @@ -20,6 +20,9 @@ highlight = false [author] name = "Rohan Kumar" +first = "Rohan" +last = "Kumar" +nick = "Seirdy" [menu] [[menu.main]] diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2273829..0a4e8dd 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -27,6 +27,7 @@ {{ end -}} + {{ $resources := slice -}} {{ $resources = $resources | append (resources.Get "/css/main.css") -}} {{ $dark := .Site.Params.dark | default "auto" -}} @@ -57,6 +58,9 @@ + + + {{ if lt .Date .Lastmod -}}