Declare variable for Open Graph meta URL

This commit is contained in:
Helen Chong 2024-04-06 14:22:08 +08:00
parent c8fc0803e3
commit 46e8b6213a
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
{# Open Graph #} {# Open Graph #}
<meta property="og:url" content="https://leilukin.neocities.org/home"> <meta property="og:url" content="https://leilukin.neocities.org/{{ meta_url }}">
<meta property="og:type" content="website"> <meta property="og:type" content="website">
<meta property="og:site_name" content="Leilukin's Hub"> <meta property="og:site_name" content="Leilukin's Hub">
<meta property="og:title" content="{{ title }} | Leilukin's Hub"> <meta property="og:title" content="{{ title }} | Leilukin's Hub">

View File

@ -1,6 +1,7 @@
--- ---
layout: "layouts/main.njk" layout: "layouts/main.njk"
title: Home title: Home
meta_url: home
meta_description: Home page of Leilukin's Hub meta_description: Home page of Leilukin's Hub
--- ---