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,21 @@
1
+ {%- comment -%}<!--
2
+
3
+ Usage:
4
+
5
+ Enable the cookie consent script by setting the "_data/setup.yml" item `enable-cookies-policy` to `yes`.
6
+
7
+ Configure the text for the message and the buttons in "_data/text-for.yml" for the items `tUsesCookies`, `tCookieOk` and `tMoreInfo`
8
+
9
+ -->{%- endcomment -%}
10
+ {%- assign usesCookies = 'This site uses cookies' -%}
11
+ {%- if site.data.text-for.tUsesCookies -%}{%- assign usesCookies = site.data.text-for.tUsesCookies -%}{%- endif -%}
12
+ {%- assign cookieOk = 'OK' -%}
13
+ {%- if site.data.text-for.tCookieOk -%}{%- assign cookieOk = site.data.text-for.tCookieOk -%}{%- endif -%}
14
+ {%- assign moreInfo = 'More info' -%}
15
+ {%- if site.data.text-for.tMoreInfo -%}{%- assign moreInfo = site.data.text-for.tMoreInfo -%}{%- endif -%}
16
+ <script type="text/javascript">
17
+ window.cookieconsent_options = {"message":"{{ usesCookies }}","dismiss":"{{ cookieOk }}","learnMore":"{{ moreInfo}}","link":"/pages/cookie-consent/cookie-consent.html | relative_url ","theme":"dark-top"};
18
+ </script>
19
+
20
+ <script type="text/javascript" src="/assets/js/cookieconsent.min.js | relative_url "></script>
21
+ <!-- End Cookie Consent plugin -->
@@ -0,0 +1,71 @@
1
+
2
+ <!-- include older-posts.html -->
3
+ {%- if jekyll.environment != 'production' and site.data.setup.fast-content-build -%}{%- else -%}
4
+ {%- comment -%}<!--
5
+
6
+ Usage:
7
+
8
+ Translations can be configure in the _data/text-for.yml file for the items `tOlderPosts` and `tMonths`.
9
+
10
+ -->{%- endcomment %}
11
+ <div class="older-posts">
12
+ {%- assign olderPosts = 'Older Posts' -%}
13
+ {%- if site.data.text-for.tOlderPosts -%}{%- assign olderPosts = site.data.text-for.tOlderPosts -%}{%- endif -%}
14
+ {%- assign currentYear = "" -%}
15
+ {%- assign currentMonth = "" -%}
16
+ {%- assign yearDetails = false -%}
17
+ {%- assign monthDetails = false %}
18
+ <h1>{{ olderPosts }}:</h1>
19
+ {%- for post in site.posts -%}
20
+ {%- assign postYear = post.date | date: "%Y" -%}
21
+ {%- assign postMonth = post.date | date: "%m" -%}
22
+ {%- if postYear != currentYear -%}
23
+ {%- assign currentYear = postYear -%}
24
+ {%- if monthDetails %}
25
+ </details>
26
+ {%- assign monthDetails == false -%}
27
+ {%- endif -%}
28
+ {%- if yearDetails %}
29
+ </details>
30
+ {%- assign yearDetails == false -%}
31
+ {%- endif %}
32
+ <details class="year-details">
33
+ <summary>{{ currentYear }}</summary>
34
+ {%- assign yearDetails = true -%}
35
+ {%- endif -%}
36
+ {%- if postMonth != currentMonth -%}
37
+ {%- if postMonth == '01' -%}{%- assign monthString = site.data.text-for.tMonths[1] -%}
38
+ {%- elsif postMonth == '02' -%}{%- assign monthString = site.data.text-for.tMonths[2] -%}
39
+ {%- elsif postMonth == '03' -%}{%- assign monthString = site.data.text-for.tMonths[3] -%}
40
+ {%- elsif postMonth == '04' -%}{%- assign monthString = site.data.text-for.tMonths[4] -%}
41
+ {%- elsif postMonth == '05' -%}{%- assign monthString = site.data.text-for.tMonths[5] -%}
42
+ {%- elsif postMonth == '06' -%}{%- assign monthString = site.data.text-for.tMonths[6] -%}
43
+ {%- elsif postMonth == '07' -%}{%- assign monthString = site.data.text-for.tMonths[7] -%}
44
+ {%- elsif postMonth == '08' -%}{%- assign monthString = site.data.text-for.tMonths[8] -%}
45
+ {%- elsif postMonth == '09' -%}{%- assign monthString = site.data.text-for.tMonths[9] -%}
46
+ {%- elsif postMonth == '10' -%}{%- assign monthString = site.data.text-for.tMonths[10] -%}
47
+ {%- elsif postMonth == '11' -%}{%- assign monthString = site.data.text-for.tMonths[11] -%}
48
+ {%- elsif postMonth == '12' -%}{%- assign monthString = site.data.text-for.tMonths[12] -%}
49
+ {%- endif -%}
50
+ {%- assign currentMonth = postMonth -%}
51
+ {%- if monthDetails %}
52
+ </details>
53
+ {%- assign monthDetails == false -%}
54
+ {%- endif %}
55
+ <details class="month-details">
56
+ <summary>{{ monthString }}</summary>
57
+ {%- assign monthDetails = true -%}
58
+ {%- endif %}
59
+ <a href="{{ post.url | relative_url }}"><p>{{ post.title }}</p></a>
60
+ {%- endfor -%}
61
+ {%- if monthDetails %}
62
+ </details>
63
+ {%- assign monthDetails == false -%}
64
+ {%- endif %}
65
+ {%- if yearDetails %}
66
+ </details>
67
+ {%- assign yearDetails == false -%}
68
+ {%- endif %}
69
+ </div>
70
+ {%- endif %}
71
+ <!-- end of include older-posts.html -->
@@ -0,0 +1,24 @@
1
+
2
+ <!-- include recent-posts.html -->
3
+ {%- if jekyll.environment != 'production' and site.data.setup.fast-content-build -%}{%- else -%}
4
+ {%- comment -%}<!--
5
+
6
+ Usage:
7
+
8
+ Configure the number of referenced posts by assigning a value to `number-of-recent-posts-in-widget` in the file "_data/setup.yml".
9
+
10
+ Configure the text for the header message in "_data/text-for.yml" for the item `tRecent`.
11
+
12
+ -->{%- endcomment %}
13
+ <div>
14
+ {%- assign recent = 'Recent' -%}
15
+ {%- if site.data.text-for.tRecent -%}
16
+ {%- assign recent = site.data.text-for.tRecent -%}
17
+ {%- endif %}
18
+ <h1>{{ recent }}:</h1>
19
+ {%- for post in site.posts limit: site.data.setup.number-of-recent-posts-in-widget %}
20
+ <p><a href="{{ post.url | relative_url }}">{% if post.date %}{{ post.date | date: "%F" }}{% endif %} {{ post.title }}</a></p>
21
+ {%- endfor %}
22
+ </div>
23
+ {%- endif %}
24
+ <!-- end of include recent-posts.html -->
@@ -0,0 +1,7 @@
1
+
2
+ <!-- include icon-github.html -->
3
+ <a href="https://github.com/{{ include.username }}">
4
+ <span class="icon icon--github">{%- include widgets/social-media-res/icon-github.svg -%}</span>
5
+ <span class="username">{{ include.username }}</span>
6
+ </a>
7
+ <!-- end of include icon-github.html -->
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
@@ -0,0 +1,7 @@
1
+
2
+ <!-- include icon-twitter.html -->
3
+ <a href="https://twitter.com/{{ include.username }}">
4
+ <span class="icon icon--twitter">{%- include widgets/social-media-res/icon-twitter.svg -%}</span>
5
+ <span class="username">{{ include.username }}</span>
6
+ </a>
7
+ <!-- end of include icon-twitter.html -->
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
@@ -0,0 +1,29 @@
1
+
2
+ <!-- include social-media.html -->
3
+ {%- comment -%}<!--
4
+
5
+ Usage:
6
+
7
+ Configure the github-username and twitter-username in `_config.yml`.
8
+
9
+ Configure the text for the header message in "_data/text-for.yml" for the item `tSocialMediaResources`.
10
+
11
+ -->{%- endcomment %}
12
+ <div>
13
+ {%- assign message = 'Social Media & Resources' -%}
14
+ {%- if site.data.text-for.tSocialMediaResources -%}
15
+ {%- assign message = site.data.text-for.tSocialMediaResources -%}
16
+ {%- endif %}
17
+ <h1>{{ message }}:</h1>
18
+ {%- if site.github_username %}
19
+ <div>
20
+ {% include widgets/social-media-res/icon-github.html username=site.github_username %}
21
+ </div>
22
+ {%- endif -%}
23
+ {%- if site.twitter_username %}
24
+ <div>
25
+ {% include widgets/social-media-res/icon-twitter.html username=site.twitter_username %}
26
+ </div>
27
+ {%- endif %}
28
+ </div>
29
+ <!-- end of include social-media.html -->
@@ -0,0 +1,18 @@
1
+
2
+ <!-- include subscribe.html -->
3
+ {%- comment -%}<!--
4
+
5
+ Usage:
6
+
7
+ Configure the text for the header message in "_data/text-for.yml" for the item `tSubscribe`.
8
+
9
+ -->{%- endcomment %}
10
+ <div>
11
+ {%- assign subscribe = 'Subscribe' -%}
12
+ {%- if site.data.text-for.tSubscribe -%}
13
+ {%- assign subscribe = site.data.text-for.tSubscribe -%}
14
+ {%- endif %}
15
+ <h1>{{ subscribe }}:</h1>
16
+ <p class="rss-subscribe"><a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
17
+ </div>
18
+ <!-- end of include subscribe.html -->
@@ -0,0 +1,38 @@
1
+
2
+ <!-- include youtube-player.html for {{include.video}} -->
3
+ {%- comment -%}<!--
4
+
5
+ Purpose:
6
+
7
+ To include a youtube video player in HD format in a column. The player will size (dynamically) with te size of the column. It will take up the entire available width, so if margins are needed, apply these to the object this player is included in.
8
+
9
+
10
+ Usage:
11
+
12
+ {%- include widgets/youtube-player.html video='Identifier of the video' -%}
13
+
14
+
15
+ Also needs the following CSS (written in SASS, included in `_sass/_widgets.scss`):
16
+
17
+ .scaling-iframe-wrapper-hd {
18
+ position: relative;
19
+ padding-bottom: 56.25%; // HD ratio is 16:9 => (9/16)*100%= 56.25%
20
+ padding-top: 30px;
21
+ overflow: hidden;
22
+ margin-top: $vspacing-unit;
23
+ margin-bottom: $vspacing-unit;
24
+ iframe {
25
+ // Allows component to extend over the padding area
26
+ position: absolute;
27
+ // Let the upper left corner be the upper left corner of the containg element
28
+ top: 0;
29
+ left: 0;
30
+ // Make the iframe as big as its container.
31
+ width: 100%;
32
+ height: 100%;
33
+ }
34
+ }
35
+
36
+ -->{%- endcomment %}
37
+ <div class="scaling-iframe-wrapper-hd"><iframe src="https://www.youtube.com/embed/{{ include.video }}"></iframe></div>
38
+ <!-- end of include youtube-player.html -->
@@ -0,0 +1 @@
1
+ {% include banner-area.html %}
@@ -0,0 +1,51 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <!-- Start of generated category page -->
5
+ <article class="page">
6
+ {%- assign category = 'Category' -%}
7
+ {%- if site.data.text-for.tCategory -%}{%- assign category = site.data.text-for.tCategory -%}{%- endif %}
8
+ <header class="page-header">
9
+ <h1 class="page-title">{{ category }}: {{ page.title | capitalize }}</h1>
10
+ </header>
11
+ {%- assign found = false -%}
12
+ {%- for post in site.posts -%}
13
+ {%- if post.categories -%}
14
+ {%- for cat in post.categories -%}
15
+ {%- if cat == page.title -%}
16
+ {%- assign found = true %}
17
+ <div class="category-post">
18
+ <h2 class="cp-header">
19
+ <span class="cph-title">{{ post.title }}</span>
20
+ <span class="post-meta">{{ post.date | date: "%F" }}</span>
21
+ </h2>
22
+ {%- if post.tags.size > 0 -%}
23
+ {%- assign tags = 'Tags' -%}
24
+ {%- if site.data.text-for.tTags -%}
25
+ {%- assign tags = site.data.text-for.tTags -%}
26
+ {%- endif %}
27
+ <p class="post-tags">{{ tags }}: <span>
28
+ {%- for tag in post.tags -%}
29
+ {{ tag }}{%- if tag != post.tags.last -%}, {%- endif -%}
30
+ {%- endfor -%}</span>
31
+ </p>
32
+ {%- endif -%}
33
+ {%- assign more = 'more' -%}
34
+ {%- if site.data.text-for.tMore -%}
35
+ {%- assign more = site.data.text-for.tMore -%}
36
+ {%- endif %}
37
+ <p>{{ post.excerpt | remove: '<p>' | remove: '</p>' }}<a href="{{ post.url }}">{{ more }}...</a></p>
38
+ </div>
39
+ {%- endif -%}
40
+ {%- endfor -%}
41
+ {%- endif -%}
42
+ {%- endfor -%}
43
+ {%- if found == false -%}
44
+ {%- assign message = 'No blogposts found for this category' -%}
45
+ {%- if site.data.text-for.tNoBlogpostFound -%}
46
+ {%- assign message = site.data.text-for.tNoBlogpostFound -%}
47
+ {%- endif %}
48
+ <div><p style="text-align: center;">{{ message }}</p></div>
49
+ {%- endif %}
50
+ </article>
51
+ <!-- End of generated category page -->
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="cblock-page">
5
+ {% include cblock-row.html title="Content Blocks" cblocks=site.data.cblocks %}
6
+ </div>
@@ -0,0 +1,152 @@
1
+ <!DOCTYPE html>
2
+
3
+ {%- comment -%}<!-- Determine placing of secondary column -->{%- endcomment -%}
4
+
5
+ {%- if page.secondary-column -%}
6
+ {%- if page.secondary-column == 'left' -%}
7
+ {%- assign secondary-column = 'left' -%}
8
+ {%- endif -%}
9
+ {%- if page.secondary-column == 'right' -%}
10
+ {%- assign secondary-column = 'right' -%}
11
+ {%- endif -%}
12
+ {%- else -%}
13
+ {%- if site.data.setup.secondary-column == 'left' -%}
14
+ {%- assign secondary-column = 'left' -%}
15
+ {%- endif -%}
16
+ {%- if site.data.setup.secondary-column == 'right' -%}
17
+ {%- assign secondary-column = 'right' -%}
18
+ {%- endif -%}
19
+ {%- endif -%}
20
+
21
+
22
+ {%- comment -%}<!-- Determine content source of secondary column -->{%- endcomment -%}
23
+
24
+ {%- if page.secondary-column-content -%}
25
+ {%- assign secondary-column-content = page.secondary-column-content -%}
26
+ {%- else -%}
27
+ {%- assign secondary-column-content = 'secondary-column.html' -%}
28
+ {%- endif -%}
29
+
30
+
31
+ {%- comment -%}<!-- Determine placing of tertiary column -->{%- endcomment -%}
32
+
33
+ {%- if page.tertiary-column -%}
34
+ {%- if page.tertiary-column == 'present' -%}
35
+ {%- assign tertiary-column = 'present' -%}
36
+ {%- endif -%}
37
+ {%- else -%}
38
+ {%- if site.data.setup.tertiary-column == 'present' -%}
39
+ {%- assign tertiary-column = 'present' -%}
40
+ {%- endif -%}
41
+ {%- endif -%}
42
+
43
+
44
+ {%- comment -%}<!-- Determine content source of secondary column -->{%- endcomment -%}
45
+
46
+ {%- if page.tertiary-column-content -%}
47
+ {%- assign tertiary-column-content = page.tertiary-column-content -%}
48
+ {%- else -%}
49
+ {%- assign tertiary-column-content = 'tertiary-column.html' -%}
50
+ {%- endif -%}
51
+
52
+
53
+ {%- comment -%}<!-- Determine placing of banner-area -->{%- endcomment -%}
54
+
55
+ {%- if page.banner-position -%}
56
+ {%- assign banner-position = page.banner-position -%}
57
+ {%- elsif page.navbanner-position -%}
58
+ {%- assign banner-position = page.navbanner-position -%}
59
+ {%- else -%}
60
+ {%- assign banner-position = site.data.setup.banner-position -%}
61
+ {%- endif %}
62
+ <html>
63
+ {% include head.html %}
64
+
65
+ <body class="body-panel">
66
+
67
+ {%- if banner-position == 'top' or banner-position == 'top-fixed' -%}
68
+ {%- if site.data.setup.use-separate-banner-menubar-file %}
69
+ <div id="navFrame"><script>$("#navFrame").load("/banner-area.html");</script></div>
70
+ {%- else -%}
71
+ {%- include banner-area.html -%}
72
+ {%- endif -%}
73
+ {%- endif %}
74
+
75
+ <div class="column-panel">
76
+
77
+ {%- if secondary-column == 'left' %}
78
+ <div class="secondary-column">
79
+ <div class="secondary-column-content">
80
+ {%- if site.data.setup.drop-down-menu -%}{%- else -%}
81
+ {%- include vertical-menu.html label-modifier="a" -%}
82
+ {%- endif %}
83
+ {% include {{ secondary-column-content }} label-modifier="a" %}
84
+ </div>
85
+ {%- if tertiary-column == 'present' %}
86
+ <div class="tertiary-column-content">
87
+ {% include {{ tertiary-column-content }} %}
88
+ </div>
89
+ {%- endif %}
90
+ </div>
91
+ <div class="secondary-separator"></div>
92
+ {%- else -%}
93
+ {%- if tertiary-column == 'present' %}
94
+ <div class="tertiary-column">
95
+ <div class="tertiary-column-content">
96
+ {% include {{ tertiary-column-content }} %}
97
+ </div>
98
+ </div>
99
+ <div class="tertiary-separator"></div>
100
+ {%- endif -%}
101
+ {%- endif %}
102
+
103
+ <div class="primary-column">
104
+ {%- if banner-position == 'main' -%}
105
+ {%- if site.data.setup.use-separate-banner-menubar-file %}
106
+ <div id="navFrame"><script>$("#navFrame").load("/banner-area.html");</script></div>
107
+ {%- else -%}
108
+ {% include banner-area.html %}
109
+ {%- endif -%}
110
+ {%- endif %}
111
+ <main>
112
+
113
+ <!-- Start of main content -->
114
+ {{ content }}
115
+ <!-- End of main content -->
116
+
117
+ </main>
118
+ </div>
119
+
120
+ {%- if secondary-column == 'right' %}
121
+ <div class="secondary-separator"></div>
122
+ <div class="secondary-column">
123
+ <div class="secondary-column-content">
124
+ {%- if site.data.setup.drop-down-menu -%}{%- else -%}
125
+ {% include vertical-menu.html label-modifier="c" %}
126
+ {%- endif -%}
127
+ {% include {{ secondary-column-content }} label-modifier="b" %}
128
+ </div>
129
+ {%- if tertiary-column == 'present' %}
130
+ <div class="tertiary-column-content">
131
+ {%- include {{ tertiary-column-content }} %}
132
+ </div>
133
+ {%- endif -%}
134
+ </div>
135
+ {%- else -%}
136
+ {%- if tertiary-column == 'present' %}
137
+ <div class="tertiary-separator"></div>
138
+ <div class="tertiary-column">
139
+ <div class="tertiary-column-content">
140
+ {% include {{ tertiary-column-content }} %}
141
+ </div>
142
+ </div>
143
+ {%- endif -%}
144
+ {%- endif %}
145
+
146
+ </div>
147
+ <div class="footer-separator"></div>
148
+ <div class="footer-panel">
149
+ {% include footer.html %}
150
+ </div>
151
+ </body>
152
+ </html>