Patching weird // issue
This commit is contained in:
parent
c5af572d38
commit
d08a7e86c7
4 changed files with 12 additions and 12 deletions
|
@ -8,4 +8,5 @@ export default defineConfig({
|
|||
publicDir: 'static',
|
||||
site: 'https://fgo-ta.com/',
|
||||
integrations: [sitemap()],
|
||||
trailingSlash: "never"
|
||||
})
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
export interface Props {
|
||||
url: string | undefined
|
||||
url: string
|
||||
title: string
|
||||
questReleaseDate: string
|
||||
shortdescription: string
|
||||
|
|
|
@ -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}
|
||||
>
|
Loading…
Reference in a new issue