jekyll-theme-primcraft 0.0.21 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +41 -41
  3. data/_includes/carousel.html +65 -65
  4. data/_includes/fmi.html +15 -15
  5. data/_includes/full-post-list.html +8 -8
  6. data/_includes/page-tags.html +9 -9
  7. data/_includes/page-title.html +4 -4
  8. data/_includes/post-link.html +7 -7
  9. data/_includes/post-preview.html +28 -28
  10. data/_includes/recent-annoucements.html +6 -6
  11. data/_includes/recent-post-list.html +23 -23
  12. data/_includes/related.html +15 -15
  13. data/_includes/server-nav.html +23 -23
  14. data/_includes/server-splash.html +35 -35
  15. data/_includes/server-status.html +18 -18
  16. data/_includes/server-tags.html +3 -3
  17. data/_includes/tfna.html +9 -9
  18. data/_includes/toc.html +7 -7
  19. data/_includes/username.html +10 -10
  20. data/_layouts/archive.html +22 -22
  21. data/_layouts/category.html +8 -8
  22. data/_layouts/content.html +13 -13
  23. data/_layouts/tag.html +8 -8
  24. data/_layouts/user.html +40 -40
  25. data/_sass/_alert.scss +52 -0
  26. data/_sass/_badge.scss +54 -0
  27. data/_sass/_breadcrumb.scss +42 -0
  28. data/_sass/_button-group.scss +163 -0
  29. data/_sass/_buttons.scss +142 -0
  30. data/_sass/_card.scss +286 -0
  31. data/_sass/_carousel.scss +200 -0
  32. data/_sass/_close.scss +40 -0
  33. data/_sass/_code.scss +48 -0
  34. data/_sass/_custom-forms.scss +526 -0
  35. data/_sass/_dropdown.scss +192 -0
  36. data/_sass/_forms.scss +347 -0
  37. data/_sass/_functions.scss +190 -0
  38. data/_sass/_grid.scss +73 -0
  39. data/_sass/_images.scss +42 -0
  40. data/_sass/_input-group.scss +211 -0
  41. data/_sass/_jumbotron.scss +17 -0
  42. data/_sass/_list-group.scss +154 -0
  43. data/_sass/_media.scss +8 -0
  44. data/_sass/_mixins.scss +47 -0
  45. data/_sass/_modal.scss +240 -0
  46. data/_sass/_nav.scss +125 -0
  47. data/_sass/_navbar.scss +332 -0
  48. data/_sass/_pagination.scss +74 -0
  49. data/_sass/_popover.scss +170 -0
  50. data/_sass/_print.scss +132 -0
  51. data/_sass/_progress.scss +47 -0
  52. data/_sass/_reboot.scss +484 -0
  53. data/_sass/_root.scss +19 -0
  54. data/_sass/_spinners.scss +65 -0
  55. data/_sass/_tables.scss +185 -0
  56. data/_sass/_toasts.scss +46 -0
  57. data/_sass/_tooltip.scss +115 -0
  58. data/_sass/_transitions.scss +26 -0
  59. data/_sass/_type.scss +125 -0
  60. data/_sass/_utilities.scss +18 -0
  61. data/_sass/_variables.scss +1149 -0
  62. data/_sass/bootstrap-grid.scss +30 -0
  63. data/_sass/bootstrap-reboot.scss +12 -0
  64. data/_sass/bootstrap.scss +44 -0
  65. data/_sass/bootswatch/cerulean/_bootswatch.scss +102 -0
  66. data/_sass/bootswatch/cerulean/_variables.scss +57 -0
  67. data/_sass/bootswatch/cerulean/bootstrap.css +10452 -0
  68. data/_sass/bootswatch/cerulean/bootstrap.min.css +12 -0
  69. data/_sass/bootswatch/cosmo/_bootswatch.scss +27 -0
  70. data/_sass/bootswatch/cosmo/_variables.scss +67 -0
  71. data/_sass/bootswatch/cosmo/bootstrap.css +10078 -0
  72. data/_sass/bootswatch/cosmo/bootstrap.min.css +12 -0
  73. data/_sass/bootswatch/cyborg/_bootswatch.scss +330 -0
  74. data/_sass/bootswatch/cyborg/_variables.scss +169 -0
  75. data/_sass/bootswatch/cyborg/bootstrap.css +10640 -0
  76. data/_sass/bootswatch/cyborg/bootstrap.min.css +12 -0
  77. data/_sass/bootswatch/darkly/_bootswatch.scss +247 -0
  78. data/_sass/bootswatch/darkly/_variables.scss +164 -0
  79. data/_sass/bootswatch/darkly/bootstrap.css +10544 -0
  80. data/_sass/bootswatch/darkly/bootstrap.min.css +12 -0
  81. data/_sass/bootswatch/flatly/_bootswatch.scss +274 -0
  82. data/_sass/bootswatch/flatly/_variables.scss +106 -0
  83. data/_sass/bootswatch/flatly/bootstrap.css +10550 -0
  84. data/_sass/bootswatch/flatly/bootstrap.min.css +12 -0
  85. data/_sass/bootswatch/journal/_bootswatch.scss +62 -0
  86. data/_sass/bootswatch/journal/_variables.scss +60 -0
  87. data/_sass/bootswatch/journal/bootstrap.css +10384 -0
  88. data/_sass/bootswatch/journal/bootstrap.min.css +12 -0
  89. data/_sass/bootswatch/litera/_bootswatch.scss +268 -0
  90. data/_sass/bootswatch/litera/_variables.scss +96 -0
  91. data/_sass/bootswatch/litera/bootstrap.css +10573 -0
  92. data/_sass/bootswatch/litera/bootstrap.min.css +12 -0
  93. data/_sass/bootswatch/lumen/_bootswatch.scss +532 -0
  94. data/_sass/bootswatch/lumen/_variables.scss +85 -0
  95. data/_sass/bootswatch/lumen/bootstrap.css +10763 -0
  96. data/_sass/bootswatch/lumen/bootstrap.min.css +12 -0
  97. data/_sass/bootswatch/lux/_bootswatch.scss +191 -0
  98. data/_sass/bootswatch/lux/_variables.scss +103 -0
  99. data/_sass/bootswatch/lux/bootstrap.css +10210 -0
  100. data/_sass/bootswatch/lux/bootstrap.min.css +12 -0
  101. data/_sass/bootswatch/materia/_bootswatch.scss +747 -0
  102. data/_sass/bootswatch/materia/_variables.scss +129 -0
  103. data/_sass/bootswatch/materia/bootstrap.css +11807 -0
  104. data/_sass/bootswatch/materia/bootstrap.min.css +12 -0
  105. data/_sass/bootswatch/minty/_bootswatch.scss +380 -0
  106. data/_sass/bootswatch/minty/_variables.scss +94 -0
  107. data/_sass/bootswatch/minty/bootstrap.css +10636 -0
  108. data/_sass/bootswatch/minty/bootstrap.min.css +12 -0
  109. data/_sass/bootswatch/pulse/_bootswatch.scss +145 -0
  110. data/_sass/bootswatch/pulse/_variables.scss +96 -0
  111. data/_sass/bootswatch/pulse/bootstrap.css +10183 -0
  112. data/_sass/bootswatch/pulse/bootstrap.min.css +12 -0
  113. data/_sass/bootswatch/sandstone/_bootswatch.scss +243 -0
  114. data/_sass/bootswatch/sandstone/_variables.scss +129 -0
  115. data/_sass/bootswatch/sandstone/bootstrap.css +10498 -0
  116. data/_sass/bootswatch/sandstone/bootstrap.min.css +12 -0
  117. data/_sass/bootswatch/simplex/_bootswatch.scss +129 -0
  118. data/_sass/bootswatch/simplex/_variables.scss +103 -0
  119. data/_sass/bootswatch/simplex/bootstrap.css +10466 -0
  120. data/_sass/bootswatch/simplex/bootstrap.min.css +12 -0
  121. data/_sass/bootswatch/sketchy/_bootswatch.scss +498 -0
  122. data/_sass/bootswatch/sketchy/_variables.scss +159 -0
  123. data/_sass/bootswatch/sketchy/bootstrap.css +10776 -0
  124. data/_sass/bootswatch/sketchy/bootstrap.min.css +12 -0
  125. data/_sass/bootswatch/slate/_bootswatch.scss +531 -0
  126. data/_sass/bootswatch/slate/_variables.scss +163 -0
  127. data/_sass/bootswatch/slate/bootstrap.css +10837 -0
  128. data/_sass/bootswatch/slate/bootstrap.min.css +12 -0
  129. data/_sass/bootswatch/solar/_bootswatch.scss +243 -0
  130. data/_sass/bootswatch/solar/_variables.scss +171 -0
  131. data/_sass/bootswatch/solar/bootstrap.css +10606 -0
  132. data/_sass/bootswatch/solar/bootstrap.min.css +12 -0
  133. data/_sass/bootswatch/spacelab/_bootswatch.scss +98 -0
  134. data/_sass/bootswatch/spacelab/_variables.scss +62 -0
  135. data/_sass/bootswatch/spacelab/bootstrap.css +10543 -0
  136. data/_sass/bootswatch/spacelab/bootstrap.min.css +12 -0
  137. data/_sass/bootswatch/superhero/_bootswatch.scss +302 -0
  138. data/_sass/bootswatch/superhero/_variables.scss +151 -0
  139. data/_sass/bootswatch/superhero/bootstrap.css +10611 -0
  140. data/_sass/bootswatch/superhero/bootstrap.min.css +12 -0
  141. data/_sass/bootswatch/united/_bootswatch.scss +10 -0
  142. data/_sass/bootswatch/united/_variables.scss +54 -0
  143. data/_sass/bootswatch/united/bootstrap.css +10339 -0
  144. data/_sass/bootswatch/united/bootstrap.min.css +12 -0
  145. data/_sass/bootswatch/yeti/_bootswatch.scss +586 -0
  146. data/_sass/bootswatch/yeti/_variables.scss +110 -0
  147. data/_sass/bootswatch/yeti/bootstrap.css +10812 -0
  148. data/_sass/bootswatch/yeti/bootstrap.min.css +12 -0
  149. data/_sass/mixins/_alert.scss +13 -0
  150. data/_sass/mixins/_background-variant.scss +23 -0
  151. data/_sass/mixins/_badge.scss +17 -0
  152. data/_sass/mixins/_border-radius.scss +76 -0
  153. data/_sass/mixins/_box-shadow.scss +20 -0
  154. data/_sass/mixins/_breakpoints.scss +123 -0
  155. data/_sass/mixins/_buttons.scss +110 -0
  156. data/_sass/mixins/_caret.scss +62 -0
  157. data/_sass/mixins/_clearfix.scss +7 -0
  158. data/_sass/mixins/_deprecate.scss +10 -0
  159. data/_sass/mixins/_float.scss +14 -0
  160. data/_sass/mixins/_forms.scss +195 -0
  161. data/_sass/mixins/_gradients.scss +45 -0
  162. data/_sass/mixins/_grid-framework.scss +80 -0
  163. data/_sass/mixins/_grid.scss +69 -0
  164. data/_sass/mixins/_hover.scss +37 -0
  165. data/_sass/mixins/_image.scss +36 -0
  166. data/_sass/mixins/_list-group.scss +21 -0
  167. data/_sass/mixins/_lists.scss +7 -0
  168. data/_sass/mixins/_nav-divider.scss +11 -0
  169. data/_sass/mixins/_pagination.scss +22 -0
  170. data/_sass/mixins/_reset-text.scss +17 -0
  171. data/_sass/mixins/_resize.scss +6 -0
  172. data/_sass/mixins/_screen-reader.scss +34 -0
  173. data/_sass/mixins/_size.scss +7 -0
  174. data/_sass/mixins/_table-row.scss +39 -0
  175. data/_sass/mixins/_text-emphasis.scss +17 -0
  176. data/_sass/mixins/_text-hide.scss +11 -0
  177. data/_sass/mixins/_text-truncate.scss +8 -0
  178. data/_sass/mixins/_transition.scss +26 -0
  179. data/_sass/mixins/_visibility.scss +8 -0
  180. data/_sass/utilities/_align.scss +8 -0
  181. data/_sass/utilities/_background.scss +19 -0
  182. data/_sass/utilities/_borders.scss +75 -0
  183. data/_sass/utilities/_clearfix.scss +3 -0
  184. data/_sass/utilities/_display.scss +26 -0
  185. data/_sass/utilities/_embed.scss +39 -0
  186. data/_sass/utilities/_flex.scss +51 -0
  187. data/_sass/utilities/_float.scss +11 -0
  188. data/_sass/utilities/_interactions.scss +5 -0
  189. data/_sass/utilities/_overflow.scss +5 -0
  190. data/_sass/utilities/_position.scss +32 -0
  191. data/_sass/utilities/_screenreaders.scss +11 -0
  192. data/_sass/utilities/_shadows.scss +6 -0
  193. data/_sass/utilities/_sizing.scss +20 -0
  194. data/_sass/utilities/_spacing.scss +73 -0
  195. data/_sass/utilities/_stretched-link.scss +19 -0
  196. data/_sass/utilities/_text.scss +72 -0
  197. data/_sass/utilities/_visibility.scss +13 -0
  198. data/_sass/vendor/_rfs.scss +228 -0
  199. data/assets/main.scss +6 -4
  200. metadata +196 -49
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f31c951b9dc4ecfa82bc23b695c13aee93784dca6a28ad68489ed982218ec1b
4
- data.tar.gz: 06e7786976005accbadbd3894006fcefcef4a7b696a3ec7cf423507b90241a1c
3
+ metadata.gz: 0b63b7fa51fdb7c05f7690e3f44c9d1e8d207673d52eae6c6bd0519f6e7adf8c
4
+ data.tar.gz: 38cf0430dc752d78ce26ca25ee61828af8d9d3a34020f1f3ef44dc99ce7a7290
5
5
  SHA512:
