diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-07-15 01:10:41 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-07-15 01:10:41 -0400 |
| commit | 8b1d8bf26452f3ce8b38228a39755a6b8e18775a (patch) | |
| tree | f30f5cc86ce6758589d3d42607e829d0f537e70b /example-site/reIndex.md | |
| parent | 904e37a88a6a2eab3919f7f2c40bbb2c07544a7c (diff) | |
| download | go-website-8b1d8bf26452f3ce8b38228a39755a6b8e18775a.tar.gz go-website-8b1d8bf26452f3ce8b38228a39755a6b8e18775a.tar.xz | |
Start on the example website. Remove some chunks of code. Fix up author handling in the feeds.
Diffstat (limited to 'example-site/reIndex.md')
| -rw-r--r-- | example-site/reIndex.md | 22 |
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}} +``` + |
