aboutsummaryrefslogtreecommitdiff
path: root/example-site/reIndex.md
diff options
context:
space:
mode:
Diffstat (limited to 'example-site/reIndex.md')
-rw-r--r--example-site/reIndex.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/example-site/reIndex.md b/example-site/reIndex.md
new file mode 100644
index 0000000..4519dc5
--- /dev/null
+++ b/example-site/reIndex.md
@@ -0,0 +1,22 @@
+---
+title: reIndex page
+description: >
+ This page is rendered after reindexing, with any encountered errors!
+|---
+
+# {{.Title}}
+
+this is the reindex page
+
+{{if .Vars.IndexError}}
+<span style="color: red;">
+# Indexing Error: {{.Vars.IndexError}}
+</span>
+{{end}}
+
+
+```
+This handler adds some information to the page vars:
+{{.Vars}}
+```
+