diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/load-test-data/archive.tgz | bin | 0 -> 3386081 bytes | |||
-rw-r--r-- | src/cmd/load-test-data/test-data.yml | 31 |
2 files changed, 31 insertions, 0 deletions
diff --git a/src/cmd/load-test-data/archive.tgz b/src/cmd/load-test-data/archive.tgz Binary files differnew file mode 100644 index 0000000..9fd2d20 --- /dev/null +++ b/src/cmd/load-test-data/archive.tgz diff --git a/src/cmd/load-test-data/test-data.yml b/src/cmd/load-test-data/test-data.yml index 36e009f..40cfa6e 100644 --- a/src/cmd/load-test-data/test-data.yml +++ b/src/cmd/load-test-data/test-data.yml @@ -163,5 +163,36 @@ published_posts: 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 |