summaryrefslogtreecommitdiff
path: root/src/cmd/load-test-data/test-data.yml
blob: 40cfa6ea13e95010b63e18db6c72d8fe7abd43dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
---

published_posts:

  - id: markdown-test
    title: Markdown Test
    description: A little post containing different kinds of markdown elements.
    tags:
      - foo
    series: testing
    format: md
    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. _Emphasized_ and **bold** text are
      great starting points. Also `little bits of code`.

      One might consider making a list of them.

      * A bit normal.
      * _A bit emphasized_
      * **A bit bold**
      * `A bit of code.`

      So many!

      ### A Subsection

      Crazy. Another way to delineate a subsection is with a horizontal rule.

      -----

      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" }}

      This has been a great post.

  - 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.

      => / Here's a link within the site

      => gemini://mediocregopher.com And here's a link to a gemini capsule

      => https://mediocregopher.com And here's a link to an https site

      #### 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.

  - 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
    title: Little Markdown Test
    description: A post with almost no content.
    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.

  - id: markdown-archive-test
    title: Markdown Archive Test
    description: Test loading assets from an archive (tgz) file
    format: md
    body: |

      This page contains images which are loaded from within an archive file which has been uploaded as a single asset.

      There should be 4 images.

      {{ Image "archive.tgz/1.jpg" }}
      {{ Image "archive.tgz/2.jpg" }}
      {{ Image "archive.tgz/foo/3.jpg" }}
      {{ Image "archive.tgz/foo/4.jpg" }}

  - id: gemtext-archive-test
    title: Gemtext Archive Test
    description: Test loading assets from an archive (tgz) file
    format: gmi
    body: |

      This page contains images which are loaded from within an archive file which has been uploaded as a single asset.

      There should be 4 images.

      {{ Image "archive.tgz/1.jpg" "First" }}
      {{ Image "archive.tgz/2.jpg" "Second" }}
      {{ Image "archive.tgz/foo/3.jpg" "Third" }}
      {{ Image "archive.tgz/foo/4.jpg" "Fourth" }}

assets:
  galaxy.jpg: ./galaxy.jpg
  archive.tgz: ./archive.tgz