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,11 @@
1
+ ---
2
+ layout: page
3
+ title: Email verification failed
4
+ ---
5
+ Unfortunately an error occurred.
6
+
7
+ If a typo or copy/paste error was made, you can try to visit the link in the email again.
8
+
9
+ It could also be that you inadvertently visited the link twice (or more) and the corresponding account is already verified.
10
+
11
+ If you think this is a server error you can contact the administrator to speed up the processing of this fault (the information was already recorded). See the contact page for details.
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: page
3
+ title: Email verification completed
4
+ ---
5
+ Thanks for completing the registration process.
6
+
7
+ Your account can now be used: [Login](/pages/login.sf.html)
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: page
3
+ title: Error
4
+ ---
5
+ An error occurred that prevented completion of your request.
6
+
7
+ If this is a recoverable error, you can try again.
8
+
9
+ If this is a non-recoverable error a log entry was made and will be investigated in due time. You can speed up error investigation by alerting the admin through the contact page.
10
+
11
+ The following error message was generated:
12
+
13
+ .show($service.error-message)
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: page
3
+ title: An email was send
4
+ ---
5
+ An email has been sent to the email address associated with the account.
6
+
7
+ If you do not receive an email, either the account does not exist, the email was mistakenly classified as spam, or you do not have access (anymore) to the old email account. In these cases please contact an administrator.
8
+
9
+ Please visit the link in that email within the next 24 hours to set a new password.
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: page
3
+ title: New Password?
4
+ ---
5
+ If you forgot your password, you can use this page to set a new password.
6
+
7
+ Step 1: Fill in the name of the account
8
+
9
+ Step 2: Click 'Set New Password'
10
+
11
+ Step 3: Wait for the email to arrive and visit the link in the email
12
+
13
+ Step 4: Set a new password
14
+
15
+ The link in the mail is valid for 24 hours. The account remains usable with the old password up until a new password is set.
16
+
17
+ <form action="/command/forgot-password" method="post">
18
+ <div style="display:flex; flex-direction:column; justify-content:center; margin-bottom:50px;">
19
+ <div style="margin-left:auto; margin-right:auto;">
20
+ <p style="margin-bottom:0px">Name:</p>
21
+ <input style="width:100%; color:black;" type="text" name="forgot-password-account-id" value="" autofocus><br><br>
22
+ <input style="width:100%; color:black;" type="submit" value="Set New Password">
23
+ </div>
24
+ </div>
25
+ </form>
@@ -0,0 +1,19 @@
1
+ ---
2
+ layout: page
3
+ title: Login
4
+ ---
5
+ <form action="/command/login" method="post">
6
+ <div style="display:flex; flex-direction:column; justify-content:center; margin-bottom:50px;">
7
+ <div style="margin-left:auto; margin-right:auto;">
8
+ <p>.show($request.previous-attempt-message!)</p>
9
+ </div>
10
+ <div style="margin-left:auto; margin-right:auto;">
11
+ <p style="margin-bottom:0px">Name:</p>
12
+ <input style="width:100%; color:black;" type="text" name="login-name" value=".show($request.login-name!)" autofocus><br>
13
+ <p style="margin-bottom:0px">Password:</p>
14
+ <input style="width:100%; color:black;" type="password" name="login-password" value=".show($request.login-password!)"><br><br>
15
+ <input style="width:100%; color:black;" type="submit" value="Login">
16
+ <p><a href="/pages/register.sf.html">Register</a> - <a href="/pages/forgot-password.sf.html">Forgot password?</a></p>
17
+ </div>
18
+ </div>
19
+ </form>
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: page
3
+ title: Not allowed
4
+ ---
5
+ You seem to have tried something which is not allowed.
6
+
7
+ For example doing something twice that has an explicit one-off authorization.
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: page
3
+ title: Complete registration
4
+ ---
5
+ Thanks for registering.
6
+
7
+ An email has been sent to .show($request.register-email)
8
+
9
+ Please wait for this email and visit the confirmation link in it to complete the registration process.
10
+
11
+ Your account can be used after that link has been visited.
@@ -0,0 +1,30 @@
1
+ ---
2
+ layout: page
3
+ title: Register
4
+ ---
5
+ To register, fill out the fields below and click the 'Register' button. Upon verification of the fields values, an email will be sent to the given address containing a verification link. Visit that link to complete the registration process.
6
+
7
+ <form action="/command/register" method="post">
8
+ <div style="display:flex; flex-direction:column; justify-content:center; margin-bottom:50px;">
9
+ <div style="margin-left:auto; margin-right:auto;">
10
+ <p>.show($request.previous-attempt-message!)</p>
11
+ </div>
12
+ <div style="margin-left:auto; margin-right:auto;">
13
+ <br>
14
+ <p style="margin-bottom:0px">Name:</p>
15
+ <input style="color:black;" type="text" name="register-name" value=".show($request.register-name!)" autofocus>
16
+ <br>
17
+ <p style="margin-bottom:0px">Password:</p>
18
+ <input style="color:black;" type="password" name="register-password-1" value=".show($request.RegisterPassword1!)">
19
+ <br>
20
+ <p style="margin-bottom:0px">Password:</p>
21
+ <input style="color:black;" type="password" name="register-password-2" value=".show($request.RegisterPassword2!)">
22
+ <br>
23
+ <p style="margin-bottom:0px">Email:</p>
24
+ <input style="color:black;" type="text" name="register-email" value=".show($request.register-email!)">
25
+ <br>
26
+ <br>
27
+ <input style="width:100%; color:black;" type="submit" value="Register">
28
+ </div>
29
+ </div>
30
+ </form>
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: page
3
+ title: Request failed
4
+ ---
5
+ Unfortunately an error occurred.
6
+
7
+ If a typo or copy/paste error was made, you can try to visit the link in the email again.
8
+
9
+ If you waited more than 24 hours before using the link, then the link has expired.
10
+
11
+ It could also be that you inadvertently visited the link twice (or more) and the password was already changed.
12
+
13
+ Either way, you can always [try again](/pages/forgot-password.sf.html).
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: page
3
+ title: Success
4
+ ---
5
+ Your password was updated.
6
+
7
+ Your account can now be used: [Login](/pages/login.sf.html)
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: page
3
+ title: Set New Password
4
+ ---
5
+ If you requested to set a new password for your account, you can do so here. If not, simply ignore this page.
6
+
7
+ <form action="/command/set-new-password" method="post">
8
+ <input type="hidden" name="set-new-pwd-acc-id" value=".show($request.set-new-pwd-acc-id)">
9
+ <div style="display:flex; flex-direction:column; justify-content:center; margin-bottom:50px;">
10
+ <div style="margin-left:auto; margin-right:auto;">
11
+ <p>.show($request.previous-attempt-message!)</p>
12
+ </div>
13
+ <div style="margin-left:auto; margin-right:auto;">
14
+ <br>
15
+ <p style="margin-bottom:0px">Password:</p>
16
+ <input style="color:black;" type="password" name="set-new-password-1" value=".show($request.set-new-password-1!)">
17
+ <br>
18
+ <p style="margin-bottom:0px">Password:</p>
19
+ <input style="color:black;" type="password" name="set-new-password-2" value=".show($request.set-new-password-2!)">
20
+ <br>
21
+ <br>
22
+ <input style="width:100%; color:black;" type="submit" value="Set New Password">
23
+ </div>
24
+ </div>
25
+ </form>
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: category-page
3
+ title: classic
4
+ ---
5
+
6
+ This file is only used to initiate the compilation of a category page for the category shown as title.
7
+
8
+ Duplicate this file with a different name and title for each category you want included in the list of category pages.
9
+
10
+ Note: title and category are case sensitive!
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: category-page
3
+ title: example
4
+ ---
5
+
6
+ This file is only used to initiate the compilation of a category page for the category shown as title.
7
+
8
+ Duplicate this file with a different name and title for each category you want included in the list of category pages.
9
+
10
+ Note: title and category are case sensitive!
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: category-page
3
+ title: jekyll
4
+ ---
5
+
6
+ This file is only used to initiate the compilation of a category page for the category shown as title.
7
+
8
+ Duplicate this file with a different name and title for each category you want included in the list of category pages.
9
+
10
+ Note: title and category are case sensitive!
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: category-page
3
+ title: update
4
+ ---
5
+
6
+ This file is only used to initiate the compilation of a category page for the category shown as title.
7
+
8
+ Duplicate this file with a different name and title for each category you want included in the list of category pages.
9
+
10
+ Note: title and category are case sensitive!
@@ -0,0 +1,36 @@
1
+ ---
2
+ layout: page
3
+ title: The Classic Jekyll Theme
4
+ date: 2017-12-20
5
+ menuInclude: yes
6
+ menuLink: yes
7
+ menuTopTitle: Classic
8
+ menuTopIndex: 2
9
+ menuSubs:
10
+ - title: Features
11
+ index: 1
12
+ excerpt: Landing page for the Classic menu topics with a list of the main features.
13
+ ---
14
+ The main features of this theme are as follows:
15
+
16
+ - RWD design (automatic reordering of the content to fit the width of the device it is viewed on)
17
+ - Integrated menubar generator with drop-down menu (the drop-down aspect can be disabled)
18
+ - Menu items can be three levels deep (Item, subitem, sub-subitem)
19
+ - Automatic vertical menu when disabling the drop-down aspect of the menubar
20
+ - Integrated categories page generator
21
+ - Page by page override of layout and secondary/tertiary column content
22
+ - Extensive configuration of visible elements (font, color, background, padding, size etc)
23
+ - Banner & menubar may be fixed to the top of the browser window
24
+ - Release date for pages
25
+ - Includes several widgets:
26
+ - Recent posts
27
+ - Older posts
28
+ - Categories
29
+ - Includes cookies warning (can be disabled)
30
+ - Includes disqus & google analytics
31
+ - Language customization (not multi-langage)
32
+ - Pure HTML5/CSS3 possible (a few features need Javascript but these can be disabled)
33
+ - Supports block layout
34
+ - Fast rebuild option for content creation
35
+ - Documented source code
36
+ - Generated HTML is quite readable
@@ -0,0 +1,113 @@
1
+ ---
2
+ layout: page
3
+ title: Installation & Setup
4
+ date: 2017-12-20
5
+ tertiary-column: none
6
+ menuInclude: yes
7
+ menuTopTitle: Classic
8
+ menuSubs:
9
+ - title: Installation & Setup
10
+ index: 2
11
+ excerpt: Installation and initial setup of the Classic Jekyll Theme
12
+ ---
13
+ ## Installation
14
+
15
+ The two most common ways of installing this theme is either using the git _clone_ command, or the gem-based approach.
16
+
17
+ Either way will work just fine.
18
+
19
+ If this theme is the basis for your own theme, then it seems prudent to use the _clone_ command. The cloned repository can then serve as the _master_ repository for your websites.
20
+
21
+ If the only purpose is to create a website, then the gem command will result in less clutter in the website directory.
22
+
23
+ This installation description presupposes that Jekyll is already installed. If not, please check out the [Jekyll](https://jekyllrb.com) website for more information.
24
+
25
+ No matter which installation method is chosen it is always prudent to make sure the Jekyll environment is up to date by updating the gems:
26
+
27
+ gem update
28
+
29
+ ### Using the Git clone command
30
+
31
+ #### Preparing for Installation
32
+
33
+ The theme uses a pluging called 'jekyll-data'.
34
+
35
+ This is installed with the command:
36
+
37
+ gem install jekyll-data
38
+
39
+ At the time of writing jekyll-data is at version 1.0.0. The developper of jekyll-data has announced that all versions below 2.0.0 should be compatible.
40
+
41
+ #### Install
42
+
43
+ Create a new repository with:
44
+
45
+ git clone https://github.com/Balancingrock/classic-jekyll-theme repository-name
46
+
47
+ of course the _repository-name_ should be replaced with the name of new local repository.
48
+
49
+ If the theme will be modified and used in more than one website, it may be advantageous to use the local repository only for theme related work. And use the local repository as the master repository for other website development. If you know your way around git, we would even advise to create a separate branch for your own development efforts. That makes it more manageable to merge future changes from the classic theme.
50
+
51
+ #### Setup
52
+
53
+ There is 1 change that _should_ be made first: in `_config.yml` __and__ `_sass/classic-jekyll-theme.scss` change the definition of `baseurl` from _"classic-jekyll-theme"_ to _""_.
54
+
55
+ Now start the jekyll server with the command:
56
+
57
+ bundle exec jekyll serve
58
+
59
+ Next point your browser to: _localhost:4000_ and you will see the same site as this one, but hosted on your own computer.
60
+
61
+ If the `baseurl` was not changed, then point the browser to _localhost:4000/classic-jekyll-theme/index.html_.
62
+
63
+ To stop the jekyll server use the key combination: _CTRL-C_.
64
+
65
+ It is recommended to explore the files `_config.yml`, `_data/setup.yml` and `_sass/classic-jekyll-theme.scss` before making changes to the theme itself. In general it is save to change any setting in these files and check the results of a modification in the browser. Note that any changes to `_config.yml` require a restart of the server as above. Changes to setup and classic-jekyll-theme can be seen bij saving the file and reloading the browser. Note that some changes may require a few seconds before the compilation is ready.
66
+
67
+ Always check the output of the compilation in the terminal (command line) window! Error messages will appear in that window, not the browser!
68
+
69
+ And finally: When using _git clone_ you will end up with files in the pages and _posts directory that you don't need (or want!) Simply delete what you cannot use from any of these directories (the `pages` directory can be deleted completely)
70
+
71
+ ### Gem based
72
+
73
+ Install the theme with the command:
74
+
75
+ gem install classic-jekyll-theme
76
+
77
+ Since you will need to copy some files from the gem directory, check where that directory is with:
78
+
79
+ bundle show classic-jekyll-theme
80
+
81
+ For convenience you can create an alias to the gem directory at the same level as the root of your website directory.
82
+
83
+ #### Create a new site & Setup
84
+
85
+ Create a new website with:
86
+
87
+ jekyll new mysite
88
+
89
+ Change to the new directory `mysite`.
90
+
91
+ Copy the file `_sass/classic-jekyll-theme.scss` from the gem directory to `mysite/_sass/classic-jekyll-theme.scss`
92
+ Copy the file `_data/setup.yml` from the gem directory to `mysite/_data/setup.yml`
93
+
94
+ In the file `mysite/_config.yml` change _theme: minima_ to _theme: classic-jekyll-theme_.
95
+ In the file `mysite/Gemfile` change _gem "minima", "~> 2.0"_ to _gem "classic-jekyll-theme"_.
96
+ In the file `mysite/_sass/classic-jekyll-theme.scss` change _$baseurl: "classic-jekyll-theme"_ to _$baseurl: ""_.
97
+
98
+ Optional:
99
+ - Remove the `mysite/about.md` file.
100
+ - Copy the folder `icons` from the gem directory to `mysite/icons` (to be used as examples, replace them later with icons of your own)
101
+ - Copy the file `banner-area.md` from the gem directory to `mysite/banner-area.md` (needed when using a separate banner file, which is _not_ used by default)
102
+
103
+ Now you are ready to start the jekyll server:
104
+
105
+ bundle exec jekyll serve
106
+
107
+ (Note: depending on what was done before, the `Gemfile.lock` may cause problems. If so, simply delete that file. Anytime the _bundle_ command is run it will be recreated when its is not present, and on recreation it will also be filled with the correct data)
108
+
109
+ It is recommended to explore the files `_config.yml`, `_data/setup.yml` and `_sass/classic-jekyll-theme.scss` before making changes to the theme itself. In general it is save to change any setting in these files and check the results of a modification in the browser. Note that any changes to `_config.yml` require a restart of the server as above. Changes to setup and classic-jekyll-theme can be seen bij saving the file and reloading the browser. Note that some changes may require a few seconds before the compilation is ready.
110
+
111
+ Always check the output of the compilation in the terminal (command line) window! Error messages will appear in that window, not the browser!
112
+
113
+ To stop the jekyll server use the key combination: _CTRL-C_.
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: page
3
+ title: Pages and Posts in classic
4
+ date: 2017-12-20
5
+ menuInclude: yes
6
+ menuTopTitle: Classic
7
+ menuSubs:
8
+ - title: Pages and Posts
9
+ index: 3
10
+ excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
11
+ ---
12
+ Pages and Posts in Classic are created as is standard for Jekyll.
13
+
14
+ Additional YAML front matter:
15
+
16
+ - __comments__: When a disqus account is available, setting the `comments` to _yes_ will enable the disqus comment section.
17
+ - __secondary-column__: This is an override setting of the general parameter in `site.data.setup.secondary-column`. Set this to either _none_, _right_ or _left_ to affect the placing of the secondary column for this page/post only. Note that disabling the secondary column when the drop-down menu is disabled (i.e. `site.data.setup.drop-down-menu` is set to _no_) will result in the loss of the vertical menu.
18
+ - __tertiary-column__: This is an override setting of the general parameter in `site.data.setup.tertiary-column`. Set to either _none_ or _present_ to affect placing of the tertiary column for this page/post only.
19
+ - __secondary-column-content__: By default the content for the secondary column is taken from _\_includes/secondary-column.html_. Assigning it a different file here will override this default for this page/post only. However if the vertical menu is used (i.e. `site.data.setup.drop-down-menu` is set to _no_), it will remain visible at the top of the content of the secondary column.
20
+ - __tertiary-column-content__: By default the content for the tertiary column is taken from _\_includes/tertiary-column.html_. Assigning it a different file here will override this default for this page/post only.
21
+ - __banner-position__: The position of the banner area. Use _top_ to place the banner across all three columns, _main_ to place the banner only above the primary column and _top-fixed_ to have the banner pinned at the top of the browser window. This setting is fro this page only.
22
+
23
+ ## For Pages
24
+
25
+ - __date__: When present, the page will only be included in the website if this date is earlier than the build time.
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: page
3
+ title: Posts in classic
4
+ date: 2017-12-20
5
+ menuInclude: yes
6
+ menuTopTitle: Classic
7
+ menuSubs:
8
+ - title: Posts
9
+ index: 4
10
+ excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
11
+ ---
12
+ Also see: [Pages and Posts](/pages/classic/pages.html).
13
+
14
+ The home page shows a number of full posts. The number of posts shown can be set in `site.data.setup.number-of-posts-on-home-page`. By default this is set to _5_.
15
+
16
+ There is also a widget called _recent-posts_ which can be used to show date & titles of the most recent posts. The number of posts show can be configured in `site.data.setup.number-of-recent-posts-in-widget`.
17
+
18
+ Then there is a widget called _older-posts_ which can be used to show all previous posts in a summary/detail construction. I.e. with disclosure triangles that drill down from year to month.
@@ -0,0 +1,118 @@
1
+ ---
2
+ layout: page
3
+ title: Menus in Classic
4
+ date: 2017-12-15
5
+ tertiary-column: none
6
+ menuInclude: yes
7
+ menuTopTitle: Classic
8
+ menuSubs:
9
+ - title: About Menu Items
10
+ index: 5
11
+ excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
12
+ ---
13
+ Menu items are created through YAML front matter, except for the `Home` and the `Categories` items.
14
+
15
+ ### Home and Categories
16
+
17
+ The `Home` item is always present. The `Categories` item can be disabled by setting the parameter `site.data.setup.generate-categories-menu` to _no_.
18
+
19
+ The Categories menu item is automatically suppressed when the `site.data.setup.drop-down-menu` parameter is set to _no_. This is done because the categories menu itself has no landing page and hence category selection would not be possible. There is categories widget available to make the categories accessable from any other place. By default that widget is included in the secondary-column.
20
+
21
+ ### Frontmatter
22
+
23
+ There are several front matter parameters that can be used to configure the menu.
24
+
25
+ To create a top menu item (shown in the menubar below the banner):
26
+
27
+ - __menuTopTitle__: This is the name of the item that will appear in the menubar when `menuInclude` is set to _yes_.
28
+ - __menuInclude__: Set to _yes_ to include the menu items that are defined in this front matter.
29
+ - __menuTopIndex__: A number that is used to sort the menu items from left to right. Lower numbers appear to the left of higher numbers. But the `Home` item always appears at the very left. When `Categories` are included, they always appear at the very right. Make sure not to use duplicate numbers as that will lead to odd effects.
30
+ - __menuLink__: Set to _no_ to disable the creation of a link from the menu item. This can be useful to create dividers or when a top item itself has no landing page. Note that when the drop down menu is disabled top items without links become unusable.
31
+
32
+ While the old syntax for creating sub-menu items still works, it is no longer mentioned here. Its use is discouraged.
33
+
34
+ To create sub menu items and sub-sub menu items use the new frontmatter:
35
+
36
+ - __menuSubs__: This is the initiation of the new frontmatter used to create sub and sub-sub menu items.
37
+
38
+ After the initiation use a `-` symbol to start a new sub menu item like this:
39
+
40
+ ---
41
+ ... other stuff
42
+ menuTopTitle: Classic
43
+ menuSubs:
44
+ - title: sub-item-1
45
+ index: 1
46
+ link: yes
47
+ url: http://example.com/anypage.html
48
+ anchorId: id-of-anchored-html-item
49
+ - title: "----"
50
+ index: 2
51
+ link: no
52
+ - title: sub-item-3
53
+ ---
54
+
55
+ This example is discussed below.
56
+
57
+ #### menuTopTitle
58
+
59
+ The top title links the page to the proper top level menu item. It is mandatory, without it no sub menu item can be created.
60
+
61
+ Note that when the drop down menu is used there does not need to be a page for the top menu item itself. However without the drop down menu and without a page linked to the top title, the menu item would simply sit in the menubar without any connections. It is therefore recommended to always provide a landing page for the top title. Even if it just tells the user to "select a subject from the menu".
62
+
63
+ #### title
64
+
65
+ This is the only mandatory item, it is the text used for the sub menu item.
66
+
67
+ Unless overriden by other frontmatter it will have:
68
+
69
+ - a link to the page in which it is defined.
70
+ - the sub-menu item ordering is random, though often alphabetically (Seems to depends on the file system).
71
+ - the url will be the page url of the page in which it is created.
72
+ - no anchor id will be used.
73
+
74
+ #### index
75
+
76
+ This determines the ordering of the sub-menu items. Lower numbers will appear above higher numbers. Make sure not to use duplicate numbers as that will lead to odd effects. (i.e. always check the menu!)
77
+
78
+ #### link
79
+
80
+ By default _yes_ is assumed. This controls the creation of a link from the sub-menu item. It can be useful to have a separator sub-menu item without a link.
81
+
82
+ #### url
83
+
84
+ If another page (or even site) must be linked to a sub-menu item, this tag can be used.
85
+
86
+ #### anchorId
87
+
88
+ Use this to anchor the sub-menu item to a specific HTML element.
89
+
90
+ 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.
91
+
92
+ ### Sub-sub menu items
93
+
94
+ Sub-sub-menu items are created in the same way the sub-items are created, but using the `sub` parameter inside `menuSubs`:
95
+
96
+ ---
97
+ ... other stuff
98
+ menuTopTitle: Classic
99
+ menuSubs:
100
+ - title: sub-item-1
101
+ index: 1
102
+ link: yes
103
+ url: http://example.com/anypage.html
104
+ anchorId: id-of-anchored-html-item
105
+ - title: cattle
106
+ index: 2
107
+ link: no
108
+ sub:
109
+ - title: sub-sub-item-1
110
+ anchorId: horses
111
+ - title: sub-sub-item-2
112
+ anchorId: cows
113
+ - title: sub-item-3
114
+ ---
115
+
116
+ This will create two sub-sub menu items under the _cattle_ entry.
117
+
118
+ For the sub-sub menu entries the same tags as for the sub-menus can be used. (`link`, `index`, `url` and `anchorId`)