Migrate to LFTP deployment and improve templates

- Add `deploy-lftp` command
- Add 404 page
- Change relative links to absolute links
- Fix pagination links
- Remove drafts from Pagefind indexing
- Fix OpenGraph descriptions for i18n
- Add Commissioners and Requesters components
- Add consistent type-checking for getStaticPaths
This commit is contained in:
Bad Manners 2024-06-16 19:24:25 -03:00
parent 837433364d
commit a9d5a88d0e
26 changed files with 254 additions and 70 deletions

View file

@ -1,13 +1,13 @@
---
# slug: some-custom-slug
title: Example Draft
title: Example Game
# shortTitle: Example
pubDate: 2024-01-01
isDraft: true
authors: bad-manners
contentWarning: >
This game contains some stuff.
# thumbnail: /src/assets/thumbnails/game_crossing_over_cover.png
# thumbnail: /src/assets/thumbnails/game_thumbnail.png
description: |
Some funny text.
# descriptionPlaintext: >
@ -24,4 +24,4 @@ tags: []
# lang: eng
---
The game content goes here.
The game content (i.e. embed) goes here.

View file

@ -1,6 +1,6 @@
---
# slug: some-custom-slug
title: Example Draft
title: Example Story
# shortTitle: Example
pubDate: 2024-01-01
isDraft: true
@ -8,7 +8,7 @@ authors: bad-manners
wordCount: 1000
contentWarning: >
Contains: Non-fatal same size oral vore, with willing anthro male fox predator, and unwilling feral female wolf prey. Also includes other stuff.
# thumbnail: /src/assets/thumbnails/tlotm_ch1.png
# thumbnail: /src/assets/thumbnails/story_thumbnail.png
description: |
Some funny text.
# descriptionPlaintext: >

View file

@ -1,7 +1,7 @@
name: Nameless User
nameLang:
eng: Nameless
tok: jan Nenlesuse pi nimi ala
tok: jan Nenle pi nimi ala
# avatar: /src/assets/images/logo_bm.png
links:
website: https://example.com