6
- metadata.gz: bd53fa38869ce25ef74a50181714dfb615c1bcb2f68af3d3ec3589fcfe38d9696e17ef537b0a1c7f3530fcde94602d6615cbd71971892ecd1cc2c9132b1e8ada
7
- data.tar.gz: cbcb57a686525a30af66d4980408b6f405f638e03a0b02ce7115f6580510e9cf68076eabfa9937fb8a902e9fa9d75ecc9e4be96c3d5af5c52aeec6fd56347932
6
+ metadata.gz: 96b35dbd56ee60e0c5bf879d952098ce1c5eafcb151cb65841f9bab35eaf68069eab82d14a6a2915fa58937fb89d4afb3f69924aee72712a932b2225f9d12e65
7
+ data.tar.gz: 32b2224812329abdcaf78c503cd819aa6cb100eda5e4a4327da057ef1b477cb7f400508a0a76b7ef9784f5ed6c011f89febf26f98bdb5805c9032234106c91de
data/README.md CHANGED
@@ -1,41 +1,41 @@
1
- # jekyll-theme-primcraft
2
-
3
- A jekyll theme custom made for primcraft.com.
4
-
5
-
6
- ## Installation
7
-
8
- Add this line to your Jekyll site's `Gemfile`:
9
-
10
- ```ruby
11
- gem "jekyll-theme-primcraft"
12
- ```
13
-
14
- And add this line to your Jekyll site's `_config.yml`:
15
-
16
- ```yaml
17
- theme: jekyll-theme-primcraft
18
- ```
19
-
20
- And then execute:
21
-
22
- $ bundle
23
-
24
- Or install it yourself as:
25
-
26
- $ gem install jekyll-theme-primcraft
27
-
28
-
29
- ## Development
30
-
31
- To set up your environment to develop this theme, run `bundle install`.
32
-
33
- Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
34
-
35
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
36
- To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-primcraft.gemspec` accordingly.
37
-
38
- ## License
39
-
40
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
41
-
1
+ # jekyll-theme-primcraft
2
+
3
+ A jekyll theme custom made for primcraft.com.
4
+
5
+
6
+ ## Installation
7
+
8
+ Add this line to your Jekyll site's `Gemfile`:
9
+
10
+ ```ruby
11
+ gem "jekyll-theme-primcraft"
12
+ ```
13
+
14
+ And add this line to your Jekyll site's `_config.yml`:
15
+
16
+ ```yaml
17
+ theme: jekyll-theme-primcraft
18
+ ```
19
+
20
+ And then execute:
21
+
22
+ $ bundle
23
+
24
+ Or install it yourself as:
25
+
26
+ $ gem install jekyll-theme-primcraft
27
+
28
+
29
+ ## Development
30
+
31
+ To set up your environment to develop this theme, run `bundle install`.
32
+
33
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
34
+
35
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
36
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-primcraft.gemspec` accordingly.
37
+
38
+ ## License
39
+
40
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
41
+
@@ -1,66 +1,66 @@
1
- {%- if include.page.carousel.size > 0 -%}
2
- <div id="carousel-indicators" class="carousel slide my-5" data-ride="carousel">
3
- <ol class="carousel-indicators">
4
- {%- for car in include.page.carousel limit: 1 -%}
5
- <li data-target="#carousel-indicators" data-slide-to="{{ forloop.index0 }}" class="active"></li>
6
- {%- endfor -%}
7
- {%- for car in include.page.carousel offset: 1 -%}
8
- <li data-target="#carousel-indicators" data-slide-to="{{ forloop.index }}"></li>
9
- {%- endfor -%}
10
- </ol>
11
- <div class="carousel-inner">
12
- {%- for car in include.page.carousel limit: 1 -%}
13
- <div class="carousel-item active">
14
- {%- assign src = car.src | prepend: 'carousel/' | prepend: include.page.url | prepend: '/assets' | prepend:
15
- site.baseurl_root -%}
16
- {%- capture p_x -%}{{ car.position.x | default: "center" }}{%- endcapture -%}
17
- {%- capture p_y -%}{{ car.position.y | default: "center" }}{%- endcapture -%}
18
- <img src="{{ src }}" class="d-block w-100" style="object-position: {{p_x}} {{p_y}};">
19
- <div class="carousel-caption">
20
- {%- if car.caption.titles[site.lang] -%}
21
- <h3>{{ car.caption.titles[site.lang] }}</h3>
22
- {%- elsif car.caption.title -%}
23
- <h3>{{ car.caption.title }}</h3>
24
- {%- endif -%}
25
- {%- if car.caption.descriptions[site.lang] -%}
26
- <p>{{ car.caption.descriptions[site.lang] }}</p>
27
- {%- elsif car.caption.description -%}
28
- <p>{{ car.caption.description }}</p>
29
- {%- endif -%}
30
- </div>
31
- </div>
32
- {%- endfor -%}
33
- {%- for car in include.page.carousel offset: 1 -%}
34
- <div class="carousel-item">
35
- {%- assign src = car.src | prepend: 'carousel/' | prepend: include.page.url | prepend: '/assets' | prepend:
36
- site.baseurl_root -%}
37
- {%- capture p_x -%}{{ car.position.x | default: "center" }}{%- endcapture -%}
38
- {%- capture p_y -%}{{ car.position.y | default: "center" }}{%- endcapture -%}
39
- <img src="{{ src }}" class="d-block w-100" style="object-position: {{p_x}} {{p_y}};">
40
- <div class="carousel-caption">
41
- {%- if car.caption.titles[site.lang] -%}
42
- <h3>{{ car.caption.titles[site.lang] }}</h3>
43
- {%- elsif car.caption.title -%}
44
- <h3>{{ car.caption.title }}</h3>
45
- {%- endif -%}
46
- {%- if car.caption.descriptions[site.lang] -%}
47
- <p>{{ car.caption.descriptions[site.lang] }}</p>
48
- {%- elsif car.caption.description -%}
49
- <p>{{ car.caption.description }}</p>
50
- {%- endif -%}
51
- </div>
52
- </div>
53
- {%- endfor -%}
54
- </div>
55
- <a class="carousel-control-prev" href="#carousel-indicators" role="button" data-slide="prev">
56
- <span class="carousel-control-prev-icon" aria-hidden="true"></span>
57
- <span class="sr-only">Previous</span>
58
- </a>
59
- <a class="carousel-control-next" href="#carousel-indicators" role="button" data-slide="next">
60
- <span class="carousel-control-next-icon" aria-hidden="true"></span>
61
- <span class="sr-only">Next</span>
62
- </a>
63
- </div>
64
- {%- else -%}
65
- <div class="pagetop"></div>
1
+ {%- if include.page.carousel.size > 0 -%}
2
+ <div id="carousel-indicators" class="carousel slide my-5" data-ride="carousel">
3
+ <ol class="carousel-indicators">
4
+ {%- for car in include.page.carousel limit: 1 -%}
5
+ <li data-target="#carousel-indicators" data-slide-to="{{ forloop.index0 }}" class="active"></li>
6
+ {%- endfor -%}
7
+ {%- for car in include.page.carousel offset: 1 -%}
8
+ <li data-target="#carousel-indicators" data-slide-to="{{ forloop.index }}"></li>
9
+ {%- endfor -%}
10
+ </ol>
11
+ <div class="carousel-inner">
12
+ {%- for car in include.page.carousel limit: 1 -%}
13
+ <div class="carousel-item active">
14
+ {%- assign src = car.src | prepend: 'carousel/' | prepend: include.page.url | prepend: '/assets' | prepend:
15
+ site.baseurl_root -%}
16
+ {%- capture p_x -%}{{ car.position.x | default: "center" }}{%- endcapture -%}
17
+ {%- capture p_y -%}{{ car.position.y | default: "center" }}{%- endcapture -%}
18
+ <img src="{{ src }}" class="d-block w-100" style="object-position: {{p_x}} {{p_y}};">
19
+ <div class="carousel-caption">
20
+ {%- if car.caption.titles[site.lang] -%}
21
+ <h3>{{ car.caption.titles[site.lang] }}</h3>
22
+ {%- elsif car.caption.title -%}
23
+ <h3>{{ car.caption.title }}</h3>
24
+ {%- endif -%}
25
+ {%- if car.caption.descriptions[site.lang] -%}
26
+ <p>{{ car.caption.descriptions[site.lang] }}</p>
27
+ {%- elsif car.caption.description -%}
28
+ <p>{{ car.caption.description }}</p>
29
+ {%- endif -%}
30
+ </div>
31
+ </div>
32
+ {%- endfor -%}
33
+ {%- for car in include.page.carousel offset: 1 -%}
34
+ <div class="carousel-item">
35
+ {%- assign src = car.src | prepend: 'carousel/' | prepend: include.page.url | prepend: '/assets' | prepend:
36
+ site.baseurl_root -%}
37
+ {%- capture p_x -%}{{ car.position.x | default: "center" }}{%- endcapture -%}
38
+ {%- capture p_y -%}{{ car.position.y | default: "center" }}{%- endcapture -%}
39
+ <img src="{{ src }}" class="d-block w-100" style="object-position: {{p_x}} {{p_y}};">
40
+ <div class="carousel-caption">
41
+ {%- if car.caption.titles[site.lang] -%}
42
+ <h3>{{ car.caption.titles[site.lang] }}</h3>
43
+ {%- elsif car.caption.title -%}
44
+ <h3>{{ car.caption.title }}</h3>
45
+ {%- endif -%}
46
+ {%- if car.caption.descriptions[site.lang] -%}
47
+ <p>{{ car.caption.descriptions[site.lang] }}</p>
48
+ {%- elsif car.caption.description -%}
49
+ <p>{{ car.caption.description }}</p>
50
+ {%- endif -%}
51
+ </div>
52
+ </div>
53
+ {%- endfor -%}
54
+ </div>
55
+ <a class="carousel-control-prev" href="#carousel-indicators" role="button" data-slide="prev">
56
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
57
+ <span class="sr-only">Previous</span>
58
+ </a>
59
+ <a class="carousel-control-next" href="#carousel-indicators" role="button" data-slide="next">
60
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
61
+ <span class="sr-only">Next</span>
62
+ </a>
63
+ </div>
64
+ {%- else -%}
65
+ <div class="pagetop"></div>
66
66
  {%- endif -%}
