diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2021-03-06 22:50:58 -0800 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2021-03-06 22:50:58 -0800 |
commit | ba07da6b1011e77c9ed42e8643e62b903c6c6d7b (patch) | |
tree | 6311707cb628e64a2787b680a9a4d517505faa51 /public/assets/additionnal-page.yml.dist | |
parent | 00b46a6ddebcbbe581f201bd4089c38f6d666fb9 (diff) | |
download | homer-ba07da6b1011e77c9ed42e8643e62b903c6c6d7b.tar.gz homer-ba07da6b1011e77c9ed42e8643e62b903c6c6d7b.tar.zst homer-ba07da6b1011e77c9ed42e8643e62b903c6c6d7b.zip |
Avoid full reload when swithcing page.
Diffstat (limited to 'public/assets/additionnal-page.yml.dist')
-rw-r--r-- | public/assets/additionnal-page.yml.dist | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/public/assets/additionnal-page.yml.dist b/public/assets/additionnal-page.yml.dist new file mode 100644 index 0000000..f918dc1 --- /dev/null +++ b/public/assets/additionnal-page.yml.dist | |||
@@ -0,0 +1,35 @@ | |||
1 | --- | ||
2 | # Additionnal page configuration | ||
3 | |||
4 | # Additionnal configurations are loaded using its file name, minus the extension, as an anchor (https://<mydashboad>#<config>). | ||
5 | # `config.yml` is still used as a base configuration, and all values here will overwrite it, so you don't have to re-defined everything | ||
6 | |||
7 | |||
8 | subtitle: "this is another dashboard page" | ||
9 | |||
10 | # This overwrites message config. Setting it to empty to remove message from this page and keep it only in the main one: | ||
11 | message: ~ | ||
12 | |||
13 | # as we want to include a differente link here (so we can get back to home page), we need to replicate all links or they will be revome when overwriting the links field: | ||
14 | links: | ||
15 | - name: "Home" | ||
16 | icon: "fas fa-home" | ||
17 | url: "#" | ||
18 | - name: "Contribute" | ||
19 | icon: "fab fa-github" | ||
20 | url: "https://github.com/bastienwirtz/homer" | ||
21 | target: "_blank" # optional html a tag target attribute | ||
22 | - name: "Wiki" | ||
23 | icon: "fas fa-book" | ||
24 | url: "https://www.wikipedia.org/" | ||
25 | |||
26 | services: | ||
27 | - name: "More applications on another page!" | ||
28 | icon: "fas fa-cloud" | ||
29 | items: | ||
30 | - name: "Awesome app on a second page!" | ||
31 | logo: "assets/tools/sample.png" | ||
32 | subtitle: "Bookmark example" | ||
33 | tag: "app" | ||
34 | url: "https://www.reddit.com/r/selfhosted/" | ||
35 | target: "_blank" | ||