Patching weird // issue
All checks were successful
/ checking (push) Successful in 19s
/ build-site (push) Successful in 2m38s
/ release (push) Successful in 27s

This commit is contained in:
Firq 2024-01-03 00:59:59 +01:00
parent c5af572d38
commit d08a7e86c7
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
4 changed files with 12 additions and 12 deletions

View file

@ -8,4 +8,5 @@ export default defineConfig({
publicDir: 'static',
site: 'https://fgo-ta.com/',
integrations: [sitemap()],
trailingSlash: "never"
})

View file

@ -1,7 +1,7 @@
{
"name": "fgo-ta-com-website",
"type": "module",
"version": "0.1.7",
"version": "0.1.8",
"scripts": {
"dev": "astro dev",
"start": "astro dev",

View file

@ -1,6 +1,6 @@
---
export interface Props {
url: string | undefined
url: string
title: string
questReleaseDate: string
shortdescription: string

View file

@ -1,20 +1,19 @@
---
import Layout from '../layouts/Layout.astro'
import QuestListing from '../components/questListing.astro'
import DatabaseSection from '../layouts/databaseSection.astro'
import { findSlug } from '../utils/slugTools'
import type { filedata } from '../types/ta'
import Layout from '../../layouts/Layout.astro'
import QuestListing from '../../components/questListing.astro'
import DatabaseSection from '../../layouts/databaseSection.astro'
import { findSlug } from '../../utils/slugTools'
import type { filedata } from '../../types/ta'
const description =
'My own small blog. Topics include FGO, TA, Programming, web technologies and more!'
const description = 'FGO NA TA Database'
const questInfo = []
const fulldata = import.meta.glob<{ default: filedata }>(
`../content/data/*.json`
`../../content/data/*.json`
)
for (const [key, value] of Object.entries(fulldata)) {
const url = `${Astro.url}/${findSlug(key)}`
const url = `/database/${findSlug(key)}`
questInfo.push({
...(await value())['default'].info,
url: url,
@ -27,7 +26,7 @@ questInfo.sort(
---
<Layout
title="TA Database"
title="FGO NA TA Database"
currentpage="database"
descriptionOverride={description}
>