data/_includes/fmi.html CHANGED
@@ -1,16 +1,16 @@
1
- {%- comment -%}Front Matter Internationlization{%- endcomment -%}
2
- {%- if include.datas[site.lang] -%}
3
- {{ include.datas[site.lang] }}
4
- {%- else -%}
5
- {%- for lang in site.languages -%}
6
- {%- if include.datas[lang] -%}
7
- {{ include.datas[lang] }}
8
- {%- break -%}
9
- {%- endif -%}
10
- {%- if forloop.index == site.languages.size -%}
11
- {%- if include.data -%}
12
- {{ include.data }}
13
- {%- endif -%}
14
- {%- endif -%}
15
- {%- endfor -%}
1
+ {%- comment -%}Front Matter Internationlization{%- endcomment -%}
2
+ {%- if include.datas[site.lang] -%}
3
+ {{ include.datas[site.lang] }}
4
+ {%- else -%}
5
+ {%- for lang in site.languages -%}
6
+ {%- if include.datas[lang] -%}
7
+ {{ include.datas[lang] }}
8
+ {%- break -%}
9
+ {%- endif -%}
10
+ {%- if forloop.index == site.languages.size -%}
11
+ {%- if include.data -%}
12
+ {{ include.data }}
13
+ {%- endif -%}
14
+ {%- endif -%}
15
+ {%- endfor -%}
16
16
  {%- endif -%}
