summaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/load-test-data/test-data.yml84
1 files changed, 81 insertions, 3 deletions
diff --git a/src/cmd/load-test-data/test-data.yml b/src/cmd/load-test-data/test-data.yml
index 01030b7..a3fff9d 100644
--- a/src/cmd/load-test-data/test-data.yml
+++ b/src/cmd/load-test-data/test-data.yml
@@ -8,6 +8,7 @@ published_posts:
tags:
- foo
series: testing
+ format: md
body: |
This here's a test post containing various markdown elements in its body.
@@ -59,17 +60,83 @@ published_posts:
Here's a real picture of cyberspace.
- ![not a sound stage]({{ AssetURL "galaxy.jpg" }})
+ {{ Image "galaxy.jpg" }}
This has been a great post.
- - id: empty-test
- title: Empty Test
+ - id: gemtext-test
+ title: Gemtext Test
+ description: A little post containing different kinds of gemtext elements.
+ tags:
+ - foo
+ series: testing
+ format: gmi
+ body: |
+
+ This here's a test post containing various markdown elements in its body. It's useful for making sure that posts will look good (generally).
+
+ ## Let's Begin
+
+ There's various things worth testing. Like lists:
+
+ * Foo
+ * Bar
+ * Baz
+
+ So many!
+
+ ### A Subsection
+
+ And it only gets crazier from here!
+
+ Check out this code block.
+
+ ```
+ // It's like actually being in the matrix
+ for !dead {
+ if awake {
+ work()
+ } else {
+ continue
+ }
+ }
+ ```
+
+ Edgy.
+
+ #### Side-note
+
+ Did you know that the terms "cyberspace" and "matrix" are attributable to a book from 1984 called _Neuromancer_?
+
+ > The 1999 cyberpunk science fiction film The Matrix particularly draws from Neuromancer both eponym and usage of the term "matrix".
+ > - Wikipedia
+
+ Here's a real picture of cyberspace.
+
+ {{ Image "galaxy.jpg" "Definitely not a sound stage" }}
+
+ This has been a great post.
+
+ => / Here's a link outa here!
+
+ - id: empty-markdown-test
+ title: Empty Markdown Test
description:
tags:
- foo
- bar
series: testing
+ format: md
+ body: ""
+
+ - id: empty-gemtext-test
+ title: Empty Gemtext Test
+ description:
+ tags:
+ - foo
+ - bar
+ series: testing
+ format: gmi
body: ""
- id: little-markdown-test
@@ -78,6 +145,17 @@ published_posts:
tags:
- bar
series: testing
+ format: md
+ body: |
+ This page is almost empty.
+
+ - id: little-gemtext-test
+ title: Little Gemtext Test
+ description: A post with almost no content.
+ tags:
+ - bar
+ series: testing
+ format: gmi
body: |
This page is almost empty.