aboutsummaryrefslogtreecommitdiff
path: root/example-site/tpl
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-01-07 13:31:23 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-01-07 13:31:23 -0500
commitca33a035c779ae14fb6330c8801c75f49dd1bb79 (patch)
treedeaabaf15d6d91079a68f247e46070399e4343ee /example-site/tpl
parent97dd660925434be537cd9a49a1d0c893b223e357 (diff)
downloadgo-website-0.0.22.tar.gz
go-website-0.0.22.tar.xz
Add an internal caching option. It performs quite well.v0.0.22
Also refactor and clean up most linter warnings.
Diffstat (limited to 'example-site/tpl')
-rw-r--r--example-site/tpl/dashboard.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/example-site/tpl/dashboard.md b/example-site/tpl/dashboard.md
index 9b90445..4b18b98 100644
--- a/example-site/tpl/dashboard.md
+++ b/example-site/tpl/dashboard.md
@@ -44,6 +44,14 @@ Pages by tags:
{{end}}
+It can also be a good idea to clear the cache on the dashboard page:
+
+```
+{{.Global.App.ClearCache}}
+```
+
+The element can be hidden, if you'd like.
+
<script>
/*
window.addEventListener('load', (event) => {
@@ -51,3 +59,4 @@ window.addEventListener('load', (event) => {
});
*/
</script>
+