@@ -1,9 +1,9 @@
1
- {%- if include.limit -%}
2
- {%- for post in include.posts limit: include.limit -%}
3
- {%- include post-preview.html posts = include.posts -%}
4
- {%- endfor -%}
5
- {%- else -%}
6
- {%- for post in include.posts -%}
7
- {%- include post-preview.html posts = include.posts -%}
8
- {%- endfor -%}
1
+ {%- if include.limit -%}
2
+ {%- for post in include.posts limit: include.limit -%}
3
+ {%- include post-preview.html posts = include.posts -%}
4
+ {%- endfor -%}
5
+ {%- else -%}
6
+ {%- for post in include.posts -%}
7
+ {%- include post-preview.html posts = include.posts -%}
8
+ {%- endfor -%}
9
9
  {%- endif -%}
@@ -1,10 +1,10 @@
1
- {%- for cat in include.page.categories -%}
2
- <li class="list-inline-item">
3
- <a href="{{ cat | slugify | prepend: '/category/' | prepend: site.baseurl }}" class="badge badge-pill badge-primary">{%- t cat -%}</a>
4
- </li>
5
- {%- endfor -%}
6
- {%- for tag in include.page.tags -%}
7
- <li class="list-inline-item">
8
- <a href="{{ tag | slugify | prepend: '/tag/' | prepend: site.baseurl }}" class="badge badge-pill badge-light">{%- t tag -%}</a>
9
- </li>
1
+ {%- for cat in include.page.categories -%}
2
+ <li class="list-inline-item">
3
+ <a href="{{ cat | slugify | prepend: '/category/' | prepend: site.baseurl }}" class="badge badge-pill badge-primary">{%- t cat -%}</a>
4
+ </li>
5
+ {%- endfor -%}
6
+ {%- for tag in include.page.tags -%}
7
+ <li class="list-inline-item">
8
+ <a href="{{ tag | slugify | prepend: '/tag/' | prepend: site.baseurl }}" class="badge badge-pill badge-light">{%- t tag -%}</a>
9
+ </li>
10
10
  {%- endfor -%}
