aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/assets/page2.yml
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2021-03-06 22:50:58 -0800
committerBastien Wirtz <bastien.wirtz@gmail.com>2021-03-06 22:50:58 -0800
commitba07da6b1011e77c9ed42e8643e62b903c6c6d7b (patch)
tree6311707cb628e64a2787b680a9a4d517505faa51 /public/assets/page2.yml
parent00b46a6ddebcbbe581f201bd4089c38f6d666fb9 (diff)
downloadhomer-ba07da6b1011e77c9ed42e8643e62b903c6c6d7b.tar.gz
homer-ba07da6b1011e77c9ed42e8643e62b903c6c6d7b.tar.zst
homer-ba07da6b1011e77c9ed42e8643e62b903c6c6d7b.zip
Avoid full reload when swithcing page.
Diffstat (limited to 'public/assets/page2.yml')
-rw-r--r--public/assets/page2.yml34
1 files changed, 0 insertions, 34 deletions
diff --git a/public/assets/page2.yml b/public/assets/page2.yml
deleted file mode 100644
index 00001e9..0000000
--- a/public/assets/page2.yml
+++ /dev/null
@@ -1,34 +0,0 @@
1# this config is used by a page linked in the navbar
2# this pages will use the same configuration from config.yml, but will overwrite fields present here
3
4# this overwrites title and subtitle:
5title: "Page2"
6subtitle: "this is the second page"
7
8# this overwrites message config. Setting it to empty to remove message from this page and keep it only in the main one:
9message:
10
11# 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:
12links:
13 - name: "Home"
14 icon: "fas fa-home"
15 url: "/"
16 - name: "Contribute"
17 icon: "fab fa-github"
18 url: "https://github.com/bastienwirtz/homer"
19 target: "_blank" # optional html a tag target attribute
20 - name: "Wiki"
21 icon: "fas fa-book"
22 url: "https://www.wikipedia.org/"
23
24# we keep the first group from the main page, but remove the second group. We need to replicate that first group or it will be removed:
25services:
26 - name: "NEW"
27 icon: "fas fa-cloud"
28 items:
29 - name: "Awesome app on a second page!"
30 logo: "assets/tools/sample.png"
31 subtitle: "Bookmark example"
32 tag: "app"
33 url: "https://www.reddit.com/r/selfhosted/"
34 target: "_blank"