Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Documentation “about” #1673

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions content/pages/about.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
title: 'Toilet Map: About'
author: 'Site Admin'
title: "Toilet Map: About"
date: 2024-04-16T19:31:20.591Z
author: Site Admin
---

<Container maxWidth={845}>
{
<Text fontSize={6} fontWeight="bold" textAlign="center">
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions contentlayer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const Post = defineDocumentType(() => ({

export const Page = defineDocumentType(() => ({
name: 'Page',
filePathPattern: `pages/**/*.md`,
contentType: 'markdown',
filePathPattern: `pages/**/*.mdx`,
contentType: 'mdx',
fields: {
title: { type: 'string', required: true },
date: { type: 'date', required: true },
Expand Down
16 changes: 8 additions & 8 deletions public/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ public_folder: /images/uploads
collections:
- name: "pages"
label: "Pages"
files:
- label: "Home"
name: "home"
file: "content/pages/home.md"
fields:
- { label: "Title", name: "title", widget: "string"}
- { label: "Publish Date", name: "date", widget: "datetime" }
- { label: "Author", name: "author", widget: "string" }
label_singular: 'Documentation'
folder: content/pages
extension: "mdx"
format: "frontmatter"
fields:
- { label: "Title", name: "title", widget: "string"}
- { label: "Publish Date", name: "date", widget: "datetime" }
- { label: "Author", name: "author", widget: "string" }
Loading