@@ -1,5 +1,5 @@
1
- {%- if include.page.["titles"][site.lang] -%}
2
- {{ include.page.titles[site.lang] | append: include.append }}
3
- {%- elsif include.page.title -%}
4
- {{ include.page.title | append: include.append }}
1
+ {%- if include.page.["titles"][site.lang] -%}
2
+ {{ include.page.titles[site.lang] | append: include.append }}
3
+ {%- elsif include.page.title -%}
4
+ {{ include.page.title | append: include.append }}
5
5
  {%- endif -%}
@@ -1,8 +1,8 @@
1
- {%- assign post = include.post -%}
2
- <a href="{{ post.url | relative_url }}">
3
- {%- if post.titles[site.lang] -%}
4
- {{ post.titles[site.lang] }}
5
- {%- else -%}
6
- {{ post.title }}
7
- {%- endif -%}
1
+ {%- assign post = include.post -%}
2
+ <a href="{{ post.url | relative_url }}">
3
+ {%- if post.titles[site.lang] -%}
4
+ {{ post.titles[site.lang] }}
5
+ {%- else -%}
6
+ {{ post.title }}
7
+ {%- endif -%}
8
8
  </a>
@@ -1,29 +1,29 @@
1
- <div class="post-list-item">
2
- <h3>
3
- {%- include post-link.html post = post -%}
4
- </h3>
5
- {%- if post.thumbnail -%}
6
- <a href="{{ post.url | relative_url }}"><img src="{{ post.thumbnail }}" class="mb-3 mw-100"></a>
7
- {%- endif -%}
8
- <p>
9
- {%- if site.show_excerpts -%}
10
- {{ post.excerpt }}
11
- {%- endif -%}
12
- </p>
13
- {%- capture total_words -%}{{ post.content | number_of_words }}{%- endcapture -%}
14
- {%- capture excerpt_words -%}{{ post.excerpt | number_of_words }}{%- endcapture -%}
15
- {%- unless total_words == excerpt_words -%}
16
- <p class="mt-4 text-center">
17
- <a href="{{ post.url | relative_url }}">{% t global.read-more %}</a>
18
- </p>
19
- {%- endunless -%}
20
- {%- assign date_format = site.dateFormats[site.lang] | default: "%b %-d, %Y" -%}
21
- <span class="text-muted">
22
- {{ post.date | date: date_format }}
23
- {% if post.author %}
24
- {%- include username.html user = post.author prepend = " | "-%}
25
- {% endif %}</span>
26
- <ul class="list-inline d-inline mt-md-1">
27
- {%- include page-tags.html page = post -%}
28
- </ul>
1
+ <div class="post-list-item">
2
+ <h3>
3
+ {%- include post-link.html post = post -%}
4
+ </h3>
5
+ {%- if post.thumbnail -%}
6
+ <a href="{{ post.url | relative_url }}"><img src="{{ post.thumbnail }}" class="mb-3 mw-100"></a>
7
+ {%- endif -%}
8
+ <p>
9
+ {%- if site.show_excerpts -%}
10
+ {{ post.excerpt }}
11
+ {%- endif -%}
12
+ </p>
13
+ {%- capture total_words -%}{{ post.content | number_of_words }}{%- endcapture -%}
14
+ {%- capture excerpt_words -%}{{ post.excerpt | number_of_words }}{%- endcapture -%}
15
+ {%- unless total_words == excerpt_words -%}
16
+ <p class="mt-4 text-center">
17
+ <a href="{{ post.url | relative_url }}">{% t global.read-more %}</a>
18
+ </p>
19
+ {%- endunless -%}
20
+ {%- assign date_format = site.dateFormats[site.lang] | default: "%b %-d, %Y" -%}
21
+ <span class="text-muted">
22
+ {{ post.date | date: date_format }}
23
+ {% if post.author %}
24
+ {%- include username.html user = post.author prepend = " | "-%}
25
+ {% endif %}</span>
26
+ <ul class="list-inline d-inline mt-md-1">
27
+ {%- include page-tags.html page = post -%}
28
+ </ul>
29
29
  </div>
