swiftfire-jekyll-theme 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +23 -0
  3. data/README.md +107 -0
  4. data/_data/cblocks.yml +31 -0
  5. data/_data/setup.yml +135 -0
  6. data/_data/text-for.yml +53 -0
  7. data/_includes/account-menus.html +82 -0
  8. data/_includes/banner-area.html +57 -0
  9. data/_includes/banner-icon.html +23 -0
  10. data/_includes/banner-title-area.html +30 -0
  11. data/_includes/cblock-row.html +18 -0
  12. data/_includes/cblock.html +20 -0
  13. data/_includes/disqus-comments.html +39 -0
  14. data/_includes/footer.html +16 -0
  15. data/_includes/google-analytics.html +21 -0
  16. data/_includes/head.html +74 -0
  17. data/_includes/menubar-icon.html +23 -0
  18. data/_includes/menubar.html +487 -0
  19. data/_includes/secondary-column.html +37 -0
  20. data/_includes/tertiary-column.html +8 -0
  21. data/_includes/vertical-menu.html +378 -0
  22. data/_includes/widgets/browser-info.html +16 -0
  23. data/_includes/widgets/categories.html +32 -0
  24. data/_includes/widgets/cookie-consent.html +21 -0
  25. data/_includes/widgets/older-posts.html +71 -0
  26. data/_includes/widgets/recent-posts.html +24 -0
  27. data/_includes/widgets/social-media-res/icon-github.html +7 -0
  28. data/_includes/widgets/social-media-res/icon-github.svg +1 -0
  29. data/_includes/widgets/social-media-res/icon-twitter.html +7 -0
  30. data/_includes/widgets/social-media-res/icon-twitter.svg +1 -0
  31. data/_includes/widgets/social-media.html +29 -0
  32. data/_includes/widgets/subscribe.html +18 -0
  33. data/_includes/widgets/youtube-player.html +38 -0
  34. data/_layouts/banner-layout.html +1 -0
  35. data/_layouts/category-page.html +51 -0
  36. data/_layouts/content-blocks.html +6 -0
  37. data/_layouts/default.html +152 -0
  38. data/_layouts/home.html +22 -0
  39. data/_layouts/page.html +30 -0
  40. data/_layouts/post.html +20 -0
  41. data/_sass/classic-jekyll-theme.scss +1178 -0
  42. data/_sass/classic/_banner-area.scss +552 -0
  43. data/_sass/classic/_body.scss +15 -0
  44. data/_sass/classic/_columns.scss +122 -0
  45. data/_sass/classic/_custom.scss +138 -0
  46. data/_sass/classic/_footer.scss +31 -0
  47. data/_sass/classic/_menubar.scss +530 -0
  48. data/_sass/classic/_normalize-override.scss +22 -0
  49. data/_sass/classic/_normalize.scss +447 -0
  50. data/_sass/classic/_page.scss +12 -0
  51. data/_sass/classic/_post.scss +10 -0
  52. data/_sass/classic/_swiftfire.scss +54 -0
  53. data/_sass/classic/_syntax-highlighting.scss +71 -0
  54. data/_sass/classic/_theme-internal.scss +37 -0
  55. data/_sass/classic/_theme-library.scss +85 -0
  56. data/_sass/classic/_vertical-menu.scss +252 -0
  57. data/_sass/classic/_widgets.scss +88 -0
  58. data/assets/img/banner-area-layout.png +0 -0
  59. data/assets/img/cog-wheels-120x68.png +0 -0
  60. data/assets/img/cog-wheels-240x135.png +0 -0
  61. data/assets/img/cog-wheels-30x17.png +0 -0
  62. data/assets/img/cog-wheels-60x43.png +0 -0
  63. data/assets/img/column-panel-layout.png +0 -0
  64. data/assets/img/test-pattern-110x83.png +0 -0
  65. data/assets/img/test-pattern-1280x800.png +0 -0
  66. data/assets/img/test-pattern-220x165.png +0 -0
  67. data/assets/img/test-pattern-55x42.png +0 -0
  68. data/assets/img/test-pattern-640x400.png +0 -0
  69. data/assets/img/top-level-layout.png +0 -0
  70. data/assets/js/cookieconsent.min.js +1 -0
  71. data/assets/main.scss +9 -0
  72. data/assets/templates/comment-section.sf.html +137 -0
  73. data/assets/templates/email-verification-text.sf.html +6 -0
  74. data/assets/templates/request-new-password-text.sf.txt +7 -0
  75. data/icons/android-chrome-192x192.png +0 -0
  76. data/icons/apple-touch-icon.png +0 -0
  77. data/icons/browserconfig.xml +9 -0
  78. data/icons/favicon-16x16.png +0 -0
  79. data/icons/favicon-32x32.png +0 -0
  80. data/icons/favicon.ico +0 -0
  81. data/icons/manifest.json +13 -0
  82. data/icons/mstile-150x150.png +0 -0
  83. data/icons/safari-pinned-tab.svg +14 -0
  84. data/pages/about/about.md +15 -0
  85. data/pages/account/comment-edit.sf.md +60 -0
  86. data/pages/account/comment-review.sf.md +80 -0
  87. data/pages/account/email-verification-failed.sf.md +11 -0
  88. data/pages/account/email-verification-success.sf.md +7 -0
  89. data/pages/account/error.sf.md +13 -0
  90. data/pages/account/forgot-password-continue.sf.md +9 -0
  91. data/pages/account/forgot-password.sf.md +25 -0
  92. data/pages/account/login.sf.md +19 -0
  93. data/pages/account/not-allowed.sf.md +7 -0
  94. data/pages/account/register-continue.sf.md +11 -0
  95. data/pages/account/register.sf.md +30 -0
  96. data/pages/account/request-new-password-failed.sf.md +13 -0
  97. data/pages/account/set-new-password-success.sf.md +7 -0
  98. data/pages/account/set-new-password.sf.md +25 -0
  99. data/pages/categories/classic.md +10 -0
  100. data/pages/categories/example.md +10 -0
  101. data/pages/categories/jekyll.md +10 -0
  102. data/pages/categories/update.md +10 -0
  103. data/pages/classic/01-features.md +36 -0
  104. data/pages/classic/02-setup.md +113 -0
  105. data/pages/classic/03-pages-and-posts.md +25 -0
  106. data/pages/classic/04-posts.md +18 -0
  107. data/pages/classic/05-menus.md +118 -0
  108. data/pages/classic/06-categories.md +38 -0
  109. data/pages/classic/07-terminology.md +35 -0
  110. data/pages/classic/08-versioning.md +23 -0
  111. data/pages/classic/09-problems.md +25 -0
  112. data/pages/contact/contact.md +18 -0
  113. data/pages/cookie-consent/cookie-consent.md +7 -0
  114. data/pages/download/download.md +10 -0
  115. data/pages/jekyll/01-jekyll.md +42 -0
  116. data/pages/jekyll/02-speed.md +88 -0
  117. data/pages/jekyll/03-ruby.md +19 -0
  118. data/pages/jekyll/04-cron-job.md +163 -0
  119. data/pages/layouts/banner-main.md +36 -0
  120. data/pages/layouts/blocks.md +11 -0
  121. data/pages/layouts/landing-page.md +21 -0
  122. data/pages/layouts/no-sec-no-ter.md +28 -0
  123. data/pages/layouts/sec-left-no-ter.md +28 -0
  124. data/pages/layouts/sec-left-ter-right.md +28 -0
  125. data/pages/layouts/sec-right-no-ter.md +28 -0
  126. data/pages/layouts/sec-right-ter-left.md +28 -0
  127. data/pages/menus/external-url.md +28 -0
  128. data/pages/menus/landing-page.md +8 -0
  129. data/pages/menus/submenu-subsections.md +72 -0
  130. data/pages/menus/submenu1.md +22 -0
  131. data/pages/menus/submenu2.md +21 -0
  132. data/pages/menus/submenu3.md +47 -0
  133. data/pages/menus/submenu4.md +36 -0
  134. data/pages/menus/subsubmenu3-1.md +21 -0
  135. data/pages/menus/subsubmenu3-2.md +21 -0
  136. data/pages/menus/subsubmenu4-1.md +31 -0
  137. data/pages/menus/subsubmenu4-2.md +31 -0
  138. metadata +269 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 41e2db541ff87d0ccb16c807d3a5295e32ca5f9c064da02b07fadacad3b787b9
