Skip to content

Commit ba731ee

Browse files
authored
Merge pull request #11 from janhalen/1-test-new-document-needed
1 test new document needed
2 parents b7a5780 + ccec32e commit ba731ee

File tree

4 files changed

+51
-0
lines changed

4 files changed

+51
-0
lines changed

.pages.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
media: assets/media
2+
3+
content:
4+
- name: docs
5+
label: Documentation
6+
type: collection
7+
path: docs
8+
view:
9+
fields: [ title, published, date ]
10+
fields:
11+
- name: published
12+
label: Published
13+
type: boolean
14+
default: true
15+
- name: date
16+
label: Date
17+
type: date
18+
- name: title
19+
label: Title
20+
type: string
21+
- name: body
22+
label: Body
23+
type: markdown
24+
- name: config
25+
label: Jekyll config
26+
path: _config.yml
27+
type: file
28+
fields:
29+
- name: title
30+
label: Website title
31+
type: string
32+
- name: description
33+
label: Website description
34+
type: string
35+
description: Will be provused for any page with no description.
36+
- name: url
37+
label: Website URL
38+
type: string
39+
pattern: ^(https?:\/\/)?(www\.)?[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}(\/[^\s]*)?$

assets/media/.gitkeep

Whitespace-only changes.

assets/media/16-sunrise-on-water.png

10.2 KB
Loading

docs/2025-04-28-test-document.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
published: true
3+
date: 2025-04-02
4+
title: Test Document
5+
---
6+
# This is markdown
7+
8+
```mermaid
9+
flowchart
10+
a("This is mermaid")-.->
11+
b("in markdown")
12+
```

0 commit comments

Comments
 (0)