Convert directory data files from JSON to JS

This commit is contained in:
Helen Chong 2024-10-03 15:26:25 +08:00
parent 1893d14d8c
commit 54b103f8cc
50 changed files with 173 additions and 173 deletions

View File

@ -0,0 +1,13 @@
export default {
tags: ["articles", "contents", "feed items"],
layout: "main/content",
permalink: "/articles/{{ page.fileSlug }}/",
isArticle: true,
eleventyComputed: {
title: "{{ articleTitle }} | Articles",
eleventyNavigation: {
key: "{{ articleTitle }}",
parent: "Articles"
}
}
}

View File

@ -1,13 +0,0 @@
{
"tags": ["articles", "contents", "feed items"],
"layout": "main/content",
"permalink": "/articles/{{ page.fileSlug }}/",
"isArticle": true,
"eleventyComputed": {
"title": "{{ articleTitle }} | Articles",
"eleventyNavigation": {
"key": "{{ articleTitle }}",
"parent": "Articles"
}
}
}

View File

@ -0,0 +1,3 @@
export default {
tags: "featured articles"
}

View File

@ -1,3 +0,0 @@
{
"tags": "featured articles"
}

View File

@ -0,0 +1,3 @@
export default {
tags: "my articles"
}

View File

@ -1,3 +0,0 @@
{
"tags": "my articles"
}

View File

@ -0,0 +1,12 @@
export default {
layout: "main/content",
tags: ["posts", "contents", "feed items"],
isArticle: true,
eleventyComputed: {
title: "{{ articleTitle }} | Blog",
eleventyNavigation: {
key: "{{ articleTitle }}",
parent: "Blog Archive"
}
}
}

View File

@ -1,12 +0,0 @@
{
"layout": "main/content",
"tags": ["posts", "contents", "feed items"],
"isArticle": true,
"eleventyComputed": {
"title": "{{ articleTitle }} | Blog",
"eleventyNavigation": {
"key": "{{ articleTitle }}",
"parent": "Blog Archive"
}
}
}

View File

@ -0,0 +1,3 @@
export default {
tags: "changelog 2022"
}

View File

@ -1,3 +0,0 @@
{
"tags": "changelog 2022"
}

View File

@ -0,0 +1,3 @@
export default {
tags: "changelog 2023"
}

View File

@ -1,3 +0,0 @@
{
"tags": "changelog 2023"
}

View File

@ -0,0 +1,3 @@
export default {
tags: "changelog 2024"
}

View File

@ -1,3 +0,0 @@
{
"tags": "changelog 2024"
}

View File

@ -0,0 +1,7 @@
export default {
tags: ["changelogs", "feed items"],
permalink: false,
eleventyComputed: {
"title": "Changelog: {{ date | formatDate }}"
}
}

View File

@ -1,7 +0,0 @@
{
"tags": ["changelogs", "feed items"],
"permalink": false,
"eleventyComputed": {
"title": "Changelog: {{ date | formatDate }}"
}
}

View File

@ -0,0 +1,11 @@
export default {
tags: "changelog pages",
layout: "main/changelogs",
permalink: "/changelogs/{{ page.fileSlug }}/",
eleventyComputed: {
eleventyNavigation: {
key: "{{ changelogNav }}",
parent: "Changelogs"
}
}
}

View File

@ -1,11 +0,0 @@
{
"tags": "changelog pages",
"layout": "main/changelogs",
"permalink": "/changelogs/{{ page.fileSlug }}/",
"eleventyComputed": {
"eleventyNavigation": {
"key": "{{ changelogNav }}",
"parent": "Changelogs"
}
}
}

View File

@ -0,0 +1,4 @@
export default {
tags: ["link groups"],
permalink: false
}

View File

@ -1,4 +0,0 @@
{
"tags": ["link groups"],
"permalink": false
}

View File

@ -0,0 +1,4 @@
export default {
tags: ["artworks", "contents"],
categories: ["artworks"]
}

View File

@ -1,4 +0,0 @@
{
"tags": ["artworks", "contents"],
"categories": ["artworks"]
}

View File

@ -0,0 +1,3 @@
export default {
tags: ["code projects"]
}

View File

@ -1,3 +0,0 @@
{
"tags": ["code projects"]
}

View File

@ -0,0 +1,11 @@
export default {
tags: "project pages",
layout: "main/content.njk",
hasBreadcrumbs: true,
eleventyComputed: {
eleventyNavigation: {
key: "{{ title }}",
parent: "Projects"
}
}
}

View File

@ -1,11 +0,0 @@
{
"tags": "project pages",
"layout": "main/content.njk",
"hasBreadcrumbs": true,
"eleventyComputed": {
"eleventyNavigation": {
"key": "{{ title }}",
"parent": "Projects"
}
}
}

View File

@ -0,0 +1,3 @@
export default {
tags: ["code snippets"]
}

View File

@ -1,3 +0,0 @@
{
"tags": ["code snippets"]
}

View File

@ -0,0 +1,4 @@
export default {
tags: ["video game mods", "contents"],
categories: ["video game mods"]
}

