classic-jekyll-theme 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -2
- data/pages/classic/pages.md +7 -9
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41114d0a29538abb64ed6490550ddb01d5f2163e
|
4
|
+
data.tar.gz: e8a887b453241cd310b388a2cba49e7e612dacb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fcab3285a74d4a3f175ea4a1be3259272787179e3f8a064f139d1856ac3c88d287c3411d05df5cf158785f673baa9191235b3d7e2f1cd392503ff4580d863b8
|
7
|
+
data.tar.gz: a9d1c1e93658f7d1179761620efd1ca2e4b42a6becd9eed02773d335f7f92a3f81e98c45b34f1b0a0ee4911415725175aec355baf2b4192b388c1ce39f3c4d53
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Classic-Jekyll-Theme v1.0.
|
1
|
+
# Classic-Jekyll-Theme v1.0.1
|
2
2
|
|
3
3
|
Welcome to Classic-Jekyll-Theme. This theme centers around one of the most used website structures on the web. A banner, navigation menu, (up to) three columns and a footer. The design is fully responsive for three different screen widths: wide, medium and narrow. It is probably best shown in an example:
|
4
4
|
|
@@ -56,7 +56,7 @@ Delete the file `about.md`:
|
|
56
56
|
|
57
57
|
$ rm about.md
|
58
58
|
|
59
|
-
|
59
|
+
It is possible to start the jekyll server now:
|
60
60
|
|
61
61
|
$ jekyll serve
|
62
62
|
|
@@ -163,6 +163,7 @@ To create a page that must be included in the menu bar, add the following front
|
|
163
163
|
- menuLink: Set to 'no' to disable a link creation from the navigation bar to this page. However the menu title or subtitle will be included. This allows the ordering of menu items that do not have an associated page. The default behaviour assumes 'yes'. So not including this tag will create a link. Note: This allows ordering of top level menu items. For submenu items this probably only makes sense if some kind of "divider" must be shown. Otherwise showing a submenu item without a link will probably confuse users.
|
164
164
|
- menuTopTitle: The title of the menu item in the navigation bar. When used in conjunction with a menuSubTitle, this will be the title of the menu item to which this submenu item will be added in the drop down menu.
|
165
165
|
- menuTopIndex: The place of the title within the menu bar. Lower numbers will be to the left of higher numbers. Be aware that the "Home" menu item will always be first and the "Categories" will always be last.
|
166
|
+
- menuSubTitle: The title of the submenu item in the drop down menu.
|
166
167
|
- menuSubIndex: The place of the submenu item within the dropdown menu. Lower numbers will go above higher numbers. This theme only sorts on menuIndex numbers, not on other properties.
|
167
168
|
|
168
169
|
For a consistent user experience in the narrow layout, it is recommened not to link pages to top level menu items if these menu items have a drop-down submenu.
|
@@ -171,6 +172,7 @@ For a consistent user experience in the narrow layout, it is recommened not to l
|
|
171
172
|
|
172
173
|
0.2.6 Inital version (before this I was only getting acquainted with the gem-publishing mechanism)
|
173
174
|
1.0.0 Fixed a problem with navigation menu generation. (Insufficient control over menu item placement)
|
175
|
+
1.0.1 Fixed some info in this readme file and in the example pages.
|
174
176
|
|
175
177
|
## Upgrade information
|
176
178
|
|
@@ -207,6 +209,10 @@ Specifies the menu item from which this is a submenu item.<br><br>
|
|
207
209
|
|
208
210
|
The index for a menu item. If not present, the menu ordering is undetermined. If only a part of the pages have this item then the menu items of the pages that do not have this item specified will be included first. If multiple specifications exist, then the highest number overrides the lower numbers. Like before, a lower number goes to the left -or on top- of the higher number.
|
209
211
|
|
212
|
+
### from 1.0.0 to 1.0.1
|
213
|
+
|
214
|
+
No changes needed.
|
215
|
+
|
210
216
|
## Known problems (need your help)
|
211
217
|
|
212
218
|
There is some odd behaviour in the navigation bar that I have not been able to nail down yet. It has to do with the space between top level menu items. There is some additional space that I am not able to trace down. For those who like a puzzle: there is some space around a ".navbanner-menu ul li" that has no obvious source. Please let me know if you happen to find where it comes from. (rien@balancingrock.nl)
|
data/pages/classic/pages.md
CHANGED
@@ -12,15 +12,13 @@ description: A description can be up to 156 characters long...
|
|
12
12
|
|
13
13
|
Pages in classic can be linked to from the navigation menu. To do so there are some additional YAML tags that help building the navigation menu.
|
14
14
|
|
15
|
-
-
|
16
|
-
-
|
17
|
-
-
|
18
|
-
-
|
15
|
+
- menuInclude: Set to "yes" to consider this page for a navigation bar menu item.
|
16
|
+
- menuLink: Set to 'no' to disable a link creation from the navigation bar to this page. However the menu title or subtitle will be included. This allows the ordering of menu items that do not have an associated page. The default behaviour assumes 'yes'. So not including this tag will create a link. Note: This allows ordering of top level menu items. For submenu items this probably only makes sense if some kind of "divider" must be shown. Otherwise showing a submenu item without a link will probably confuse users.
|
17
|
+
- menuTopTitle: The title of the menu item in the navigation bar. When used in conjunction with a menuSubTitle, this will be the title of the menu item to which this submenu item will be added in the drop down menu.
|
18
|
+
- menuTopIndex: The place of the title within the menu bar. Lower numbers will be to the left of higher numbers. Be aware that the "Home" menu item will always be first and the "Categories" will always be last.
|
19
|
+
- menuSubTitle: The title of the submenu item in the drop down menu.
|
20
|
+
- menuSubIndex: The place of the submenu item within the dropdown menu. Lower numbers will go above higher numbers. This theme only sorts on menuIndex numbers, not on other properties.
|
19
21
|
|
20
|
-
|
21
|
-
|
22
|
-
1. A menu without submenu's. This is a direct link to a page. There will be no dropdown of submenu's. To create a navigation item without submenu's leave the `subMenuFrom` tag empty. See for example the "contact" menu item above.
|
23
|
-
2. A menu with submenu items but without a link from the menu item to a page. This happens if a page is included with a `subMenuFrom` tag value present, but where there is no page with a `menuTitle` of the same value. An example is the "Other" menu item above.
|
24
|
-
3. A menu item that links to a page and has submenu items that link to other pages. This happens when there are at least two pages, with one page containing the `menuTitle` value of the `subMenuFrom` value from the other. While this works fine it should be warned against from a user's perspective. When the website is seen in the 'narrow' layout the tap of a menu item will have different results for a menu with subitems as compared to a menu without subitems. This could be confusing towards new visitors.
|
22
|
+
For a consistent user experience in the narrow layout, it is recommened not to link pages to top level menu items if these menu items have a drop-down submenu.
|
25
23
|
|
26
24
|
Submenu's only go one level deep. If deeper nesting is necessary, send me a mail at: rien@balancingrock.nl
|