summaryrefslogtreecommitdiff
path: root/article
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-12-07 18:35:29 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-12-07 18:35:29 +0300
commit9ff2de24d95bccac35bf5eba1225fa24493599a4 (patch)
tree16d4a909f9414f21828aa4216245ff2ce4e45b5e /article
parentc06e5865c3772ef0988d0ac10ec2fe221f8cfb4d (diff)
downloadvsvs-9ff2de24d95bccac35bf5eba1225fa24493599a4.tar
vsvs-9ff2de24d95bccac35bf5eba1225fa24493599a4.tar.xz
vsvs-9ff2de24d95bccac35bf5eba1225fa24493599a4.zip
.
Diffstat (limited to 'article')
-rw-r--r--article/entry2
1 files changed, 1 insertions, 1 deletions
diff --git a/article/entry b/article/entry
index f47e3ce..231da40 100644
--- a/article/entry
+++ b/article/entry
@@ -11,7 +11,7 @@ then
else
export title="$(vsvs-extract 'test "$key" == "title" && echo "$value"' "list/${1%%/*}")"
export content="$(vsvs-extract 'test "$key" == "content" && echo "$value"' "list/${1%%/*}")"
- vsvs-extract 'echo "$value"' "template/page" | shelter
+ vsvs-extract 'test "$key" == "page" && echo "$value"' "template" | shelter
fi
else cat $base/data/404.html
fi