@@ -1,7 +1,7 @@
1
- <div class="card mb-4">
2
- <div class="card-header">{% t global.announcements %}</div>
3
- <ul class="list-group list-group-flush">
4
- {%- assign filtered-post-list = site.posts | where: "list-filter", "announcement" -%}
5
- {%- include recent-post-list.html posts = filtered-post-list -%}
6
- </ul>
1
+ <div class="card mb-4">
2
+ <div class="card-header">{% t global.announcements %}</div>
3
+ <ul class="list-group list-group-flush">
4
+ {%- assign filtered-post-list = site.posts | where: "list-filter", "announcement" -%}
5
+ {%- include recent-post-list.html posts = filtered-post-list -%}
6
+ </ul>
7
7
  </div>
@@ -1,24 +1,24 @@
1
- {%- if include.posts.size > 0 -%}
2
- {%- for post in include.posts limit:1 -%}
3
- <a href="{{ post.url | relative_url }}" class="list-group-item list-group-item-action flex-column align-items-start">
4
- <div class="d-flex w-100 justify-content-between">
5
- <h5 class="mb-1">{{ post.title | escape }}</h5>
6
- {%- assign date_format = site.dateFormats[site.lang] | default: "%b %-d, %Y" -%}
7
- <small class="text-muted" style="min-width: 6em">{{ post.date | date: date_format }}</small>
8
- </div>
9
- <p class="mb-1">{{ post.excerpt | strip_html }}</p>
10
- </a>
11
- {%- endfor -%}
12
- {%- if include.posts.size > 1 -%}
13
- {%- for post in include.posts offset:1 limit:4 -%}
14
- <a href="{{ post.url | relative_url }}" class="list-group-item list-group-item-action flex-column align-items-start">
15
- <div class="d-flex w-100 justify-content-between">
16
- {{ post.title | escape }}
17
- <small class="text-muted" style="min-width: 6em">{{ post.date | date: site.dateFormats[site.lang] | default: "%b %-d, %Y"}}</small>
18
- </div>
19
- </a>
20
- {%- endfor -%}
21
- {%- endif -%}
22
- {%- else -%}
23
- <li class="list-group-item">Nothing to see here... </li>
1
+ {%- if include.posts.size > 0 -%}
2
+ {%- for post in include.posts limit:1 -%}
3
+ <a href="{{ post.url | relative_url }}" class="list-group-item list-group-item-action flex-column align-items-start">
4
+ <div class="d-flex w-100 justify-content-between">
5
+ <h5 class="mb-1">{{ post.title | escape }}</h5>
6
+ {%- assign date_format = site.dateFormats[site.lang] | default: "%b %-d, %Y" -%}
7
+ <small class="text-muted" style="min-width: 6em">{{ post.date | date: date_format }}</small>
8
+ </div>
9
+ <p class="mb-1">{{ post.excerpt | strip_html }}</p>
10
+ </a>
11
+ {%- endfor -%}
12
+ {%- if include.posts.size > 1 -%}
13
+ {%- for post in include.posts offset:1 limit:4 -%}
14
+ <a href="{{ post.url | relative_url }}" class="list-group-item list-group-item-action flex-column align-items-start">
15
+ <div class="d-flex w-100 justify-content-between">
16
+ {{ post.title | escape }}
17
+ <small class="text-muted" style="min-width: 6em">{{ post.date | date: site.dateFormats[site.lang] | default: "%b %-d, %Y"}}</small>
18
+ </div>
19
+ </a>
20
+ {%- endfor -%}
21
+ {%- endif -%}
22
+ {%- else -%}
23
+ <li class="list-group-item">Nothing to see here... </li>
24
24
  {%- endif -%}
