Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Oct 18, 2021
1 parent f15f0d8 commit 7392d0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/layouts/WikiLayout.astro
Expand Up @@ -26,10 +26,10 @@ const { wikiItem } = Astro.props
<ContentHeader item={wikiItem} includeTags={false} />
<Markdown content={wikiItem.astro.source} />

<span class="text-right block text-creative-work mb-4"
>Page last modified <span data-date={wikiItem.lastModified}
>{readableDate(wikiItem.lastModified)}</span
></span>
<span class="text-right block text-creative-work mb-4">
Page last modified <span data-date={wikiItem.lastModified}
>{readableDate(wikiItem.lastModified)}</span>
</span>
</article>

<aside class="mt-10 mb-4 transition-opacity duration-100 ease-linear hidden sm:block">
Expand Down
4 changes: 2 additions & 2 deletions src/pages/wiki.astro
@@ -1,9 +1,9 @@
---
import WikiLayout from "$layouts/WikiLayout.astro"
import { postProcessBase } from "$data/shared"
import { postProcessWikiItem } from "$data/wiki.ts"
let wikiIndex = await Astro.fetchContent("../content/wiki/index.md")[0]
wikiIndex = postProcessBase(wikiIndex)
wikiIndex = postProcessWikiItem(wikiIndex)
---

<WikiLayout wikiItem={wikiIndex} />

0 comments on commit 7392d0f

Please sign in to comment.