aboutsummaryrefslogtreecommitdiff
path: root/example-site/tpl/dashboard.md
diff options
context:
space:
mode:
Diffstat (limited to 'example-site/tpl/dashboard.md')
-rw-r--r--example-site/tpl/dashboard.md62
1 files changed, 0 insertions, 62 deletions
diff --git a/example-site/tpl/dashboard.md b/example-site/tpl/dashboard.md
deleted file mode 100644
index 4b18b98..0000000
--- a/example-site/tpl/dashboard.md
+++ /dev/null
@@ -1,62 +0,0 @@
----
-title: Website Dashboard
-description: Website dashboard
-|---
-
-# Dashboard page ( File: `tpl/dashboard.md` )
-
-Almost every page on the website can be edited by simply adding `edit/` before
-the path, for instance if we want to edit our `/reIndex` page, we simply go to
-`/edit/reIndex`
-
-There are a few pages where this is not possible, such as with the dashboard and
-other templated pages like 404's and 5xx's. That being said, you can still edit
-them by referencing their path on disk.
-
-You can create new pages that way too, the new page template is
-`tpl/new-template.md` if you wish to change what the defaults are.
-
-You'll also notice there's an `edit` button in the navbar, that's a little bit
-of Javascript trickery that you'll have to edit if you wish to change the
-template directory from `tpl` to anything else.
-
-Some useful edit links:
-
- * 4xx page [visit](/some/path/that/does/not/exist) [edit](/edit/tpl/4xx)
- * 5xx page [visit](/tpl/5xx) [edit](/edit/tpl/5xx)
- * New page template [visit](/tpl/new-template) [edit](/edit/tpl/new-template)
- * Edit page [visit](/tpl/edit) [edit](/edit/tpl/edit)
- * Login page [visit](/login) [edit](/edit/login)
- * Base template [edit](/edit/tpl/base)
-
-A note about the base template page, editing works, but viewing does not.
-
-Pages by tags:
-
-{{range $key, $val := .Index}}
-### {{$key}}:
-
-{{range $v2 := $val}}
- * {{$v2.Path}} [visit](/{{$v2.Path}}) [edit](/edit/{{$v2.Path}}){{end}}
-
-
-
-{{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) => {
- document.querySelector("#edit").remove();
-});
-*/
-</script>
-