jekyll-theme-opentoolbox 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +661 -0
- data/README.md +73 -0
- data/_includes/banner.html +24 -0
- data/_includes/callouts.html +39 -0
- data/_includes/disqus.html +17 -0
- data/_includes/footer-scripts.html +1 -0
- data/_includes/footer.html +34 -0
- data/_includes/gallery.html +25 -0
- data/_includes/google-analytics.html +8 -0
- data/_includes/head-scripts.html +0 -0
- data/_includes/head.html +19 -0
- data/_includes/header.html +45 -0
- data/_includes/hero.html +11 -0
- data/_includes/image-modal.html +18 -0
- data/_includes/join.html +30 -0
- data/_includes/latest-posts.html +12 -0
- data/_includes/menubar.html +21 -0
- data/_includes/notification.html +17 -0
- data/_includes/pagination.html +23 -0
- data/_includes/post-card.html +29 -0
- data/_includes/rating.html +14 -0
- data/_includes/review.html +27 -0
- data/_includes/share-buttons.html +19 -0
- data/_includes/showcase.html +76 -0
- data/_includes/sponsors.html +42 -0
- data/_includes/sub-pages.html +28 -0
- data/_includes/subscribe.html +6 -0
- data/_includes/tabs.html +18 -0
- data/_includes/tag.html +3 -0
- data/_includes/toc.html +82 -0
- data/_includes/vimeo.html +3 -0
- data/_includes/youtube.html +8 -0
- data/_layouts/blog.html +20 -0
- data/_layouts/default.html +66 -0
- data/_layouts/page.html +11 -0
- data/_layouts/post.html +23 -0
- data/_layouts/product-category.html +42 -0
- data/_layouts/product.html +61 -0
- data/_layouts/recipe.html +98 -0
- data/_layouts/resource.html +9 -0
- data/_posts/2021-03-24-hello.md +13 -0
- data/_sass/_layout.scss +37 -0
- data/_sass/_main.scss +22 -0
- data/_sass/_showcase.scss +13 -0
- data/_sass/syntax.scss +209 -0
- data/assets/css/app.scss +157 -0
- data/assets/css/highlight.css +78 -0
- data/assets/js/app.js +1 -0
- data/blog/index.html +6 -0
- data/node_modules/bulma/CHANGELOG.md +1558 -0
- data/node_modules/bulma/LICENSE +21 -0
- data/node_modules/bulma/README.md +134 -0
- data/node_modules/bulma/bulma.sass +10 -0
- data/node_modules/bulma/css/bulma-rtl.css +11811 -0
- data/node_modules/bulma/css/bulma-rtl.css.map +1 -0
- data/node_modules/bulma/css/bulma-rtl.min.css +1 -0
- data/node_modules/bulma/css/bulma.css +11811 -0
- data/node_modules/bulma/css/bulma.css.map +1 -0
- data/node_modules/bulma/css/bulma.min.css +1 -0
- data/node_modules/bulma/package.json +81 -0
- data/node_modules/bulma/sass/base/_all.sass +6 -0
- data/node_modules/bulma/sass/base/animations.sass +5 -0
- data/node_modules/bulma/sass/base/generic.sass +145 -0
- data/node_modules/bulma/sass/base/helpers.sass +1 -0
- data/node_modules/bulma/sass/base/minireset.sass +79 -0
- data/node_modules/bulma/sass/components/_all.sass +15 -0
- data/node_modules/bulma/sass/components/breadcrumb.sass +77 -0
- data/node_modules/bulma/sass/components/card.sass +103 -0
- data/node_modules/bulma/sass/components/dropdown.sass +83 -0
- data/node_modules/bulma/sass/components/level.sass +79 -0
- data/node_modules/bulma/sass/components/media.sass +59 -0
- data/node_modules/bulma/sass/components/menu.sass +59 -0
- data/node_modules/bulma/sass/components/message.sass +101 -0
- data/node_modules/bulma/sass/components/modal.sass +117 -0
- data/node_modules/bulma/sass/components/navbar.sass +446 -0
- data/node_modules/bulma/sass/components/pagination.sass +166 -0
- data/node_modules/bulma/sass/components/panel.sass +121 -0
- data/node_modules/bulma/sass/components/tabs.sass +176 -0
- data/node_modules/bulma/sass/elements/_all.sass +16 -0
- data/node_modules/bulma/sass/elements/box.sass +26 -0
- data/node_modules/bulma/sass/elements/button.sass +345 -0
- data/node_modules/bulma/sass/elements/container.sass +29 -0
- data/node_modules/bulma/sass/elements/content.sass +159 -0
- data/node_modules/bulma/sass/elements/form.sass +1 -0
- data/node_modules/bulma/sass/elements/icon.sass +46 -0
- data/node_modules/bulma/sass/elements/image.sass +73 -0
- data/node_modules/bulma/sass/elements/notification.sass +52 -0
- data/node_modules/bulma/sass/elements/other.sass +31 -0
- data/node_modules/bulma/sass/elements/progress.sass +73 -0
- data/node_modules/bulma/sass/elements/table.sass +133 -0
- data/node_modules/bulma/sass/elements/tag.sass +140 -0
- data/node_modules/bulma/sass/elements/title.sass +70 -0
- data/node_modules/bulma/sass/form/_all.sass +9 -0
- data/node_modules/bulma/sass/form/checkbox-radio.sass +22 -0
- data/node_modules/bulma/sass/form/file.sass +184 -0
- data/node_modules/bulma/sass/form/input-textarea.sass +66 -0
- data/node_modules/bulma/sass/form/select.sass +87 -0
- data/node_modules/bulma/sass/form/shared.sass +60 -0
- data/node_modules/bulma/sass/form/tools.sass +215 -0
- data/node_modules/bulma/sass/grid/_all.sass +5 -0
- data/node_modules/bulma/sass/grid/columns.sass +513 -0
- data/node_modules/bulma/sass/grid/tiles.sass +36 -0
- data/node_modules/bulma/sass/helpers/_all.sass +12 -0
- data/node_modules/bulma/sass/helpers/color.sass +39 -0
- data/node_modules/bulma/sass/helpers/flexbox.sass +35 -0
- data/node_modules/bulma/sass/helpers/float.sass +10 -0
- data/node_modules/bulma/sass/helpers/other.sass +14 -0
- data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
- data/node_modules/bulma/sass/helpers/position.sass +7 -0
- data/node_modules/bulma/sass/helpers/spacing.sass +31 -0
- data/node_modules/bulma/sass/helpers/typography.sass +103 -0
- data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
- data/node_modules/bulma/sass/layout/_all.sass +6 -0
- data/node_modules/bulma/sass/layout/footer.sass +11 -0
- data/node_modules/bulma/sass/layout/hero.sass +153 -0
- data/node_modules/bulma/sass/layout/section.sass +17 -0
- data/node_modules/bulma/sass/utilities/_all.sass +9 -0
- data/node_modules/bulma/sass/utilities/animations.sass +1 -0
- data/node_modules/bulma/sass/utilities/controls.sass +49 -0
- data/node_modules/bulma/sass/utilities/derived-variables.sass +114 -0
- data/node_modules/bulma/sass/utilities/extends.sass +25 -0
- data/node_modules/bulma/sass/utilities/functions.sass +136 -0
- data/node_modules/bulma/sass/utilities/initial-variables.sass +78 -0
- data/node_modules/bulma/sass/utilities/mixins.sass +280 -0
- data/node_modules/bulma-block-list/LICENSE.txt +21 -0
- data/node_modules/bulma-block-list/README.md +32 -0
- data/node_modules/bulma-block-list/docs/Gemfile +3 -0
- data/node_modules/bulma-block-list/docs/_config.yml +15 -0
- data/node_modules/bulma-block-list/docs/_data/menu.yaml +20 -0
- data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +109 -0
- data/node_modules/bulma-block-list/docs/_sass/_main.scss +20 -0
- data/node_modules/bulma-block-list/docs/assets/css/app.scss +7 -0
- data/node_modules/bulma-block-list/docs/favicon.ico +0 -0
- data/node_modules/bulma-block-list/docs/index.html +260 -0
- data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +1390 -0
- data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/README.md +130 -0
- data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +9 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +10855 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css.map +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.min.css +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/package.json +77 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +142 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +281 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +79 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +15 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +79 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +81 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +77 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/list.sass +39 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +50 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +57 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +99 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +113 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +441 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +150 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +119 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +151 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +15 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +24 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +323 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +24 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +155 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +71 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +43 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +39 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +67 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +127 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +128 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +70 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +8 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +180 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +64 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +85 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +55 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +205 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +4 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +504 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +34 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +9 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +145 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +13 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +8 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +50 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +106 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +110 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +77 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +261 -0
- data/node_modules/bulma-block-list/package.json +56 -0
- data/node_modules/bulma-block-list/src/block-list.scss +109 -0
- data/node_modules/bulma-block-list/src/demo.scss +3 -0
- data/package-lock.json +28 -0
- data/package.json +20 -0
- metadata +441 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
{% if page.sponsors %}
|
2
|
+
{% assign tiers=site.data.[page.sponsors] %}
|
3
|
+
<div class="columns is-multiline">
|
4
|
+
{% for tier in tiers %}
|
5
|
+
<div class="column is-12">
|
6
|
+
<p class="title is-3 has-text-centered">
|
7
|
+
<span>{{ tier.tier_name }}</span>
|
8
|
+
</p>
|
9
|
+
<p class="subtitle has-text-centered">
|
10
|
+
<span class="icon is-large gh-sponsor"><i class="fas fa-heart fa-2x"></i></span>
|
11
|
+
</p>
|
12
|
+
<div class="columns is-centered">
|
13
|
+
<div class="column is-6 content has-text-centered">
|
14
|
+
<p>{{ tier.description | markdownify }}</p>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div class="columns is-multiline is-centered">
|
19
|
+
{% for sponsor in tier.sponsors %}
|
20
|
+
<div class="column {% if tier.size == 'large' %} is-4-desktop is-6-tablet {% else %} is-3-desktop is-4-tablet {% endif %}">
|
21
|
+
<div class="box has-text-centered">
|
22
|
+
<p class="title {% if tier.size == 'large' %} is-4 {% elsif tier.size == 'small' %} is-6 {% else %} is-5 {% endif %}">
|
23
|
+
{{ sponsor.name }}
|
24
|
+
</p>
|
25
|
+
<p class="subtitle is-6">
|
26
|
+
{% if sponsor.profile %}
|
27
|
+
<a href="{{ sponsor.profile }}" class="is-link is-small">View Profile</a>
|
28
|
+
{% else %}
|
29
|
+
|
30
|
+
{% endif %}
|
31
|
+
</p>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
{% endfor %}
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
<div class="column is-12">
|
38
|
+
<hr />
|
39
|
+
</div>
|
40
|
+
{% endfor %}
|
41
|
+
</div>
|
42
|
+
{% endif %}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{% if include.category %}
|
2
|
+
{% assign actual_category = include.category %}
|
3
|
+
{% elsif page.category %}
|
4
|
+
{% assign actual_category = page.category %}
|
5
|
+
{% else %}
|
6
|
+
{% assign cats = page.dir | split: '/'%}
|
7
|
+
{% assign actual_category = cats[2] or cats[1] %}
|
8
|
+
{% endif %}
|
9
|
+
|
10
|
+
{% if actual_category %}
|
11
|
+
<section class="box is-dark is-family-monospace">
|
12
|
+
<p>
|
13
|
+
<span class="has-text-grey">$:</span>
|
14
|
+
ls
|
15
|
+
<span class="has-text-weight-bold has-text-success">{{actual_category}}</span>/
|
16
|
+
</p>
|
17
|
+
<div>
|
18
|
+
{% for p in site.pages %}
|
19
|
+
{% if p.title and p.url != page.url and p.category == actual_category or p.categories contains actual_category or p.dir contains actual_category %}
|
20
|
+
<span class="is-block">
|
21
|
+
<span class="has-text-grey">></span>
|
22
|
+
<a href="{{p.url}}">{{p.title}}</a>
|
23
|
+
</span>
|
24
|
+
{% endif %}
|
25
|
+
{% endfor %}
|
26
|
+
</div>
|
27
|
+
</section>
|
28
|
+
{% endif %}
|
data/_includes/tabs.html
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
{% if page.tabs %}
|
2
|
+
{% assign tabs = site.data.[page.tabs] %}
|
3
|
+
|
4
|
+
<div class="tabs {% if tabs.size %}{{ tabs.size }}{% endif %} {% if tabs.alignment %}{{ tabs.alignment }}{% endif %} {% if tabs.style %}{{ tabs.style }}{% endif %}">
|
5
|
+
<ul>
|
6
|
+
{% for tab in tabs.items %}
|
7
|
+
<li {% if tab.link == page.url %} class="is-active" {% endif %}>
|
8
|
+
<a href="{{ tab.link | relative_url }}">
|
9
|
+
{% if tab.icon %}
|
10
|
+
<span class="icon is-small"><i class="fas {{ tab.icon }}" aria-hidden="true"></i></span>
|
11
|
+
{% endif %}
|
12
|
+
<span>{{ tab.name }}</span>
|
13
|
+
</a>
|
14
|
+
</li>
|
15
|
+
{% endfor %}
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
{% endif %}
|
data/_includes/tag.html
ADDED
data/_includes/toc.html
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
{% capture tocWorkspace %}
|
2
|
+
{% comment %}
|
3
|
+
Version 1.0.8
|
4
|
+
https://github.com/allejo/jekyll-toc
|
5
|
+
{% endcomment %}
|
6
|
+
|
7
|
+
{% capture my_toc %}{% endcapture %}
|
8
|
+
{% assign orderedList = include.ordered | default: false %}
|
9
|
+
{% assign minHeader = include.h_min | default: 1 %}
|
10
|
+
{% assign maxHeader = include.h_max | default: 6 %}
|
11
|
+
{% assign nodes = include.html | split: '<h' %}
|
12
|
+
{% assign firstHeader = true %}
|
13
|
+
|
14
|
+
{% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %}
|
15
|
+
|
16
|
+
{% for node in nodes %}
|
17
|
+
{% if node == "" %}
|
18
|
+
{% continue %}
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
{% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
|
22
|
+
|
23
|
+
{% if headerLevel < minHeader or headerLevel > maxHeader %}
|
24
|
+
{% continue %}
|
25
|
+
{% endif %}
|
26
|
+
|
27
|
+
{% if firstHeader %}
|
28
|
+
{% assign firstHeader = false %}
|
29
|
+
{% assign minHeader = headerLevel %}
|
30
|
+
{% endif %}
|
31
|
+
|
32
|
+
{% assign indentAmount = headerLevel | minus: minHeader %}
|
33
|
+
{% assign _workspace = node | split: '</h' %}
|
34
|
+
|
35
|
+
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
|
36
|
+
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
|
37
|
+
{% assign html_id = _idWorkspace[0] %}
|
38
|
+
|
39
|
+
{% assign _classWorkspace = _workspace[0] | split: 'class="' %}
|
40
|
+
{% assign _classWorkspace = _classWorkspace[1] | split: '"' %}
|
41
|
+
{% assign html_class = _classWorkspace[0] %}
|
42
|
+
|
43
|
+
{% if html_class contains "no_toc" %}
|
44
|
+
{% continue %}
|
45
|
+
{% endif %}
|
46
|
+
|
47
|
+
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
|
48
|
+
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
|
49
|
+
|
50
|
+
{% assign space = '' %}
|
51
|
+
{% for i in (1..indentAmount) %}
|
52
|
+
{% assign space = space | prepend: ' ' %}
|
53
|
+
{% endfor %}
|
54
|
+
|
55
|
+
{% unless include.item_class == blank %}
|
56
|
+
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
|
57
|
+
{% endunless %}
|
58
|
+
|
59
|
+
{% capture heading_body %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %}
|
60
|
+
{% capture my_toc %}{{ my_toc }}
|
61
|
+
{{ space }}{{ listModifier }} {{ listItemClass }} [{{ heading_body | replace: "|", "\|" }}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %}
|
62
|
+
{% endfor %}
|
63
|
+
|
64
|
+
{% if include.class %}
|
65
|
+
{% capture my_toc %}{:.{{ include.class }}}
|
66
|
+
{{ my_toc | lstrip }}{% endcapture %}
|
67
|
+
{% endif %}
|
68
|
+
|
69
|
+
{% if include.id %}
|
70
|
+
{% capture my_toc %}{: #{{ include.id }}}
|
71
|
+
{{ my_toc | lstrip }}{% endcapture %}
|
72
|
+
{% endif %}
|
73
|
+
{% endcapture %}{% assign tocWorkspace = '' %}
|
74
|
+
|
75
|
+
<div class="contents">
|
76
|
+
<div class="menu">
|
77
|
+
<p class="menu-label">{{ include.contents_title }}</p>
|
78
|
+
{{ my_toc | markdownify | strip }}
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
|
82
|
+
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<figure class="image is-16by9">
|
2
|
+
<iframe src="https://player.vimeo.com/video/{{ include.video }}?color=ff9933&title=0&byline=0&portrait=0" class="has-ratio" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe><script src="https://player.vimeo.com/api/player.js"></script>
|
3
|
+
</figure>
|
data/_layouts/blog.html
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<div class="columns is-multiline">
|
8
|
+
<div class="column is-12">
|
9
|
+
{% include subscribe.html %}
|
10
|
+
</div>
|
11
|
+
|
12
|
+
{% for post in paginator.posts %}
|
13
|
+
<div class="column is-4-desktop is-6-tablet">
|
14
|
+
{% include post-card.html %}
|
15
|
+
</div>
|
16
|
+
{% endfor %}
|
17
|
+
<div class="column is-12">
|
18
|
+
{% include pagination.html %}
|
19
|
+
</div>
|
20
|
+
</div>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
{% if page.menubar or page.menubar_toc %}
|
3
|
+
{% assign has_left_sidebar = true %}
|
4
|
+
{% endif %}
|
5
|
+
|
6
|
+
{% if page.show_sidebar and has_left_sidebar %}
|
7
|
+
{% assign content_width = 'is-4' %}
|
8
|
+
{% elsif page.show_sidebar or has_left_sidebar %}
|
9
|
+
{% assign content_width = 'is-8' %}
|
10
|
+
{% else %}
|
11
|
+
{% assign content_width = 'is-12' %}
|
12
|
+
{% endif %}
|
13
|
+
|
14
|
+
<html
|
15
|
+
lang="{{ site.lang | default: 'en' }}"
|
16
|
+
{% if site.fixed_navbar %}class="has-navbar-fixed-{{ site.fixed_navbar }}"{% endif %}>
|
17
|
+
{% include head.html %}
|
18
|
+
<body>
|
19
|
+
{% include header.html %}
|
20
|
+
{% unless page.hide_hero %}
|
21
|
+
{% if page.banner_with_image %}
|
22
|
+
{% include banner.html %}
|
23
|
+
{% else %}
|
24
|
+
{% include hero.html %}
|
25
|
+
{% endif %}
|
26
|
+
{% endunless %}
|
27
|
+
|
28
|
+
{% include callouts.html %}
|
29
|
+
|
30
|
+
{% include showcase.html columns=true %}
|
31
|
+
|
32
|
+
<section class="section">
|
33
|
+
<div class="container">
|
34
|
+
<div class="columns">
|
35
|
+
{% if page.menubar_toc %}
|
36
|
+
<div class="column is-4-desktop is-4-tablet">
|
37
|
+
{% assign contentsTitle = page.toc_title | default: 'Contents' %}
|
38
|
+
{% include toc.html html=content class='menu-list' h_min=2 h_max=3 contents_title=contentsTitle %}
|
39
|
+
</div>
|
40
|
+
{% elsif page.menubar %}
|
41
|
+
<div class="column is-4-desktop is-4-tablet">
|
42
|
+
{% include menubar.html %}
|
43
|
+
</div>
|
44
|
+
{% endif %}
|
45
|
+
<div class="column {{ content_width }}">
|
46
|
+
{% include tabs.html %}
|
47
|
+
{% include sponsors.html %}
|
48
|
+
{% include gallery.html %}
|
49
|
+
{{ content }}
|
50
|
+
</div>
|
51
|
+
{% if site.posts and page.show_sidebar %}
|
52
|
+
<div class="column is-4-desktop is-12-tablet">
|
53
|
+
{% include latest-posts.html %}
|
54
|
+
</div>
|
55
|
+
{% endif %}
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
</section>
|
59
|
+
|
60
|
+
{% unless page.hide_footer %}
|
61
|
+
{% include footer.html %}
|
62
|
+
{% endunless %}
|
63
|
+
<script src="{{ site.baseurl }}/assets/js/app.js" type="text/javascript"></script>
|
64
|
+
{%- include footer-scripts.html -%}
|
65
|
+
</body>
|
66
|
+
</html>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.toc %}
|
6
|
+
{% assign contentsTitle = page.toc_title | default: 'Contents' %}
|
7
|
+
{% include toc.html html=content class='menu-list' h_min=2 h_max=3 contents_title=contentsTitle %}
|
8
|
+
{% endif %}
|
9
|
+
<div class="content">
|
10
|
+
{{ content }}
|
11
|
+
</div>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="content is-rounded p-0">
|
6
|
+
<div class="section">
|
7
|
+
<p>📅 {{ page.date | date: "%b %-d, %Y" }} by {{ page.author }}</p>
|
8
|
+
<hr/>
|
9
|
+
{{ content }}
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
{% if page.tags %}
|
14
|
+
<div class="tags section">
|
15
|
+
{% for tag in page.tags %}
|
16
|
+
{% include tag.html tag=tag %}
|
17
|
+
{% endfor %}
|
18
|
+
</div>
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
{% if site.disqus.shortname %}
|
22
|
+
{% include disqus.html %}
|
23
|
+
{% endif %}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
show_sidebar: false
|
4
|
+
---
|
5
|
+
|
6
|
+
<div class="columns is-multiline">
|
7
|
+
|
8
|
+
<div class="column is-12">
|
9
|
+
{{ page.content }}
|
10
|
+
</div>
|
11
|
+
|
12
|
+
{% assign sorted_products = site.products | sort:page.sort %}
|
13
|
+
|
14
|
+
{% for product in sorted_products %}
|
15
|
+
<div class="column is-4-desktop is-6-tablet">
|
16
|
+
|
17
|
+
<a href="{{ product.url | relative_url }}">
|
18
|
+
|
19
|
+
<div class="card">
|
20
|
+
|
21
|
+
{% if product.image %}
|
22
|
+
<div class="card-image">
|
23
|
+
<figure class="image is-4by3">
|
24
|
+
<img src="{{ product.image }}" alt="{{ product.title }}" />
|
25
|
+
</figure>
|
26
|
+
</div>
|
27
|
+
{% endif %}
|
28
|
+
<div class="card-content">
|
29
|
+
|
30
|
+
<p class="title is-4">{{ product.title }}</h2>
|
31
|
+
<p class="subtitle is-4">{{ product.subtitle }}</p>
|
32
|
+
<p class="title is-5 has-text-right">{{ product.price }}</p>
|
33
|
+
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
</a>
|
38
|
+
|
39
|
+
</div>
|
40
|
+
{% endfor %}
|
41
|
+
</div>
|
42
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="columns is-multiline">
|
6
|
+
|
7
|
+
<div class="column is-6">
|
8
|
+
<figure class="image is-4by3">
|
9
|
+
<img src="{{ page.image }}" />
|
10
|
+
</figure>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<div class="column is-6">
|
14
|
+
<p class="title is-3">{{ page.title }}</p>
|
15
|
+
<p class="subtitle is-3">{{ page.subtitle }}</p>
|
16
|
+
<p class="title is-4 has-text-right">{{ page.price }}</p>
|
17
|
+
{% if page.product_code %}
|
18
|
+
<p class="subtitle is-5 has-text-right">{{ page.product_code }}</p>
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
{% if page.rating %}
|
22
|
+
{% include rating.html rating=page.rating %}
|
23
|
+
{% endif %}
|
24
|
+
|
25
|
+
{% if page.features %}
|
26
|
+
<div class="content">
|
27
|
+
{% for feature in page.features %}
|
28
|
+
<p>
|
29
|
+
<span class="icon">
|
30
|
+
{% if feature.icon %}
|
31
|
+
<i class="fas {{ feature.icon }}"></i>
|
32
|
+
{% else %}
|
33
|
+
<i class="fas fa-circle fa-xs"></i>
|
34
|
+
{% endif %}
|
35
|
+
</span>
|
36
|
+
<span>{{ feature.label }}</span></p>
|
37
|
+
{% endfor %}
|
38
|
+
</div>
|
39
|
+
{% endif %}
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<div class="column is-12">
|
43
|
+
<p class="title is-4">Description</p>
|
44
|
+
<div class="content">
|
45
|
+
|
46
|
+
|
47
|
+
{{ content }}
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
{% if site.data.reviews[page.product_code] %}
|
52
|
+
<div class="column is-12">
|
53
|
+
<p class="title is-4">Reviews</p>
|
54
|
+
{% for review in site.data.reviews[page.product_code] %}
|
55
|
+
{% include review.html %}
|
56
|
+
{% endfor %}
|
57
|
+
</div>
|
58
|
+
{% endif %}
|
59
|
+
|
60
|
+
</div>
|
61
|
+
|
@@ -0,0 +1,98 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<script type="application/ld+json">
|
6
|
+
{
|
7
|
+
"@context": "https://schema.org/",
|
8
|
+
"@type": "Recipe",
|
9
|
+
"name": "{{ page.title }}",
|
10
|
+
"image": [
|
11
|
+
"{{ page.image }}"
|
12
|
+
],
|
13
|
+
"author": {
|
14
|
+
"@type": "Person",
|
15
|
+
"name": "{{ page.author }}"
|
16
|
+
},
|
17
|
+
"datePublished": "{{ page.date }}",
|
18
|
+
"description": "{{ page.description }}",
|
19
|
+
"prepTime": "{{ page.prep_time }}",
|
20
|
+
"cookTime": "{{ page.cook_time }}",
|
21
|
+
"totalTime": "{{ page.total_time }}",
|
22
|
+
"keywords": "{{ page.keywords }}",
|
23
|
+
"recipeYield": "{{ page.recipe_yield }}",
|
24
|
+
"recipeCategory": "{{ page.recipe_category }}",
|
25
|
+
"recipeCuisine": "{{ page.recipe_cuisine }}",
|
26
|
+
{% if page.calories %}
|
27
|
+
"nutrition": {
|
28
|
+
"@type": "NutritionInformation",
|
29
|
+
"calories": "{{ page.calories }}"
|
30
|
+
},
|
31
|
+
{% endif %}
|
32
|
+
"recipeIngredient":
|
33
|
+
{{ page.ingredients | jsonify }},
|
34
|
+
"recipeInstructions": [
|
35
|
+
{% for step in page.method %}
|
36
|
+
{
|
37
|
+
"@type": "HowToStep",
|
38
|
+
"text": "{{ step }}"
|
39
|
+
{% if forloop.last == true %}
|
40
|
+
}
|
41
|
+
{% else %}
|
42
|
+
},
|
43
|
+
{% endif %}
|
44
|
+
{% endfor %}
|
45
|
+
]
|
46
|
+
}
|
47
|
+
</script>
|
48
|
+
|
49
|
+
<div class="columns is-multiline">
|
50
|
+
<div class="column is-4">
|
51
|
+
<div class="box has-text-centered">
|
52
|
+
<strong>Serves:</strong> {{ page.recipe_yield }}
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
<div class="column is-4">
|
56
|
+
<div class="box has-text-centered">
|
57
|
+
<strong>Prep time:</strong> {{ page.prep_time | date: "%k hours %M minutes" }}
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
<div class="column is-4">
|
61
|
+
<div class="box has-text-centered">
|
62
|
+
<strong>Cook time:</strong> {{ page.cook_time | date: "%k hours %M minutes" }}
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
<div class="column is-4">
|
66
|
+
<div class="box">
|
67
|
+
<p class="title is-4">Ingredients</p>
|
68
|
+
<div class="content">
|
69
|
+
<ul>
|
70
|
+
{% for ingredient in page.ingredients %}
|
71
|
+
<li>{{ ingredient }}</li>
|
72
|
+
{% endfor %}
|
73
|
+
</ul>
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
</div>
|
77
|
+
<div class="column is-8">
|
78
|
+
<p class="title is-4">Method</p>
|
79
|
+
<div class="content">
|
80
|
+
<ol>
|
81
|
+
{% for step in page.method %}
|
82
|
+
<li>{{ step }}</li>
|
83
|
+
{% endfor %}
|
84
|
+
</ol>
|
85
|
+
<div class="tags">
|
86
|
+
{% assign tags = page.keywords | split: "," %}
|
87
|
+
{% for tag in tags %}
|
88
|
+
{% include tag.html tag=tag %}
|
89
|
+
{% endfor %}
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<p>Published: {{ page.date | date: "%b %-d, %Y" }} by {{ page.author }}</p>
|
93
|
+
</div>
|
94
|
+
<div class="content">
|
95
|
+
{{ content }}
|
96
|
+
</div>
|
97
|
+
</div>
|
98
|
+
</div>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
|
4
|
+
title: Hello, World!
|
5
|
+
summary: |-
|
6
|
+
This is the custom summary for the post.
|
7
|
+
|
8
|
+
It can be in **Markdown format** if required.
|
9
|
+
author: "@sinisimattia"
|
10
|
+
image: "https://miro.medium.com/max/1024/1*OohqW5DGh9CQS4hLY5FXzA.png"
|
11
|
+
---
|
12
|
+
|
13
|
+
Figo eh?
|
data/_sass/_layout.scss
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
div.highlight {
|
2
|
+
margin-bottom: 1rem;
|
3
|
+
}
|
4
|
+
|
5
|
+
@include desktop {
|
6
|
+
.navbar-item {
|
7
|
+
&.is-hoverable:hover {
|
8
|
+
.navbar-dropdown {
|
9
|
+
display: block;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.contents {
|
16
|
+
box-shadow: $box-shadow;
|
17
|
+
padding: 1.5rem;
|
18
|
+
margin-bottom: 3rem;
|
19
|
+
}
|
20
|
+
|
21
|
+
.hero-darken {
|
22
|
+
background-color: rgba($hero-darken, 0.5);
|
23
|
+
}
|
24
|
+
|
25
|
+
.content {
|
26
|
+
figure {
|
27
|
+
margin: 0;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.callout {
|
32
|
+
&-icon {
|
33
|
+
width: 4rem;
|
34
|
+
height: 4rem;
|
35
|
+
margin-bottom: 0.75rem;
|
36
|
+
}
|
37
|
+
}
|
data/_sass/_main.scss
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
@import url('https://fonts.googleapis.com/css?family=Montserrat');
|
3
|
+
|
4
|
+
$family-sans-serif: 'Montserrat', sans-serif;
|
5
|
+
$primary: #188eac !default;
|
6
|
+
|
7
|
+
$tabs-link-active-color: $primary;
|
8
|
+
$tabs-link-active-border-bottom-color: $primary;
|
9
|
+
|
10
|
+
$modal-content-width: 800px;
|
11
|
+
|
12
|
+
@import "../node_modules/bulma/bulma.sass";
|
13
|
+
$hero-darken: $dark !default;
|
14
|
+
|
15
|
+
@import "layout";
|
16
|
+
@import "syntax";
|
17
|
+
@import "showcase";
|
18
|
+
@import "../node_modules/bulma-block-list/src/block-list.scss";
|
19
|
+
|
20
|
+
.gh-sponsor {
|
21
|
+
color: #ea4aaa;
|
22
|
+
}
|