View File

@ -1,4 +0,0 @@
{
"tags": ["video game mods", "contents"],
"categories": ["video game mods"]
}

View File

@ -0,0 +1,12 @@
export default {
tags: ["contents", "feed items", "cassette beasts articles"],
layout: "cassettebeasts/content",
isArticle: true,
eleventyComputed: {
title: "{{ articleTitle }} | Articles",
eleventyNavigation: {
key: "{{ articleTitle }}",
parent: "Cassette Beasts Articles"
}
}
}

View File

@ -1,12 +0,0 @@
{
"tags": ["contents", "feed items", "cassette beasts articles"],
"layout": "cassettebeasts/content",
"isArticle": true,
"eleventyComputed": {
"title": "{{ articleTitle }} | Articles",
"eleventyNavigation": {
"key": "{{ articleTitle }}",
"parent": "Cassette Beasts Articles"
}
}
}

View File

@ -0,0 +1,3 @@
export default {
tags: "shrine pages"
}

View File

@ -1,3 +0,0 @@
{
"tags": "shrine pages"
}

View File

@ -0,0 +1,12 @@
export default {
tags: ["contents", "feed items", "kotor articles"],
layout: "starwarskotor/content",
isArticle: true,
eleventyComputed: {
title: "{{ articleTitle }} | Articles",
eleventyNavigation: {
key: "{{ articleTitle }}",
parent: "KotOR Articles"
}
}
}

View File

@ -1,12 +0,0 @@
{
"tags": ["contents", "feed items", "kotor articles"],
"layout": "starwarskotor/content",
"isArticle": true,
"eleventyComputed": {
"title": "{{ articleTitle }} | Articles",
"eleventyNavigation": {
"key": "{{ articleTitle }}",
"parent": "KotOR Articles"
}
}
}

View File

@ -0,0 +1,12 @@
export default {
tags: ["contents", "feed items", "kotor guides"],
layout: "starwarskotor/content",
isArticle: true,
eleventyComputed: {
title: "{{ articleTitle }} | Guides",
eleventyNavigation: {
key: "{{ articleTitle }}",
parent: "KotOR Guides"
}
}
}

View File

@ -1,12 +0,0 @@
{
"tags": ["contents", "feed items", "kotor guides"],
"layout": "starwarskotor/content",
"isArticle": true,
"eleventyComputed": {
"title": "{{ articleTitle }} | Guides",
"eleventyNavigation": {
"key": "{{ articleTitle }}",
"parent": "KotOR Guides"
}
}
}

View File

@ -0,0 +1,12 @@
export default {
tags: ["contents", "kotor resources"],
layout: "starwarskotor/content",
hasBreadcrumbs: true,
eleventyComputed: {
title: "{{ pageTitle }} | Resources",
eleventyNavigation: {
key: "{{ pageTitle }}",
parent: "KotOR Resources"
}
}
}

View File

@ -1,12 +0,0 @@
{
"tags": ["contents", "kotor resources"],
"layout": "starwarskotor/content",
"hasBreadcrumbs": true,
"eleventyComputed": {
"title": "{{ pageTitle }} | Resources",
"eleventyNavigation": {
"key": "{{ pageTitle }}",
"parent": "KotOR Resources"
}
}
}

View File

@ -0,0 +1,8 @@
export default {
tags: "archive",
eleventyComputed:{
eleventyNavigation: {
key: "{{ title }}"
}
}
}

View File

@ -1,8 +0,0 @@
{
"tags": "archive",
"eleventyComputed":{
"eleventyNavigation":{
"key": "{{ title }}"
}
}
}

View File

@ -0,0 +1,3 @@
export default {
tags: "footer links"
}

View File

@ -1,3 +0,0 @@
{
"tags": "footer links"
}

View File

@ -0,0 +1,3 @@
export default {
tags: "navbar links"
}

View File

@ -1,3 +0,0 @@
{
"tags": "navbar links"
}

View File

@ -0,0 +1,10 @@
export default {
tags: "pages",
layout: "main/content",
permalink: "/{{ page.fileSlug }}/",
eleventyComputed: {
eleventyNavigation: {
key: "{{ title }}"
}
}
}

View File

@ -1,10 +0,0 @@
{
"tags": "pages",
"layout": "main/content",
"permalink": "/{{ page.fileSlug }}/",
"eleventyComputed":{
"eleventyNavigation":{
"key": "{{ title }}"
}
}
}

View File

@ -0,0 +1,11 @@
export default {
layout: "main/statement",
tags: "statements",
articleElement: true,
eleventyComputed: {
desc: "{{ sitemeta.siteName | safe }}'s {{ keyword }}.",
eleventyNavigation:{
key: "{{ title }}"
}
}
}

View File

@ -1,11 +0,0 @@
{
"layout": "main/statement",
"tags": "statements",
"articleElement": true,
"eleventyComputed": {
"desc": "{{ sitemeta.siteName | safe }}'s {{ keyword }}.",
"eleventyNavigation":{
"key": "{{ title }}"
}
}
}