Skip to content

Commit 4f06bb2

Browse files
committed
Fix rss feed
1 parent 742c89b commit 4f06bb2

14 files changed

+235
-65
lines changed

content/changelog/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Change Log
22

3-
## [10.8.0] - 2025-02-xx
3+
## [10.8.0] - 2025-02-27 - [Release notes](https://beta.frontmatter.codes/updates/v10.8.0)
44

55
### 🎨 Enhancements
66

pages/updates/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Layout } from '../../components/Page/Layout';
55
import { getPostByFilename } from '../../lib/api';
66
import markdownToHtml from '../../utils/markdownToHtml';
77
import { RssIcon } from '@heroicons/react/24/solid';
8+
import Link from 'next/link';
89

910
export default function Home({ content }: any) {
1011
const { t: strings } = useTranslation();
@@ -21,11 +22,9 @@ export default function Home({ content }: any) {
2122
<div className='flex justify-between items-center'>
2223
<h1 className="text-5xl tracking-tight font-extrabold sm:leading-none lg:text-5xl xl:text-6xl">{strings(`changelog_page_title`) as string}</h1>
2324

24-
<a href="/api/rss" className="text-whisper-700 hover:text-whisper-900 inline-flex items-center space-x-2">
25+
<Link href="/api/rss" className="text-whisper-700 hover:text-whisper-900 inline-flex items-center space-x-2">
2526
<span>Changelog RSS Feed</span>
26-
27-
<RssIcon className="h-5 w-5 text-whisper-500" />
28-
</a>
27+
</Link>
2928
</div>
3029

3130
<p className="mt-3 text-base text-whisper-700 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">{strings(`changelog_page_description`) as string}</p>

public/config/content.pagefolders.schema.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/content.pagefolders.schema.json",
44
"description": "Defines the settings for Front Matter page folder",
5-
"lastModified": "2024-07-03T10:03:25.970Z",
5+
"lastModified": "2025-02-27T11:19:35.724Z",
66
"type": "object",
77
"title": "Front Matter - page folder",
88
"properties": {
@@ -19,6 +19,14 @@
1919
"default": false,
2020
"description": "Exclude sub-directories"
2121
},
22+
"excludePaths": {
23+
"type": "array",
24+
"default": false,
25+
"description": "Exclude paths (e.g. api, _*.*)",
26+
"items": {
27+
"type": "string"
28+
}
29+
},
2230
"previewPath": {
2331
"type": [
2432
"null",

public/config/content.placeholders.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/content.placeholders.schema.json",
44
"description": "Defines the settings for Front Matter placeholder",
5-
"lastModified": "2024-07-03T10:03:25.970Z",
5+
"lastModified": "2025-02-27T11:19:35.724Z",
66
"type": "object",
77
"title": "Front Matter - placeholder",
88
"properties": {

public/config/content.snippets.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/content.snippets.schema.json",
44
"description": "Defines the settings for Front Matter snippet",
5-
"lastModified": "2024-07-03T10:03:25.971Z",
5+
"lastModified": "2025-02-27T11:19:35.725Z",
66
"type": "object",
77
"title": "Front Matter - snippet",
88
"required": [

public/config/custom.scripts.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/custom.scripts.schema.json",
44
"description": "Defines the settings for Front Matter custom script",
5-
"lastModified": "2024-07-03T10:03:25.970Z",
5+
"lastModified": "2025-02-27T11:19:35.724Z",
66
"type": "object",
77
"title": "Front Matter - custom script",
88
"properties": {

public/config/data.files.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/data.files.schema.json",
44
"description": "Defines the settings for Front Matter data file",
5-
"lastModified": "2024-07-03T10:03:25.971Z",
5+
"lastModified": "2025-02-27T11:19:35.724Z",
66
"type": "object",
77
"title": "Front Matter - data file",
88
"properties": {

public/config/data.folders.schema.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/data.folders.schema.json",
44
"description": "Defines the settings for Front Matter data folder",
5-
"lastModified": "2024-07-03T10:03:25.971Z",
5+
"lastModified": "2025-02-27T11:19:35.724Z",
66
"type": "object",
77
"title": "Front Matter - data folder",
88
"properties": {
@@ -31,6 +31,20 @@
3131
"type": "boolean",
3232
"description": "If you want to use a single entry for your data files in the folder.",
3333
"default": false
34+
},
35+
"enableFileCreation": {
36+
"type": "boolean",
37+
"description": "Enable the creation of new data files in the folder.",
38+
"default": false
39+
},
40+
"fileType": {
41+
"type": "string",
42+
"default": "json",
43+
"enum": [
44+
"json",
45+
"yaml"
46+
],
47+
"description": "Defines the file type for when the file creation is enabled. JSON is the default."
3448
}
3549
},
3650
"required": [

public/config/data.types.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/data.types.schema.json",
44
"description": "Defines the settings for Front Matter data type",
5-
"lastModified": "2024-07-03T10:03:25.971Z",
5+
"lastModified": "2025-02-27T11:19:35.725Z",
66
"type": "object",
77
"title": "Front Matter - data type",
88
"properties": {

public/config/media.contenttypes.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/media.contenttypes.schema.json",
44
"description": "Defines the settings for Front Matter content type",
5-
"lastModified": "2024-07-03T10:03:25.970Z",
5+
"lastModified": "2025-02-27T11:19:35.724Z",
66
"type": "object",
77
"title": "Front Matter - content type",
88
"properties": {

0 commit comments

Comments
 (0)