From ac3784b214511acbdf3bc5b3ff94668cabd8fe37 Mon Sep 17 00:00:00 2001 From: Andrew Long Date: Thu, 18 Jul 2024 21:19:04 -0700 Subject: [PATCH] Add meta param to make meta tags from the parameters section --- content/_index.md | 5 ++++- themes/customTheme/layouts/partials/head.html | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/content/_index.md b/content/_index.md index ba9e218..5cef2fb 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,6 +1,9 @@ --- title: "Home Page" -description: "The home page for my website." +description: "Game Programming & Personal Site" type: page +meta: + google-site-verification: + content: "BV3w5dRQWBlXkZnC-LlLVDgTvNOY9XN4RjAq1oclktc" # bannerImage: "/games/brick-breaker/brick-breaker.webp" --- diff --git a/themes/customTheme/layouts/partials/head.html b/themes/customTheme/layouts/partials/head.html index 226a0ab..4d510b7 100644 --- a/themes/customTheme/layouts/partials/head.html +++ b/themes/customTheme/layouts/partials/head.html @@ -2,7 +2,9 @@ - + {{ range $key, $value := $.Params.meta }} + + {{ end }} {{ .Page.Title }} - {{ .Site.Data._author.name }}