@@ -1,16 +1,16 @@
1
- {%- if site.data.relatedServers[site.lang].size > 0 -%}
2
- <div class="card mb-4">
3
- <div class="card-header">{% translate global.related %}</div>
4
- <ul class="list-group list-group-flush">
5
- {%- for server in site.data.relatedServers[site.lang] -%}
6
- <a href="{{ server.link }}" class="list-group-item list-group-item-action flex-column align-items-start">
7
- <h5 class="mb-1">{{ server.name }}</h5>
8
- <p class="mb-1">{{ server.description }}</p>
9
- {%- for tag in server.tags -%}
10
- <span class="badge mr-1 badge-pill badge-light">{{tag}}</span>
11
- {%- endfor -%}
12
- </a>
13
- {%- endfor -%}
14
- </ul>
15
- </div>
1
+ {%- if site.data.relatedServers[site.lang].size > 0 -%}
2
+ <div class="card mb-4">
3
+ <div class="card-header">{% translate global.related %}</div>
4
+ <ul class="list-group list-group-flush">
5
+ {%- for server in site.data.relatedServers[site.lang] -%}
6
+ <a href="{{ server.link }}" class="list-group-item list-group-item-action flex-column align-items-start">
7
+ <h5 class="mb-1">{{ server.name }}</h5>
8
+ <p class="mb-1">{{ server.description }}</p>
9
+ {%- for tag in server.tags -%}
10
+ <span class="badge mr-1 badge-pill badge-light">{{tag}}</span>
11
+ {%- endfor -%}
12
+ </a>
13
+ {%- endfor -%}
14
+ </ul>
15
+ </div>
16
16
  {%- endif -%}
