summaryrefslogtreecommitdiff
path: root/article
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-12-08 13:01:04 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-12-08 13:01:04 +0300
commit278965b45c2117902d077d24f10af08e69d9653e (patch)
tree22dd7207507ca37bd86ef44ae984c2ad35c47b73 /article
parent078e7e61191fa3792c7a65c23f24032ad3b749cc (diff)
downloadvsvs-278965b45c2117902d077d24f10af08e69d9653e.tar
vsvs-278965b45c2117902d077d24f10af08e69d9653e.tar.xz
vsvs-278965b45c2117902d077d24f10af08e69d9653e.zip
.
Diffstat (limited to 'article')
-rw-r--r--article/template2
1 files changed, 1 insertions, 1 deletions
diff --git a/article/template b/article/template
index ee49943..f75192b 100644
--- a/article/template
+++ b/article/template
@@ -3,7 +3,7 @@ list
<head><title>List of articles</title></head>
<body>
<p>Here are some articles for you:</p>
- <ul>$(echo "$articles" | vsvs-parse 'echo "<li><a href=\"$key\">$title</a></li>"')</ul>
+ <ul>$(echo "$articles" | vsvs-parse 'echo "<li><a href=\"$key\">$(echo "$value" | vsvs-parse 'test "$key" == "title" && echo "$value"')</a></li>"')</ul>
</body>
</html>
page <html>