From 3bafcf1765555511377ffe7b4a522a39a830e967 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 16 Feb 2024 12:37:50 +0300 Subject: [PATCH] Move properties to _data.json --- site/_data.json | 8 ++++++++ site/_includes/base.vto | 15 +++------------ 2 files changed, 11 insertions(+), 12 deletions(-) create mode 100644 site/_data.json diff --git a/site/_data.json b/site/_data.json new file mode 100644 index 0000000..2f76e1d --- /dev/null +++ b/site/_data.json @@ -0,0 +1,8 @@ +{ + "layout": "base.vto", + "type": "website", + + "color": "#00FFFF", + "description": "The official website and link portal of RGBCube and his work.", + "thumbnail": null +} diff --git a/site/_includes/base.vto b/site/_includes/base.vto index d76bba7..7c5348a 100644 --- a/site/_includes/base.vto +++ b/site/_includes/base.vto @@ -1,11 +1,3 @@ ---- -description: null -color: null -type: null -thumbnail: null -# Required: -# title ---- @@ -16,16 +8,15 @@ thumbnail: null - {{ set description = description ?? "The official website and link portal of RGBCube and his work." }} - + - + @@ -41,7 +32,7 @@ thumbnail: null {{ /if }} - {{ if date }} + {{ if date }} {{ /if }}