mirror of
https://github.com/RGBCube/Site
synced 2025-07-30 20:47:46 +00:00
Move properties to _data.json
This commit is contained in:
parent
44942077fb
commit
3bafcf1765
2 changed files with 11 additions and 12 deletions
8
site/_data.json
Normal file
8
site/_data.json
Normal file
|
@ -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
|
||||
}
|
|
@ -1,11 +1,3 @@
|
|||
---
|
||||
description: null
|
||||
color: null
|
||||
type: null
|
||||
thumbnail: null
|
||||
# Required:
|
||||
# title
|
||||
---
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
|
@ -16,16 +8,15 @@ thumbnail: null
|
|||
<meta property="og:site_name" content="{{ title }}">
|
||||
<meta name="twitter:title" content="{{ title }}">
|
||||
|
||||
{{ set description = description ?? "The official website and link portal of RGBCube and his work." }}
|
||||
<meta name="description" content="{{ description }}">
|
||||
<meta property="og:description" content="{{ description }}">
|
||||
<meta name="twitter:description" content="{{ description }}">
|
||||
|
||||
<meta name="theme-color" content="{{ color ?? '#00FFFF' }}">
|
||||
<meta name="theme-color" content="{{ color }}">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="https://rgbcu.be/feed.rss">
|
||||
|
||||
<meta property="og:type" content="{{ type ?? 'website' }}"> <!-- Can be either "website" or "article" -->
|
||||
<meta property="og:type" content="{{ type }}">
|
||||
<meta property="og:locale" content="en">
|
||||
|
||||
<link rel="canonical" href="{{ url |> url(true) }}">
|
||||
|
@ -41,7 +32,7 @@ thumbnail: null
|
|||
<meta property="og:article:tag" content="{{ tags.join(', ') }}">
|
||||
{{ /if }}
|
||||
|
||||
{{ if date }}
|
||||
{{ if date }} <!-- For some reason this is always true, even though I do not set it. -->
|
||||
<meta property="og:article:published_time" content="{{ date }}">
|
||||
{{ /if }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue