From 43d8951296ce2f232ca94f0577e2e726291bf783 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sun, 26 May 2024 21:16:02 +0200 Subject: Replace URL building methods with the URLBuilder --- src/cmd/load-test-data/test-data.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/cmd/load-test-data/test-data.yml') 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 -- cgit v1.2.3