4
+ data.tar.gz: 0bfff5270bab046ef9bb321655ad1accebc45eca5a9ba7cbfbe6bc24e20a3d4c
5
+ SHA512:
6
+ metadata.gz: 1e8440de3f960b712043abc06a405969dda6b8200a7fc58561fec53eaf91d47f555ded9f474a73353de8ea06bb60081dbe0714bda6c6674e3811c4a5da9a31e1
7
+ data.tar.gz: c418a7f59bd8b7f46a4875b5414c01c505f601f8f01170403b05cf509fe3c6dacc87df874072985c78820b4c619f762540c66bdd6e0b92b8145709a0d877674e
@@ -0,0 +1,23 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Rien van der Lugt
4
+
5
+ For the cookie warning: Copyright (c) 2015 Silktide Ltd
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ THE SOFTWARE.
@@ -0,0 +1,107 @@
1
+ # Swiftfire-Jekyll-Theme v0.1.0
2
+
3
+ Welcome to Swiftfire-Jekyll-Theme. This theme extends the Classic-Jekyll-Theme with a comment system that allows readers to comment on articles blogs etc. This includes a registration system and login/logout system.
4
+
5
+ WARNING: This theme requires the Swiftfire webserver. It will not work without this server. Specifically don't bother installing it on github and don't bother using any other webserver. That simply will not work, is not supported and will never be supported (by us).
6
+
7
+ On the plus side, the Swiftfire webserver is free and open source. You will need a macOS system to deploy it though.
8
+
9
+ You do not need the Classic-Jekyll-Theme, it is entirely included in this theme.
10
+
11
+ Like the Classic-Jekyll-Theme this theme centers around one of the most used website structures on the web. A banner, navigation menu (dropdown), (up to) three columns and a footer. The design is fully responsive for three different screen widths: widest, medium and narrow. It is probably best shown in an example:
12
+
13
+ Widest:
14
+
15
+ ![wide-layout](http://balancingrock.nl/assets/img/classic-jekyll-theme-wide.png)
16
+
17
+ Medium:
18
+
19
+ ![medium-left-layout](http://balancingrock.nl/assets/img/classic-jekyll-theme-medium-left.png)
20
+
21
+ Narrow:
22
+
23
+ ![narrow-layout](http://balancingrock.nl/assets/img/classic-jekyll-theme-narrow.png)
24
+
25
+ The columns are called Primary (blue), Secondary (grey) and Tertiary (pink). In the above layouts the secondary column is on the left side. If it had been on the right side, the medium layout would have looked like this:
26
+
27
+ ![medium-right-layout](http://balancingrock.nl/assets/img/classic-jekyll-theme-medium-right.png)
28
+
29
+ The menu bar (in yellow) is always deployed in the wide layout. In the medium and narrow layout the menu bar is shown in the deployed state. When not deployed, a menu-item symbol is shown in the banner that switches the menu between deployed and not.
30
+
31
+ An example screenshot:
32
+
33
+ ![example](http://balancingrock.nl/assets/img/classic-jekyll-theme-screenshot-half.png)
34
+
35
+
36
+ Features shared with the Classic-Jekyll-Theme:
37
+
38
+ - __Secondary and Tertiary Columns__ can be specified by default and on a page by page basis for presence, location and content.
39
+
40
+ - __Navigation bar with drop-down menu__ is created automatically from the available pages when these have the proper YAML frontmatter. The navigation bar contains the top level menu items, while the submenu items show up as a drop-down menu when the cursor hovers over the corresponding menu item. Hovering over submenu item brings up the sub-submenu items.
41
+
42
+ - __Create the menu__ from either Posts and/or Pages.
43
+
44
+ - __Category pages__ are created semi-automatically; the web designer has to identify the categories for inclusion, but the menu entry and category pages are created automatically.
45
+
46
+ - __Cookies policy__ for european users is included by default. It can be easily disabled for non-european websites.
47
+
48
+ - __Language customization__ (not multi-language support!).
49
+
50
+ - __Icon__ support for an icon in the upper left corner of the site and/or in the menubar.
51
+
52
+ - __Background images__ and __Background color__ settings for nearly all site elements.
53
+
54
+ - __Widgets__ the following widgets are included:
55
+ - recent-posts: Shows a list of the N most recent posts (N is configurable).
56
+ - social-media: Shows a list of social media sites with their links (Edit to add).
57
+ - subscribe: Shows how a visitor can subscribe to your site (Edit to add).
58
+ - youtube-player: Shows a youtube player that scales with the column it is used in (video id parameter).
59
+
60
+ - __Normalize.css__ [`normalize.css`](https://necolas.github.io/normalize.css/) is used directly instead of through the Jekyll adaptation. This allows for faster upgrade cycles.
61
+
62
+ - __Excerpt on pages__ Pages defining an explicit "excerpt" in their YAML will use this as the description for the header description meta tag (necessary for SEO purposes). Note that Jekyll does not generate excerpt information for pages, only posts. Hence it is necessary to define the excerpt as a YAML tag.
63
+
64
+ - __Blocked layout support__ Styles and includes support the creation of blocked layout (like product pages). To see an example of blocked pages, see the [http://balancingrock.nl](http://balancingrock.nl/classic) home page.
65
+
66
+ - __Enable/disable banner__ The banner at the top of the page can be disabled.
67
+
68
+ - __Move banner/menu to main column__ The banner & navigation can be moved to within the main column only. The secondary and tertiary columns will then run right up to the top of the screen.
69
+
70
+ - __Pin banner__ The banner area can be pinned (fixed) to the top of the browser window.
71
+
72
+ - __Split files for the menus__ It is possible to generate the menu file separate from the content file. While this may slow down the loading of the site a little, it is a huge speed up for site generation under Jekyll.
73
+
74
+ Swiftfire-Jekyll-Theme improves on Classic-Jekyll-Theme with the following features:
75
+
76
+ - __Commenting__ A comment section can be added to posts or pages with the swiftfire function `commentSection`
77
+
78
+ - __Registration__ The ability for site visitors to register with the website, including mail confirmation. For mail confirmation the mail application `postfix` must be installed and active on the server.
79
+
80
+ You can download this theme from [github](https://github.com/Balancingrock/swiftfire-jekyll-theme) or install it with [rubygems](https://rubygems.org/gems/swiftfire-jekyll-theme).
81
+
82
+ Like to help out?
83
+
84
+ You can support further development of this theme, or just say 'thank you' via paypal by donating to sales@balancingrock.nl or wire bitcoins to address: 1GacSREBxPy1yskLMc9de2nofNv2SNdwqH
85
+
86
+ Suggested donation for personal websites is the price of a good cup of coffee: $4
87
+
88
+ Suggested donation for commercial sites is the price of a good meal: $20
89
+
90
+ Contract support for this (or other Jekyll related work) is available: sales@balancingrock.nl
91
+
92
+ ## Usage
93
+
94
+ Please see [http://balancingrock.github.io/swiftfire-jekyll-theme](http://balancingrock.github.io/swiftfire-jekyll-theme) on how to use the theme and which frontmatter is available.
95
+
96
+ ## History
97
+
98
+ - Release 0.1.0 (2020-06-12)
99
+
100
+ ## Suport & Feedback
101
+
102
+ Comments, bug reports, feature requests and improvements are eagerly anticipated via email: rien@balancingrock.nl or via [github](http://balancingrock.github.io/swiftfire-jekyll-theme).
103
+
104
+ ## License
105
+
106
+ The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
107
+
@@ -0,0 +1,31 @@
1
+ # Content blocks example
2
+
3
+ - name: SwifterLog
4
+ description: A logging framewrok with 5 logging destinations.
5
+ link: https://github.com/Balancingrock/SwifterLog
6
+ image: http://balancingrock.nl/assets/img/swift-code-icon.png
7
+
8
+ - name: SwifterJSON
9
+ description: An easy to use single class JSON framework.
10
+ link: https://github.com/Balancingrock/SwifterJSON
11
+ image: http://balancingrock.nl/assets/img/swift-code-icon.png
12
+
13
+ - name: SwifterSockets
14
+ description: An API for POSIX sockets based networking software.
15
+ link: https://github.com/Balancingrock/SwifterSockets
16
+ image: http://balancingrock.nl/assets/img/swift-code-icon.png
17
+
18
+ - name: SecureSockets
19
+ description: An API for OpenSSL based networking software.
20
+ link: https://github.com/Balancingrock/SecureSockets
21
+ image: http://balancingrock.nl/assets/img/swift-code-icon.png
22
+
23
+ - name: Swiftfire
24
+ description: An HTML server in Swift.
25
+ link: http://swiftfire.nl/
26
+ image: http://balancingrock.nl/assets/img/swift-code-icon.png
27
+
28
+ - name: Classic Jekyll Theme
29
+ description: A theme for the Jekyll website builder.
30
+ link: http://balancingrock.nl/classic-jekyll-theme
31
+ image: http://balancingrock.nl/assets/img/classic-jekyll-theme-icon.png
@@ -0,0 +1,135 @@
1
+ # Classic Jekyll Theme settings
2
+
3
+ # Classic uses three columns Primary, Secondary and Tertiary.
4
+ # The primary column is always present and cannot be manipulated.
5
+ # The secondary column is optional and is either to the left or to the right of the primary.
6
+ # The tertiary column is optional and if present will be opposite the secondary column in the wide display and below the secondary in the medium display.
7
+ # In the narrow display all three columns will be below each other (if present)
8
+ # If the tertiary column is used, the secondary column *must* also be used.
9
+
10
+ # Controls the placing and visibility of the secondary column
11
+ # Values: left | right | none
12
+ # - left: The secondary column appears on the left side of the main column
13
+ # - right: The secondary column appears on the right side of the main column
14
+ # - none: There is no secondary column (note that this also inhibits the tertiary column)
15
+ # Here the default value is defined, pages may override this in their front matter.
16
+ # The secondary column must reside in the "_includes" directory and is called "secondary-column.html"
17
+ # Front matter can specify a different file for the secondary column ("secondary-column-content").
18
+ #
19
+ secondary-column: left
20
+
21
+ # Controls visibility of the tertiary column
22
+ # Values: present | none
23
+ # - present: The tertiary column is visible.
24
+ # - none: There is no tertiary column.
25
+ # The tertiary column is always on the opposite side of the main column from the secondary column.
26
+ # Here the default value is defined, pages may override this in their front matter.
27
+ # The tertiary column must reside in the "_includes" directory and is called "tertiary-column.html"
28
+ # Front matter can specify a different file for the tertiary column ("tertiary-column-content").
29
+ #
30
+ tertiary-column: present
31
+
32
+ # A subtitle can be displayed in de banner
33
+ #
34
+ subtitle: "Uses Swift instead of PHP"
35
+
36
+ # Skip some of the build process for faster recompilation during content creation.
37
+ # Values: yes | no
38
+ # - yes: If the jekyll.environment variable is *not* set to 'production', then various aspects (menu, categories) are skipped during jekyll compilation. This speeds up the content development cycle quite a lot.
39
+ # - no: Always generate the site completely.
40
+ #
41
+ # Currently applies to the dropdown menu, the vertical-menu, the categories (widget), the older-posts widget and the recent-post widget.
42
+ # Since the menu structure is not available for site navigation, use the url to view the content under creation. Or first view the new content, then enable fast content build and use refresh in the browser.
43
+ #
44
+ fast-content-build: no
45
+
46
+ # Use site favicons as generated by the website: https://realfavicongenerator.net.
47
+ # Values: yes | no
48
+ # - yes: Upload the image to be used as favicon to that site, create a favicon files folder called 'icons', download the generated file/folder and replace the contents of the site's icons directory with the files from realfavicongenerator.
49
+ # - no: The folder 'icons' can be removed.
50
+ #
51
+ realfavicongenerator: yes
52
+
53
+ # For the number of posts visible on the home page.
54
+ # Value: > 0
55
+ #
56
+ number-of-posts-on-home-page: 5
57
+
58
+ # For the number of posts titles shown in the 'recent' widget
59
+ # Value: > 0
60
+ #
61
+ number-of-recent-posts-in-widget: 10
62
+
63
+ # Enables or disables the cookies warning.
64
+ # Values: yes | no
65
+ #
66
+ enable-cookies-policy: no
67
+
68
+ # Controls the position of the banner and menubar.
69
+ # Values: top | main | top-fixed
70
+ # - top: The navigation banner will be placed above all the columns
71
+ # - main: The navigation banner will be placed inside the main column at the top.
72
+ # - top-fixed: The navigation banner will be placed above all the columns and remain in place when scrolling down.
73
+ # This is the default value, pages may override this in their YAML frontmatter. But beware the anchor offset!
74
+ #
75
+ # $anchor-top-fixed-offset-xxxxx should be zero for 'top' and 'main' and should be set to the banner-area height
76
+ # for 'top-fixed'. (See classic-jekyll-theme.scss)
77
+ #
78
+ # Hint 1: When the 'top-fixed' is used a background color should be specified for the banner and menu.
79
+ # Hint 2: It is recommended not to use the youtube-player widget when using 'top-fixed'. Because the youtube-player widget will scroll in front of the banner.
80
+ #
81
+ banner-position: top
82
+
83
+ # Switches between drop-down menu's en the vertical-menu for the subMenuTitles. It does not affect the top menu items with the exception of the 'Categories' item.
84
+ # Only works for medium and widest layouts, the narrow layout always used the menubar instead of the vertical-menu. (Which is displayed vertically anyhow)
85
+ # Values: yes | no
86
+ # - yes: The drop down menu is used, the vertical menu is not shown. The Categories menu item is generated when the generate-categories-menu is set to 'yes'.
87
+ # - no: The vertical menu is used, the drop down menu is not shown. The Categories menu is not created, even when the generate-categories-menu is set to 'yes'.
88
+ #
89
+ # Note 1: The drop down menu does not display sub-sub menu items, the vertical menu does.
90
+ # Note 2: When the drop-down menus are not used, any items in the menubar without a linked page will become useless.
91
+ # Note 3: Setting to 'no' will result in slower compilation. If possible, setting this to 'yes' during content development will help speed up the workflow.
92
+ #
93
+ drop-down-menu: yes
94
+
95
+ # Controls the generation of the categories menu entry in the menu bar if the drop-down-menu option is set to 'yes'. Has no impact on the categories widget.
96
+ # Values: yes | no
97
+ # - yes: The categories menu entry is generated if -and only if- the drop-down-menu option is set to 'yes'.
98
+ # - no : The categories menu entry is not generated.
99
+ #
100
+ generate-categories-menu: no
101
+
102
+ # Create a separate file containing the banner and menubar.
103
+ # Values: yes | no
104
+ # - yes: An external file will be used to store the menubar.
105
+ # - no: Generated the menubar inline.
106
+ #
107
+ # This option uses javascript. Choosing 'yes' will download the jQuery javascript library from google.
108
+ #
109
+ # Using a separate banner-area file speeds up jekyll compilation a lot. However it also means that the browser has to make two additional fetches: the navbanner file and the jQuery library (the latter from google). This is mitigated by the fact that both files can be cached by the browser.
110
+ # If another jQuery library has to be used, edit the _includes/head.html file accordingly.
111
+ #
112
+ # Note 1: If this option is set to 'yes', then make sure the file 'banner-area.md' is present (can be found in the theme folder) in the same project folder as the index.md file.
113
+ #
114
+ # Note 2: When a separate navbanner file is used the menubar will not be able to highlight the active page.
115
+ #
116
+ # Hint: Keep this option set to 'yes' during content creation or site development (when jekyll auto regeneration is used). Then switch it back to 'no' for the version that is published.
117
+ #
118
+ use-separate-banner-menubar-file: no
119
+
120
+ # Exclude pages from the menu structure. Note that this uses negative logic for backwards compatibility.
121
+ # Values: yes | no
122
+ # - yes: Pages will not be included in any menu structure
123
+ # - no: Pages will be included in all menu structures
124
+ #
125
+ exclude-pages-from-menus: no
126
+
127
+ # Included posts in any menu structure.
128
+ # Values: yes | no
129
+ # - yes: Posts will be scanned for inclusion in all menu structures.
130
+ # - no: Posts will be excluded from the menu structures.
131
+ #
132
+ include-posts-in-menus: yes
133
+
134
+
135
+ # End of file
@@ -0,0 +1,53 @@
1
+ # Language customization for default theme elements
2
+
3
+ # Menu item
4
+ tHome: Home
5
+
6
+ # Title on home page
7
+ tPosts: Posts
8
+
9
+ # Menu item
10
+ tCategories: Categories
11
+
12
+ # Title on categories page
13
+ tCategory: Category
14
+
15
+ # When no categories are present
16
+ tNoCategories: None
17
+
18
+ # Message on category page if no posts have been found
19
+ tNoBlogpostFound: No blogposts found for this category
20
+
21
+ # Continuation text for abbreviated posts on a category page
22
+ tMore: more
23
+
24
+ # Tag label on category page
25
+ tTags: Tags
26
+
27
+ # Title on recent posts widget
28
+ tRecent: Recent
29
+
30
+ # Part title of social media widget
31
+ tSocialMediaResources: Social Media & Resources
32
+
33
+ # Title of subscription widget
34
+ tSubscribe: Subscribe
35
+
36
+ # Cookie warning message
37
+ tUsesCookies: This site uses cookies
38
+
39
+ # Text for OK button
40
+ tCookieOk: OK
41
+
42
+ # More cookie info text
43
+ tMoreInfo: More info
44
+
45
+ # Title for Older Posts widget output
46
+ tOlderPosts: Older Posts
47
+
48
+ # Month names for Older Posts widget output
49
+ # Note: Must start with 'None' because of index starting at 0
50
+ tMonths: [None, January, February, March, April, May, June, July, August, September, October, November, December]
51
+
52
+ # Text to be displayed for articles that will be published in the future.
53
+ tFutureRelease: This article is scheduled for release in the near future.
@@ -0,0 +1,82 @@
1
+ .if($account.is-domain-admin, equal, true)
2
+ <div class="item-separator"><p><!-- empty but necessary --></p></div>
3
+ <div class="item">
4
+ <div class="title">
5
+ <label class="symbol"><p></p></label>
6
+ <div class="text"><p class="paddingAsLink">Admin</p></div>
7
+ </div>
8
+ <div class="dropdown">
9
+ <div class="subitem-separator"><p></p></div>
10
+ <div class="subitem">
11
+ <div class="title">
12
+ <div class="symbol"></div>
13
+ <div class="text">
14
+ <a href="{%- link pages/account/comment-review.sf.md -%}"><p>Review Comments Needing Approval</p></a>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ .else()
21
+ .if($account.is-moderator, equal, true)
22
+ <div class="item-separator"><p><!-- empty but necessary --></p></div>
23
+ <div class="item">
24
+ <div class="title">
25
+ <label class="symbol"><p></p></label>
26
+ <div class="text"><p class="paddingAsLink">Moderator</p></div>
27
+ </div>
28
+ <div class="dropdown">
29
+ <div class="subitem-separator"><p></p></div>
30
+ <div class="subitem">
31
+ <div class="title">
32
+ <div class="symbol"></div>
33
+ <div class="text">
34
+ <a href="{%- link pages/account/comment-review.sf.md -%}"><p>Review Comments Needing Approval</p></a>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ .end()
41
+ .end()
42
+ <div class="item-separator"><p><!-- empty but necessary --></p></div>
43
+ <div class="item">
44
+ <div class="title">
45
+ <label class="symbol"><p></p></label>
46
+ <div class="text"><p class="paddingAsLink">Account</p></div>
47
+ </div>
48
+ <div class="dropdown">
49
+ <div class="subitem-separator"><p></p></div>
50
+ .if($account, equal, nil)
51
+ <div class="subitem">
52
+ <div class="title">
53
+ <div class="symbol"></div>
54
+ <div class="text">
55
+ <a href="{%- link pages/account/login.sf.md -%}"><p>Login</p></a>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <div class="subitem-separator"><p></p></div>
60
+ <div class="subitem">
61
+ <div class="title">
62
+ <div class="symbol"></div>
63
+ <div class="text">
64
+ <a href="{%- link pages/account/register.sf.md -%}"><p>Register</p></a>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ .else()
69
+ <div class="subitem">
70
+ <div class="title">
71
+ <div class="symbol"></div>
72
+ <div class="text">
73
+ <a href="/command/logout"><p>Logout .show($account.name!)</p></a>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ .end()
78
+ </div>
79
+
80
+ </div>
81
+
82
+
@@ -0,0 +1,57 @@
1
+
2
+ <!-- include banner-area.html -->
3
+ {%- comment -%}<!--
4
+
5
+ Layout of the banner area.
6
+
7
+ The banner area is complex in the sense that some elements are out of the DOM permanently and some elements are out of the DOM depending on the settings in the site.data.setup file.
8
+
9
+ The height of the 'banner' class must be specified explicitly in the theme.scss file.
10
+
11
+ The icon, title and label are placed on top of the banner using relative/absolute positioning.
12
+
13
+ The conditional part for 'top-fixed' is present to make sure that the content of the column-panel is properly offset from the top of the screen such that no partion of it is positioned behind the banner-area. It has the same classes and structure as the banner-area so that it auto-adjusts for menubar switching (using the banner-menu-symbol).
14
+
15
+ If changes are made to this file that increase the height of the banner-area that is placed outside the DOM, the HTML code can compensate for the height increase by specifying a height for the add-to-banner-area-height class.
16
+
17
+ -->{%- endcomment -%}
18
+
19
+ {%- if site.data.setup.banner-position == 'top-fixed' -%}
20
+ {%- assign banner-classes = 'banner-area banner-area-outside-dom' -%}
21
+ {%- else -%}
22
+ {% assign banner-classes = 'banner-area banner-area-in-dom' -%}
23
+ {%- endif %}
24
+ <input type="checkbox" id="banner-menu-symbol">
25
+ <div class="{{ banner-classes }}">
26
+ <div class="banner"></div>
27
+ {%- comment -%}<!-- The following elements are permanently outside the DOM -->{%- endcomment %}
28
+ <div class="icon-container">
29
+ {% include banner-icon.html %}
30
+ </div>
31
+ <div class="title-area-container">
32
+ {% include banner-title-area.html %}
33
+ </div>
34
+ <div class="label-container"><label for="banner-menu-symbol"><p><!-- empty but necessary! --></p></label></div>
35
+ {%- comment -%}<!-- This is part of the DOM again (unless the banner area is outside the DOM) -->{%- endcomment %}
36
+ <div class="menubar-top-separator"></div>
37
+ {% include menubar.html %}
38
+ <div class="menubar-bottom-separator"></div>
39
+ </div>
40
+ {%- if site.data.setup.banner-position == 'top-fixed' %}
41
+ <div class="banner-area invisible">
42
+ <div class="banner"></div>
43
+ <div class="menubar-top-separator"></div>
44
+ <div class="menubar">
45
+ {% include menubar-icon.html %}
46
+ <div class="item">
47
+ <div class="title">
48
+ <div class=symbol><p></p></div>
49
+ <div class="text"><a><p>Home</p></a></div>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="menubar-bottom-separator"></div>
54
+ <div class="add-to-banner-area-height"></div>
55
+ </div>
56
+ {% endif -%}
57
+ <!-- end of include banner-area.html -->