diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2024-05-26 21:16:02 +0200 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2024-05-26 21:16:02 +0200 |
commit | 43d8951296ce2f232ca94f0577e2e726291bf783 (patch) | |
tree | a04793b1e15e10040201dfafd1c25c649030f72c /src/cmd | |
parent | a6342a3748beaee1ec3c2dc662af6deec0c3959d (diff) |
Replace URL building methods with the URLBuilder
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/load-test-data/test-data.yml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/cmd/load-test-data/test-data.yml b/src/cmd/load-test-data/test-data.yml index 40cfa6e..6987d7d 100644 --- a/src/cmd/load-test-data/test-data.yml +++ b/src/cmd/load-test-data/test-data.yml @@ -60,7 +60,7 @@ published_posts: Here's a real picture of cyberspace. - {{ Image "galaxy.jpg" }} + {{ .Image "galaxy.jpg" }} This has been a great post. @@ -119,7 +119,7 @@ published_posts: Here's a real picture of cyberspace. - {{ Image "galaxy.jpg" "Definitely not a sound stage" }} + {{ .Image "galaxy.jpg" "Definitely not a sound stage" }} This has been a great post. @@ -173,10 +173,10 @@ published_posts: 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" }} + {{ .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 @@ -188,10 +188,10 @@ published_posts: 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" }} + {{ .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 |