@@ -1,24 +1,24 @@
1
- {%- assign dirs = include.page.url | split: '/' -%}
2
- {%- assign root_page = site.servers | where: "code", dirs[2] | first -%}
3
- <nav class="navbar-light mb-5">
4
- <a class="navbar-brand" href="{{ root_page.url | prepend: site.baseurl }}">{%- include fmi.html data = root_page.title datas = root_page.titles -%}</a>
5
- {%- assign server_pages = site.servers | where: "code", dirs[2] -%}
6
- <nav class="flex-column nav nav-pills">
7
- {%- for server_page in site.servers -%}
8
- {%- assign server_page_dirs = server_page.url | split: '/' -%}
9
- {%- if server_page_dirs[2] == root_page.code -%}
10
- {%- if server_page_dirs[3] -%}
11
- {%- unless server_page_dirs[4] -%}
12
- {%- if dirs[3] == server_page_dirs[3] -%}
13
- <a class="nav-link active" href="{{ server_page.url | prepend: site.baseurl }}">{%- include page-title.html page =
14
- server_page -%}</a>
15
- {%- else -%}
16
- <a class="nav-link" href="{{ server_page.url | prepend: site.baseurl }}">{%- include page-title.html page =
17
- server_page -%}</a>
18
- {%- endif -%}
19
- {%- endunless -%}
20
- {%- endif -%}
21
- {%- endif -%}
22
- {%- endfor -%}
23
- </nav>
1
+ {%- assign dirs = include.page.url | split: '/' -%}
2
+ {%- assign root_page = site.servers | where: "code", dirs[2] | first -%}
3
+ <nav class="navbar-light mb-5">
4
+ <a class="navbar-brand" href="{{ root_page.url | prepend: site.baseurl }}">{%- include fmi.html data = root_page.title datas = root_page.titles -%}</a>
5
+ {%- assign server_pages = site.servers | where: "code", dirs[2] -%}
6
+ <nav class="flex-column nav nav-pills">
7
+ {%- for server_page in site.servers -%}
8
+ {%- assign server_page_dirs = server_page.url | split: '/' -%}
9
+ {%- if server_page_dirs[2] == root_page.code -%}
10
+ {%- if server_page_dirs[3] -%}
11
+ {%- unless server_page_dirs[4] -%}
12
+ {%- if dirs[3] == server_page_dirs[3] -%}
13
+ <a class="nav-link active" href="{{ server_page.url | prepend: site.baseurl }}">{%- include page-title.html page =
14
+ server_page -%}</a>
15
+ {%- else -%}
16
+ <a class="nav-link" href="{{ server_page.url | prepend: site.baseurl }}">{%- include page-title.html page =
17
+ server_page -%}</a>
18
+ {%- endif -%}
19
+ {%- endunless -%}
20
+ {%- endif -%}
21
+ {%- endif -%}
22
+ {%- endfor -%}
23
+ </nav>
24
24
  </nav>
@@ -1,36 +1,36 @@
1
- <div class="row">
2
- {%- for server in site.servers -%}
3
- {%- capture url_last -%}{{server.url | split: '/' | last}}{%- endcapture -%}
4
- {%- unless server.code == url_last -%}
5
- {%- continue -%}
6
- {%- endunless -%}
7
- {%- capture server_name -%}
8
- {%- include fmi.html datas = server.titles -%}
9
- {%- endcapture -%}
10
- {%- capture server_description -%}
11
- {%- include fmi.html datas = server.briefs -%}
12
- {%- endcapture -%}
13
- <div class="col-md-6 mb-5">
14
- <a href="{{ site.baseurl}}{{ server.url }}" class="server-splash-link">
15
- <div class="server-splash server-splash-action">
16
- {%- if server.thumbnail -%}
17
- <img src="/assets/{{server.thumbnail}}" alt="{{ server_name }}" class="d-block w-100">
18
- {%- else -%}
19
- <img src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22318%22%20height%3D%22180%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20318%20180%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_158bd1d28ef%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A16pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_158bd1d28ef%22%3E%3Crect%20width%3D%22318%22%20height%3D%22180%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22129.359375%22%20y%3D%2297.35%22%3EImage%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"
20
- alt="Card image" class="d-block w-100">
21
- {%- endif -%}
22
- <div class="p-4">
23
- <div class="d-flex d-lg-flex d-md-block justify-content-between w-100">
24
- <h4 class="mb-1">{{ server_name }}</h4>
25
- <code class="minecraft-text-f"><kbd>&gt; /server {{ server.code }}</kbd></code>
26
- </div>
27
- <ul class="list-inline mt-md-1">
28
- {%- include server-tags.html server = server -%}
29
- </ul>
30
- <div class="text-muted md-2 font-weight-light">{{ server_description }}</div>
31
- </div>
32
- </div>
33
- </a>
34
- </div>
35
- {%- endfor -%}
1
+ <div class="row">
2
+ {%- for server in site.servers -%}
3
+ {%- capture url_last -%}{{server.url | split: '/' | last}}{%- endcapture -%}
4
+ {%- unless server.code == url_last -%}
5
+ {%- continue -%}
6
+ {%- endunless -%}
7
+ {%- capture server_name -%}
8
+ {%- include fmi.html datas = server.titles -%}
9
+ {%- endcapture -%}
10
+ {%- capture server_description -%}
11
+ {%- include fmi.html datas = server.briefs -%}
12
+ {%- endcapture -%}
13
+ <div class="col-md-6 mb-5">
14
+ <a href="{{ site.baseurl}}{{ server.url }}" class="server-splash-link">
15
+ <div class="server-splash server-splash-action">
16
+ {%- if server.thumbnail -%}
17
+ <img src="/assets/{{server.thumbnail}}" alt="{{ server_name }}" class="d-block w-100">
18
+ {%- else -%}
19
+ <img src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22318%22%20height%3D%22180%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20318%20180%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_158bd1d28ef%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A16pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_158bd1d28ef%22%3E%3Crect%20width%3D%22318%22%20height%3D%22180%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22129.359375%22%20y%3D%2297.35%22%3EImage%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"
20
+ alt="Card image" class="d-block w-100">
21
+ {%- endif -%}
22
+ <div class="p-4">
23
+ <div class="d-flex d-lg-flex d-md-block justify-content-between w-100">
24
+ <h4 class="mb-1">{{ server_name }}</h4>
25
+ <code class="minecraft-text-f"><kbd>&gt; /server {{ server.code }}</kbd></code>
26
+ </div>
27
+ <ul class="list-inline mt-md-1">
28
+ {%- include server-tags.html server = server -%}
29
+ </ul>
30
+ <div class="text-muted md-2 font-weight-light">{{ server_description }}</div>
31
+ </div>
32
+ </div>
33
+ </a>
34
+ </div>
35
+ {%- endfor -%}
36
36
  </div>