summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>