summaryrefslogtreecommitdiff
path: root/article/template
diff options
context:
space:
mode:
Diffstat (limited to 'article/template')
-rw-r--r--article/template15
1 files changed, 7 insertions, 8 deletions
diff --git a/article/template b/article/template
index fec42d7..ee49943 100644
--- a/article/template
+++ b/article/template
@@ -1,12 +1,11 @@
list
- page <html>
- <head><title>List of articles</title></head>
- <body>
- <p>Here are some articles for you:</p>
- <ul>$list</ul>
- </body>
- </html>
- item <li><a href=\"$id\">$title</a></li>
+ <html>
+ <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>
+ </body>
+ </html>
page <html>
<head><title>$title</title></head>
<body>$content</body>