Skip to content

Commit

Permalink
Enable last update
Browse files Browse the repository at this point in the history
  • Loading branch information
torn4dom4n committed Jun 6, 2024
1 parent 042c215 commit 926679d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ import remarkMath from 'remark-math'
import rehypeKatex from 'rehype-katex'
import rehypeMermaid from 'rehype-mermaid'
import rehypeExternalLinks from 'rehype-external-links'
import { remarkModifiedTime } from "./plugins/remark-modified-time.mjs"


// https://astro.build/config
export default defineConfig({
site: process.env.CI ? 'https://area44.github.io' : 'http://localhost:4321',
base: '/playastro',
markdown: {
remarkPlugins: [remarkMath],
remarkPlugins: [remarkMath, remarkModifiedTime,],
rehypePlugins: [
rehypeHeadingIds,
[rehypeAutolinkHeadings, { behavior: 'append' }],
Expand Down Expand Up @@ -59,6 +61,7 @@ export default defineConfig({
autogenerate: { directory: 'guides' },
},
],
lastUpdated: true,
credits: true,
}),
tailwind({ applyBaseStyles: false }),
Expand Down
1 change: 1 addition & 0 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ hero:
image:
file: ../../assets/astro-logo.svg
editUrl: false
lastUpdated: false
---

0 comments on commit 926679d

Please sign in to comment.