swiftfire-jekyll-theme 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +23 -0
- data/README.md +107 -0
- data/_data/cblocks.yml +31 -0
- data/_data/setup.yml +135 -0
- data/_data/text-for.yml +53 -0
- data/_includes/account-menus.html +82 -0
- data/_includes/banner-area.html +57 -0
- data/_includes/banner-icon.html +23 -0
- data/_includes/banner-title-area.html +30 -0
- data/_includes/cblock-row.html +18 -0
- data/_includes/cblock.html +20 -0
- data/_includes/disqus-comments.html +39 -0
- data/_includes/footer.html +16 -0
- data/_includes/google-analytics.html +21 -0
- data/_includes/head.html +74 -0
- data/_includes/menubar-icon.html +23 -0
- data/_includes/menubar.html +487 -0
- data/_includes/secondary-column.html +37 -0
- data/_includes/tertiary-column.html +8 -0
- data/_includes/vertical-menu.html +378 -0
- data/_includes/widgets/browser-info.html +16 -0
- data/_includes/widgets/categories.html +32 -0
- data/_includes/widgets/cookie-consent.html +21 -0
- data/_includes/widgets/older-posts.html +71 -0
- data/_includes/widgets/recent-posts.html +24 -0
- data/_includes/widgets/social-media-res/icon-github.html +7 -0
- data/_includes/widgets/social-media-res/icon-github.svg +1 -0
- data/_includes/widgets/social-media-res/icon-twitter.html +7 -0
- data/_includes/widgets/social-media-res/icon-twitter.svg +1 -0
- data/_includes/widgets/social-media.html +29 -0
- data/_includes/widgets/subscribe.html +18 -0
- data/_includes/widgets/youtube-player.html +38 -0
- data/_layouts/banner-layout.html +1 -0
- data/_layouts/category-page.html +51 -0
- data/_layouts/content-blocks.html +6 -0
- data/_layouts/default.html +152 -0
- data/_layouts/home.html +22 -0
- data/_layouts/page.html +30 -0
- data/_layouts/post.html +20 -0
- data/_sass/classic-jekyll-theme.scss +1178 -0
- data/_sass/classic/_banner-area.scss +552 -0
- data/_sass/classic/_body.scss +15 -0
- data/_sass/classic/_columns.scss +122 -0
- data/_sass/classic/_custom.scss +138 -0
- data/_sass/classic/_footer.scss +31 -0
- data/_sass/classic/_menubar.scss +530 -0
- data/_sass/classic/_normalize-override.scss +22 -0
- data/_sass/classic/_normalize.scss +447 -0
- data/_sass/classic/_page.scss +12 -0
- data/_sass/classic/_post.scss +10 -0
- data/_sass/classic/_swiftfire.scss +54 -0
- data/_sass/classic/_syntax-highlighting.scss +71 -0
- data/_sass/classic/_theme-internal.scss +37 -0
- data/_sass/classic/_theme-library.scss +85 -0
- data/_sass/classic/_vertical-menu.scss +252 -0
- data/_sass/classic/_widgets.scss +88 -0
- data/assets/img/banner-area-layout.png +0 -0
- data/assets/img/cog-wheels-120x68.png +0 -0
- data/assets/img/cog-wheels-240x135.png +0 -0
- data/assets/img/cog-wheels-30x17.png +0 -0
- data/assets/img/cog-wheels-60x43.png +0 -0
- data/assets/img/column-panel-layout.png +0 -0
- data/assets/img/test-pattern-110x83.png +0 -0
- data/assets/img/test-pattern-1280x800.png +0 -0
- data/assets/img/test-pattern-220x165.png +0 -0
- data/assets/img/test-pattern-55x42.png +0 -0
- data/assets/img/test-pattern-640x400.png +0 -0
- data/assets/img/top-level-layout.png +0 -0
- data/assets/js/cookieconsent.min.js +1 -0
- data/assets/main.scss +9 -0
- data/assets/templates/comment-section.sf.html +137 -0
- data/assets/templates/email-verification-text.sf.html +6 -0
- data/assets/templates/request-new-password-text.sf.txt +7 -0
- data/icons/android-chrome-192x192.png +0 -0
- data/icons/apple-touch-icon.png +0 -0
- data/icons/browserconfig.xml +9 -0
- data/icons/favicon-16x16.png +0 -0
- data/icons/favicon-32x32.png +0 -0
- data/icons/favicon.ico +0 -0
- data/icons/manifest.json +13 -0
- data/icons/mstile-150x150.png +0 -0
- data/icons/safari-pinned-tab.svg +14 -0
- data/pages/about/about.md +15 -0
- data/pages/account/comment-edit.sf.md +60 -0
- data/pages/account/comment-review.sf.md +80 -0
- data/pages/account/email-verification-failed.sf.md +11 -0
- data/pages/account/email-verification-success.sf.md +7 -0
- data/pages/account/error.sf.md +13 -0
- data/pages/account/forgot-password-continue.sf.md +9 -0
- data/pages/account/forgot-password.sf.md +25 -0
- data/pages/account/login.sf.md +19 -0
- data/pages/account/not-allowed.sf.md +7 -0
- data/pages/account/register-continue.sf.md +11 -0
- data/pages/account/register.sf.md +30 -0
- data/pages/account/request-new-password-failed.sf.md +13 -0
- data/pages/account/set-new-password-success.sf.md +7 -0
- data/pages/account/set-new-password.sf.md +25 -0
- data/pages/categories/classic.md +10 -0
- data/pages/categories/example.md +10 -0
- data/pages/categories/jekyll.md +10 -0
- data/pages/categories/update.md +10 -0
- data/pages/classic/01-features.md +36 -0
- data/pages/classic/02-setup.md +113 -0
- data/pages/classic/03-pages-and-posts.md +25 -0
- data/pages/classic/04-posts.md +18 -0
- data/pages/classic/05-menus.md +118 -0
- data/pages/classic/06-categories.md +38 -0
- data/pages/classic/07-terminology.md +35 -0
- data/pages/classic/08-versioning.md +23 -0
- data/pages/classic/09-problems.md +25 -0
- data/pages/contact/contact.md +18 -0
- data/pages/cookie-consent/cookie-consent.md +7 -0
- data/pages/download/download.md +10 -0
- data/pages/jekyll/01-jekyll.md +42 -0
- data/pages/jekyll/02-speed.md +88 -0
- data/pages/jekyll/03-ruby.md +19 -0
- data/pages/jekyll/04-cron-job.md +163 -0
- data/pages/layouts/banner-main.md +36 -0
- data/pages/layouts/blocks.md +11 -0
- data/pages/layouts/landing-page.md +21 -0
- data/pages/layouts/no-sec-no-ter.md +28 -0
- data/pages/layouts/sec-left-no-ter.md +28 -0
- data/pages/layouts/sec-left-ter-right.md +28 -0
- data/pages/layouts/sec-right-no-ter.md +28 -0
- data/pages/layouts/sec-right-ter-left.md +28 -0
- data/pages/menus/external-url.md +28 -0
- data/pages/menus/landing-page.md +8 -0
- data/pages/menus/submenu-subsections.md +72 -0
- data/pages/menus/submenu1.md +22 -0
- data/pages/menus/submenu2.md +21 -0
- data/pages/menus/submenu3.md +47 -0
- data/pages/menus/submenu4.md +36 -0
- data/pages/menus/subsubmenu3-1.md +21 -0
- data/pages/menus/subsubmenu3-2.md +21 -0
- data/pages/menus/subsubmenu4-1.md +31 -0
- data/pages/menus/subsubmenu4-2.md +31 -0
- metadata +269 -0
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: Banner on main only
|
4
|
+
date: 2017-12-17
|
5
|
+
menuInclude: yes
|
6
|
+
menuTopTitle: Layout
|
7
|
+
menuSubs:
|
8
|
+
- title: Banner on main only
|
9
|
+
index: 1
|
10
|
+
banner-position: main
|
11
|
+
secondary-column: left
|
12
|
+
tertiary-column: none
|
13
|
+
excerpt: The banner is placed above the main column only
|
14
|
+
---
|
15
|
+
The banner only appears above the main page. To create more space for the banner, the secondary column has been fixed to the left and the tertiary column has been disabled.
|
16
|
+
|
17
|
+
If the screen is too small, the title will be displayed over the icon.
|
18
|
+
|
19
|
+
Also note that there is less space available in the menubar this way, which could lead to overflow into the secondary column and disappearing on the right. In this mode, it is usually best to use "flex-start' for the theme properties "menubar-justify-content-medium/widest".
|
20
|
+
|
21
|
+
This illustrates the importance of choosing a proper column width in conjunction with the necessary menubar area.
|
22
|
+
|
23
|
+
The relevant YAML frontmatter for this page is:
|
24
|
+
|
25
|
+
---
|
26
|
+
layout: page
|
27
|
+
title: Banner on main only
|
28
|
+
menuInclude: yes
|
29
|
+
menuTopTitle: Layout
|
30
|
+
menuSubs:
|
31
|
+
- title: Banner on main only
|
32
|
+
index: 1
|
33
|
+
banner-position: main
|
34
|
+
secondary-column: left
|
35
|
+
tertiary-column: none
|
36
|
+
---
|
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
layout: content-blocks
|
3
|
+
title: Content blocks
|
4
|
+
date: 2017-01-23
|
5
|
+
menuInclude: yes
|
6
|
+
menuTopTitle: Layout
|
7
|
+
menuSubs:
|
8
|
+
- title: Content blocks
|
9
|
+
index: 2
|
10
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
11
|
+
---
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: Landing Page
|
4
|
+
menuInclude: yes
|
5
|
+
menuLink: yes
|
6
|
+
menuTopTitle: Layout
|
7
|
+
menuTopIndex: 3
|
8
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
9
|
+
---
|
10
|
+
Select one of the sub topics.
|
11
|
+
|
12
|
+
The relevant YAML frontmatter for this page is:
|
13
|
+
|
14
|
+
---
|
15
|
+
layout: page
|
16
|
+
title: Landing Page
|
17
|
+
menuInclude: yes
|
18
|
+
menuLink: yes
|
19
|
+
menuTopTitle: Layout
|
20
|
+
menuTopIndex: 3
|
21
|
+
---
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: No secondary or tertiary column
|
4
|
+
date: 2017-12-17
|
5
|
+
menuInclude: yes
|
6
|
+
menuTopTitle: Layout
|
7
|
+
menuSubs:
|
8
|
+
- title: No secondary, no tertiary
|
9
|
+
index: 3
|
10
|
+
secondary-column: none
|
11
|
+
tertiary-column: none
|
12
|
+
excerpt: No secondary or tertiary column
|
13
|
+
---
|
14
|
+
This page overrides the secondary and tertiary column settings by disabling them both.
|
15
|
+
|
16
|
+
The relevant YAML frontmatter for this page is:
|
17
|
+
|
18
|
+
---
|
19
|
+
layout: page
|
20
|
+
title: No secondary or tertiary column
|
21
|
+
menuInclude: yes
|
22
|
+
menuTopTitle: Layout
|
23
|
+
menuSubs:
|
24
|
+
- title: No secondary, no tertiary
|
25
|
+
index: 3
|
26
|
+
secondary-column: none
|
27
|
+
tertiary-column: none
|
28
|
+
---
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: Left secondary no tertiary column
|
4
|
+
date: 2017-12-17
|
5
|
+
menuInclude: yes
|
6
|
+
menuTopTitle: Layout
|
7
|
+
menuSubs:
|
8
|
+
- title: Left secondary, no tertiary
|
9
|
+
index: 4
|
10
|
+
secondary-column: left
|
11
|
+
tertiary-column: none
|
12
|
+
excerpt: Left secondary no tertiary column
|
13
|
+
---
|
14
|
+
This page overrides the secondary and tertiary column settings by disabling the tertiary column and placing the secondary on the left.
|
15
|
+
|
16
|
+
The relevant YAML frontmatter for this page is:
|
17
|
+
|
18
|
+
---
|
19
|
+
layout: page
|
20
|
+
title: Left secondary no tertiary column
|
21
|
+
menuInclude: yes
|
22
|
+
menuTopTitle: Layout
|
23
|
+
menuSubs:
|
24
|
+
- title: Left secondary, no tertiary
|
25
|
+
index: 4
|
26
|
+
secondary-column: left
|
27
|
+
tertiary-column: none
|
28
|
+
---
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: Right secondary left tertiary column
|
4
|
+
date: 2017-12-17
|
5
|
+
menuInclude: yes
|
6
|
+
menuTopTitle: Layout
|
7
|
+
menuSubs:
|
8
|
+
- title: Right secondary, left tertiary
|
9
|
+
index: 6
|
10
|
+
secondary-column: right
|
11
|
+
tertiary-column: present
|
12
|
+
excerpt: Right secondary left tertiary column
|
13
|
+
---
|
14
|
+
This page overrides the secondary and tertiary column settings by placing the secondary on the right and the tertiary column on the left.
|
15
|
+
|
16
|
+
The relevant YAML frontmatter for this page is:
|
17
|
+
|
18
|
+
---
|
19
|
+
layout: page
|
20
|
+
title: Right secondary left tertiary column
|
21
|
+
menuInclude: yes
|
22
|
+
menuTopTitle: Layout
|
23
|
+
menuSubs:
|
24
|
+
- title: Right secondary, left tertiary
|
25
|
+
index: 6
|
26
|
+
secondary-column: right
|
27
|
+
tertiary-column: present
|
28
|
+
---
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: Right secondary no tertiary column
|
4
|
+
date: 2017-12-17
|
5
|
+
menuInclude: yes
|
6
|
+
menuTopTitle: Layout
|
7
|
+
menuSubs:
|
8
|
+
- title: Right secondary, no tertiary
|
9
|
+
index: 5
|
10
|
+
secondary-column: right
|
11
|
+
tertiary-column: none
|
12
|
+
excerpt: Right secondary no tertiary column
|
13
|
+
---
|
14
|
+
This page overrides the secondary and tertiary column settings by placing the secondary on the right and disabling the tertiary column.
|
15
|
+
|
16
|
+
The relevant YAML frontmatter for this page is:
|
17
|
+
|
18
|
+
---
|
19
|
+
layout: page
|
20
|
+
title: Right secondary no tertiary column
|
21
|
+
menuInclude: yes
|
22
|
+
menuTopTitle: Layout
|
23
|
+
menuSubs:
|
24
|
+
- title: Right secondary, no tertiary
|
25
|
+
index: 5
|
26
|
+
secondary-column: right
|
27
|
+
tertiary-column: none
|
28
|
+
---
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: Left secondary right tertiary column
|
4
|
+
date: 2017-12-17
|
5
|
+
menuInclude: yes
|
6
|
+
menuTopTitle: Layout
|
7
|
+
menuSubs:
|
8
|
+
- title: Left secondary, right tertiary
|
9
|
+
index: 7
|
10
|
+
secondary-column: left
|
11
|
+
tertiary-column: present
|
12
|
+
excerpt: Left secondary right tertiary column
|
13
|
+
---
|
14
|
+
This page overrides the secondary and tertiary column settings by placing the secondary on the left and the tertiary column on the right.
|
15
|
+
|
16
|
+
The relevant YAML frontmatter for this page is:
|
17
|
+
|
18
|
+
---
|
19
|
+
layout: page
|
20
|
+
title: Left secondary right tertiary column
|
21
|
+
menuInclude: yes
|
22
|
+
menuTopTitle: Layout
|
23
|
+
menuSubs:
|
24
|
+
- title: Left secondary, right tertiary
|
25
|
+
index: 7
|
26
|
+
secondary-column: left
|
27
|
+
tertiary-column: present
|
28
|
+
---
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
menuInclude: yes
|
4
|
+
menuLink: yes
|
5
|
+
menuTopTitle: Menus
|
6
|
+
menuSubs:
|
7
|
+
- title: External link
|
8
|
+
index: 5
|
9
|
+
sub:
|
10
|
+
- title: Balancingrock
|
11
|
+
url: http://www.balancingrock.nl/picture.html
|
12
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
13
|
+
---
|
14
|
+
### External Link
|
15
|
+
|
16
|
+
Menu's can also link to external pages. Just prepend the URL with the proper domain like below. To test this, select the sub-sub menu `Balancingrock` from this entry.
|
17
|
+
|
18
|
+
---
|
19
|
+
layout: page
|
20
|
+
menuInclude: yes
|
21
|
+
menuTopTitle: Menus
|
22
|
+
menuSubs:
|
23
|
+
- title: External link
|
24
|
+
index: 5
|
25
|
+
sub:
|
26
|
+
- title: Balancingrock
|
27
|
+
url: http://www.balancingrock.nl/picture.html
|
28
|
+
---
|
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
menuInclude: yes
|
4
|
+
menuLink: yes
|
5
|
+
menuTopTitle: Menus
|
6
|
+
menuSubs:
|
7
|
+
- title: Anchor example
|
8
|
+
index: 10
|
9
|
+
link: no
|
10
|
+
sub:
|
11
|
+
- title: Important
|
12
|
+
anchorId: top
|
13
|
+
- title: One
|
14
|
+
anchorId: one
|
15
|
+
- title: Two
|
16
|
+
anchorId: two
|
17
|
+
- title: Three
|
18
|
+
anchorId: three
|
19
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
20
|
+
---
|
21
|
+
{:.anchor}
|
22
|
+
#### Important {#top}
|
23
|
+
|
24
|
+
When using the banner position "top-fixed" (see `_data/_setup.yml`) be sure to set an appropriate value for the $anchor-top-fixed-offset-xxxxx properties in the classic-jekyll-theme.scss file. This will prevent the anchored item from appearing behind the banner area.
|
25
|
+
|
26
|
+
Beware that the $anchor-top-fixed-offset-xxxxx should be set to zero when the banner position is NOT set to "top-fixed".
|
27
|
+
|
28
|
+
The way to use anchors in markdown is as follows:
|
29
|
+
|
30
|
+
---
|
31
|
+
layout: page
|
32
|
+
menuInclude: yes
|
33
|
+
menuTopTitle: Menus
|
34
|
+
menuSubs:
|
35
|
+
- title: Anchor example
|
36
|
+
index: 10
|
37
|
+
link: no
|
38
|
+
sub:
|
39
|
+
- title: Important
|
40
|
+
anchorId: top
|
41
|
+
- title: One
|
42
|
+
anchorId: one
|
43
|
+
- title: Two
|
44
|
+
anchorId: two
|
45
|
+
- title: Three
|
46
|
+
anchorId: three
|
47
|
+
---
|
48
|
+
{:.anchor}
|
49
|
+
#### Important {#top}
|
50
|
+
|
51
|
+
... lot of text
|
52
|
+
|
53
|
+
{:.anchor}
|
54
|
+
#### Two {#two}
|
55
|
+
|
56
|
+
... more text (etc)
|
57
|
+
|
58
|
+
|
59
|
+
{:.anchor}
|
60
|
+
#### One {#one}
|
61
|
+
|
62
|
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui.
|
63
|
+
|
64
|
+
{:.anchor}
|
65
|
+
#### Two {#two}
|
66
|
+
|
67
|
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui.
|
68
|
+
|
69
|
+
{:.anchor}
|
70
|
+
#### Three {#three}
|
71
|
+
|
72
|
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui.
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
menuInclude: yes
|
4
|
+
menuLink: yes
|
5
|
+
menuTopTitle: Menus
|
6
|
+
menuSubs:
|
7
|
+
- title: Sub Item 1
|
8
|
+
index: 1
|
9
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
10
|
+
---
|
11
|
+
### Sub menu 1
|
12
|
+
|
13
|
+
The relevant YAML frontmatter for this page is:
|
14
|
+
|
15
|
+
---
|
16
|
+
layout: page
|
17
|
+
menuInclude: yes
|
18
|
+
menuTopTitle: Menus
|
19
|
+
menuSubs:
|
20
|
+
- title: Sub Item 1
|
21
|
+
index: 1
|
22
|
+
---
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
menuInclude: yes
|
4
|
+
menuTopTitle: Menus
|
5
|
+
menuSubs:
|
6
|
+
- title: Sub Item 2
|
7
|
+
index: 2
|
8
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
9
|
+
---
|
10
|
+
### Sub menu 2
|
11
|
+
|
12
|
+
The relevant YAML frontmatter for this page is:
|
13
|
+
|
14
|
+
---
|
15
|
+
layout: page
|
16
|
+
menuInclude: yes
|
17
|
+
menuTopTitle: Menus
|
18
|
+
menuSubs:
|
19
|
+
- title: Sub Item 2
|
20
|
+
index: 2
|
21
|
+
---
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
menuInclude: yes
|
4
|
+
menuLink: yes
|
5
|
+
menuTopTitle: Menus
|
6
|
+
menuSubs:
|
7
|
+
- title: Centralized
|
8
|
+
index: 3
|
9
|
+
sub:
|
10
|
+
- title: Centralized - Subsub item 1
|
11
|
+
index: 1
|
12
|
+
url: /pages/menus/subsubmenu3-1.html
|
13
|
+
- title: Centralized - Subsub item 2
|
14
|
+
index: 2
|
15
|
+
url: /pages/menus/subsubmenu3-2.html
|
16
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
17
|
+
---
|
18
|
+
### Centralized
|
19
|
+
|
20
|
+
One way to create a subsub-menu structure is 'all in one place'. This file specifies the menu for all items below the section `Centralized`
|
21
|
+
|
22
|
+
#### Advantage
|
23
|
+
|
24
|
+
The subsub items of this sub-item do not need a menuSubs entry in their YAML frontmatter.
|
25
|
+
|
26
|
+
#### Disadvantage
|
27
|
+
|
28
|
+
The URL of the target must be specified
|
29
|
+
|
30
|
+
### YAML
|
31
|
+
|
32
|
+
The relevant YAML frontmatter for this page is:
|
33
|
+
|
34
|
+
---
|
35
|
+
layout: page
|
36
|
+
menuInclude: yes
|
37
|
+
menuTopTitle: Menus
|
38
|
+
menuSubs:
|
39
|
+
- title: Centralized
|
40
|
+
index: 3
|
41
|
+
sub:
|
42
|
+
- title: Centralized - item 1
|
43
|
+
url: /pages/menus/subsubmenu3-1.html
|
44
|
+
- title: Centralized - item 2
|
45
|
+
url: /pages/menus/subsubmenu3-2.html
|
46
|
+
---
|
47
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
menuInclude: yes
|
4
|
+
menuLink: yes
|
5
|
+
menuTopTitle: Menus
|
6
|
+
menuSubs:
|
7
|
+
- title: Decentralized
|
8
|
+
index: 4
|
9
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
10
|
+
---
|
11
|
+
### Decentralized
|
12
|
+
|
13
|
+
This example creates subsub menu structure by putting all menu creation information for each file in that same file.
|
14
|
+
|
15
|
+
#### Advantage
|
16
|
+
|
17
|
+
The subsub menu items do not need to specify a URL.
|
18
|
+
The information is localized which makes it easier to find the place where to make a change.
|
19
|
+
|
20
|
+
#### Disadvantage
|
21
|
+
|
22
|
+
Multiple files may need to be edited when the menu structure must be changed.
|
23
|
+
|
24
|
+
### YAML
|
25
|
+
|
26
|
+
The relevant YAML frontmatter for this page is:
|
27
|
+
|
28
|
+
---
|
29
|
+
layout: page
|
30
|
+
menuInclude: yes
|
31
|
+
menuTopTitle: Menus
|
32
|
+
menuSubs:
|
33
|
+
- title: Decentralized
|
34
|
+
index: 4
|
35
|
+
---
|
36
|
+
|