jekyll-bonsai 0.0.3
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.
- checksums.yaml +7 -0
- data/LICENSE.txt +674 -0
- data/README.md +11 -0
- data/_config.yml +155 -0
- data/_entries/digital-garden.bonsai.md +36 -0
- data/_entries/digital-garden.field-logs.md +10 -0
- data/_entries/digital-garden.fork.md +10 -0
- data/_entries/digital-garden.md +17 -0
- data/_entries/digital-garden.path.md +11 -0
- data/_entries/digital-garden.plants.md +12 -0
- data/_entries/digital-garden.pollinate.md +10 -0
- data/_entries/digital-garden.steps.md +10 -0
- data/_entries/digital-garden.stream.md +12 -0
- data/_entries/digital-garden.sweep.md +12 -0
- data/_entries/digital-garden.weather.md +12 -0
- data/_entries/features.md +10 -0
- data/_entries/features.notes.hover-preview.md +10 -0
- data/_entries/features.notes.md +12 -0
- data/_entries/features.notes.note-body.md +12 -0
- data/_entries/features.notes.note-body.share.md +10 -0
- data/_entries/features.notes.note-body.sidenotes.md +52 -0
- data/_entries/features.notes.note-foot.links.md +10 -0
- data/_entries/features.notes.note-foot.md +11 -0
- data/_entries/features.notes.note-foot.posts.md +10 -0
- data/_entries/features.notes.note-foot.webmentions.md +10 -0
- data/_entries/features.notes.note-head.md +10 -0
- data/_entries/features.pages.field-blogs.md +10 -0
- data/_entries/features.pages.md +12 -0
- data/_entries/features.pages.recent.md +10 -0
- data/_entries/features.pages.status-tags.md +10 -0
- data/_entries/features.site-nav.graph.links.md +10 -0
- data/_entries/features.site-nav.graph.links.namespacing.md +14 -0
- data/_entries/features.site-nav.graph.links.wikilinks.md +25 -0
- data/_entries/features.site-nav.graph.md +12 -0
- data/_entries/features.site-nav.graph.nodes.current-note.md +10 -0
- data/_entries/features.site-nav.graph.nodes.md +12 -0
- data/_entries/features.site-nav.graph.nodes.mia.missing-note.md +20 -0
- data/_entries/features.site-nav.graph.nodes.visited-status.md +10 -0
- data/_entries/features.site-nav.graph.toggle-graph.md +13 -0
- data/_entries/features.site-nav.graph.type.md +16 -0
- data/_entries/features.site-nav.graph.type.net-web.md +10 -0
- data/_entries/features.site-nav.graph.type.tree.md +12 -0
- data/_entries/features.site-nav.md +10 -0
- data/_entries/features.site-nav.visited.md +14 -0
- data/_entries/features.tags.md +13 -0
- data/_entries/features.themes.dark.md +12 -0
- data/_entries/features.themes.light.md +10 -0
- data/_entries/features.themes.md +12 -0
- data/_entries/features.visited.delete-data.md +10 -0
- data/_entries/features.visited.md +12 -0
- data/_entries/features.visitor-preferences.md +27 -0
- data/_entries/feedback.md +10 -0
- data/_entries/people.creator.md +12 -0
- data/_entries/people.md +13 -0
- data/_entries/people.visitors.md +12 -0
- data/_entries/plugins.jekyll-wikilinks.md +10 -0
- data/_entries/plugins.md +10 -0
- data/_entries/root.md +26 -0
- data/_includes/anchor-headings.html +152 -0
- data/_includes/connect.html +44 -0
- data/_includes/entry-attrs.html +27 -0
- data/_includes/head.html +23 -0
- data/_includes/hover-preview.html +84 -0
- data/_includes/img/bullet-ancestor.svg +5 -0
- data/_includes/img/bullet-net-web.svg +9 -0
- data/_includes/img/bullet-tree.svg +9 -0
- data/_includes/metrics.html +10 -0
- data/_includes/share.html +45 -0
- data/_includes/site-nav.html +48 -0
- data/_includes/styles.scss.liquid +3 -0
- data/_layouts/default.html +39 -0
- data/_layouts/entry.html +124 -0
- data/_layouts/post.html +29 -0
- data/_layouts/state.html +59 -0
- data/_layouts/table-wrappers.html +7 -0
- data/_layouts/vendor/compress.html +10 -0
- data/_pages/about.md +7 -0
- data/_pages/posts.html +19 -0
- data/_pages/recent.html +48 -0
- data/_plugins/doc_filters.rb +44 -0
- data/_plugins/prep_entry.rb +43 -0
- data/_plugins/sidenote.rb +123 -0
- data/_plugins/tags.rb +52 -0
- data/_sass/base/_layout.scss +54 -0
- data/_sass/base/_main.scss +203 -0
- data/_sass/base/_typography.scss +75 -0
- data/_sass/base/base.scss +3 -0
- data/_sass/color/dark.scss +58 -0
- data/_sass/color/light.scss +58 -0
- data/_sass/includes/_btn.scss +106 -0
- data/_sass/includes/_graph.scss +69 -0
- data/_sass/includes/_nav.scss +89 -0
- data/_sass/includes/_site_nav.scss +221 -0
- data/_sass/includes/_tooltip.scss +29 -0
- data/_sass/includes/includes.scss +9 -0
- data/_sass/markdown/_code.scss +340 -0
- data/_sass/markdown/_content.scss +400 -0
- data/_sass/markdown/_tables.scss +60 -0
- data/_sass/markdown/markdown.scss +7 -0
- data/_sass/modules.scss +14 -0
- data/_sass/pages/_index.scss +72 -0
- data/_sass/pages/_posts.scss +17 -0
- data/_sass/pages/_recent.scss +26 -0
- data/_sass/pages/_state.scss +72 -0
- data/_sass/pages/pages.scss +4 -0
- data/_sass/support/_functions.scss +9 -0
- data/_sass/support/_variables.scss +179 -0
- data/_sass/support/mixins/_buttons.scss +27 -0
- data/_sass/support/mixins/_layout.scss +56 -0
- data/_sass/support/mixins/_typography.scss +84 -0
- data/_sass/support/mixins/mixins.scss +3 -0
- data/_sass/support/support.scss +3 -0
- data/_sass/vendor/normalize.scss/README.md +7 -0
- data/_sass/vendor/normalize.scss/normalize.scss +349 -0
- data/_states/bamboo.md +8 -0
- data/_states/berry.md +8 -0
- data/_states/bloom.md +8 -0
- data/_states/bud.md +6 -0
- data/_states/fruit.md +8 -0
- data/_states/melon.md +8 -0
- data/_states/pot-bamboo.md +8 -0
- data/_states/seed.md +8 -0
- data/_states/sprout.md +8 -0
- data/_states/tags.md +8 -0
- data/_states/tea.md +8 -0
- data/assets/css/styles-dark.scss +3 -0
- data/assets/css/styles-light.scss +3 -0
- data/assets/css/styles.scss +8 -0
- data/assets/font/Cutive_Mono/CutiveMono-Regular.ttf +0 -0
- data/assets/font/Cutive_Mono/OFL.txt +93 -0
- data/assets/font/Old_Standard_TT/OFL.txt +93 -0
- data/assets/font/Old_Standard_TT/OldStandardTT-Bold.ttf +0 -0
- data/assets/font/Old_Standard_TT/OldStandardTT-Italic.ttf +0 -0
- data/assets/font/Old_Standard_TT/OldStandardTT-Regular.ttf +0 -0
- data/assets/font/exo2/Exo2-Italic-VariableFont_wght.ttf +0 -0
- data/assets/font/exo2/Exo2-VariableFont_wght.ttf +0 -0
- data/assets/font/exo2/OFL.txt +93 -0
- data/assets/font/exo2/README.txt +81 -0
- data/assets/font/exo2/static/Exo2-Black.ttf +0 -0
- data/assets/font/exo2/static/Exo2-BlackItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Bold.ttf +0 -0
- data/assets/font/exo2/static/Exo2-BoldItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraBold.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraBoldItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraLight.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraLightItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Italic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Light.ttf +0 -0
- data/assets/font/exo2/static/Exo2-LightItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Medium.ttf +0 -0
- data/assets/font/exo2/static/Exo2-MediumItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Regular.ttf +0 -0
- data/assets/font/exo2/static/Exo2-SemiBold.ttf +0 -0
- data/assets/font/exo2/static/Exo2-SemiBoldItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Thin.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ThinItalic.ttf +0 -0
- data/assets/img/bonsai-dark.png +0 -0
- data/assets/img/bonsai-dark.svg +106 -0
- data/assets/img/bonsai-light.png +0 -0
- data/assets/img/bonsai-light.svg +81 -0
- data/assets/img/favicon-dark.png +0 -0
- data/assets/img/favicon-light.png +0 -0
- data/assets/img/nav-base-dark.svg +1 -0
- data/assets/img/nav-base-light.svg +1 -0
- data/assets/img/nav-bonsai-dark.svg +1 -0
- data/assets/img/nav-bonsai-light.svg +1 -0
- data/assets/img/nav-dot-dark.svg +1 -0
- data/assets/img/nav-dot-light.svg +1 -0
- data/assets/img/nav-wiki-links-dark.svg +1 -0
- data/assets/img/nav-wiki-links-light.svg +1 -0
- data/assets/js/entry.js +102 -0
- data/assets/js/graph.js +552 -0
- data/assets/js/scripts.js +80 -0
- data/assets/js/site-nav.js +132 -0
- data/assets/js/theme-colors.js +71 -0
- data/index.html +82 -0
- metadata +360 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
<svg class="graph-icon" xmlns="http://www.w3.org/2000/svg" height="10" width="10" viewBox="0 0 50 50" overflow="visible" stroke-width="5" stroke-linecap="round">
|
2
|
+
<line class="bullet-link" x1="20" y1="25" x2="5" y2="50" stroke="#8C6239" />
|
3
|
+
<line class="bullet-link" x1="25" y1="25" x2="25" y2="50" stroke="#8C6239" />
|
4
|
+
<line class="bullet-link" x1="30" y1="25" x2="45" y2="50" stroke="#8C6239" />
|
5
|
+
<circle class="bullet-node" cx="25" cy="20" r="10" fill="#31AF31" />
|
6
|
+
<circle class="bullet-node" cx="5" cy="50" r="6" fill="#31AF31" />
|
7
|
+
<circle class="bullet-node" cx="25" cy="50" r="6" fill="#31AF31" />
|
8
|
+
<circle class="bullet-node" cx="45" cy="50" r="6" fill="#31AF31" />
|
9
|
+
</svg>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{% if site.ga_tracking != nil %}
|
2
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.ga_tracking }}"></script>
|
3
|
+
<script>
|
4
|
+
window.dataLayer = window.dataLayer || [];
|
5
|
+
function gtag(){dataLayer.push(arguments);}
|
6
|
+
gtag('js', new Date());
|
7
|
+
|
8
|
+
gtag('config', '{{ site.ga_tracking }}'{% unless site.ga_tracking_anonymize_ip == nil %}, { 'anonymize_ip': true }{% endunless %});
|
9
|
+
</script>
|
10
|
+
{% endif %}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<!-- from: https://jekyllcodex.org/without-plugin/share-buttons/ -->
|
2
|
+
{% if include.pageurl != nil and include.pageurl != '' %}
|
3
|
+
{% assign pageurl = include.pageurl %}
|
4
|
+
{% else %}
|
5
|
+
{% assign pageurl = page.url %}
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
<style>
|
9
|
+
#share-buttons {display: inline-block; vertical-align: middle; }
|
10
|
+
#share-buttons:after {content: ""; display: block; clear: both;}
|
11
|
+
#share-buttons > div {
|
12
|
+
position: relative;
|
13
|
+
text-align: left;
|
14
|
+
height: 36px;
|
15
|
+
width: 32px;
|
16
|
+
float: left;
|
17
|
+
text-align: center;
|
18
|
+
}
|
19
|
+
#share-buttons > div > svg {height: 16px; fill: #959396; margin-top: 10px;} /* $grey-dk-000 */
|
20
|
+
#share-buttons > div:hover {cursor: pointer;}
|
21
|
+
#share-buttons > div.facebook:hover > svg {fill: #3B5998;}
|
22
|
+
#share-buttons > div.twitter:hover > svg {fill: #55ACEE;}
|
23
|
+
#share-buttons > div.linkedin:hover > svg {fill: #0077b5;}
|
24
|
+
#share-buttons > div.pinterest:hover > svg {fill: #CB2027;}
|
25
|
+
#share-buttons > div.gplus:hover > svg {fill: #dd4b39;}
|
26
|
+
#share-buttons > div.mail:hover > svg {fill: #5c5962;} /* $grey-dk-100 */
|
27
|
+
#share-buttons > div.instagram:hover > svg {fill: #C73B92;}
|
28
|
+
#share-buttons > div.facebook > svg {height: 18px; margin-top: 9px;}
|
29
|
+
#share-buttons > div.twitter > svg {height: 20px; margin-top: 8px;}
|
30
|
+
#share-buttons > div.linkedin > svg {height: 19px; margin-top: 7px;}
|
31
|
+
#share-buttons > div.pinterest > svg {height: 20px; margin-top: 9px;}
|
32
|
+
#share-buttons > div.gplus > svg {height: 17px; margin-top: 9px; position: relative; left: 1px;}
|
33
|
+
#share-buttons > div.mail > svg {height: 14px; margin-top: 11px;}
|
34
|
+
</style>
|
35
|
+
|
36
|
+
<div style="text-align: center;">
|
37
|
+
<span style="user-select: none;" title="Share This">🐝</span>
|
38
|
+
<div id="share-buttons">
|
39
|
+
{% if site.social.share contains 'email' %}<div class="mail" title="Share this through Email" onclick="window.open('mailto:?&body={{ site.url }}{{ site.baseurl }}{{ pageurl }}');"><svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1792 710v794q0 66-47 113t-113 47h-1472q-66 0-113-47t-47-113v-794q44 49 101 87 362 246 497 345 57 42 92.5 65.5t94.5 48 110 24.5h2q51 0 110-24.5t94.5-48 92.5-65.5q170-123 498-345 57-39 100-87zm0-294q0 79-49 151t-122 123q-376 261-468 325-10 7-42.5 30.5t-54 38-52 32.5-57.5 27-50 9h-2q-23 0-50-9t-57.5-27-52-32.5-54-38-42.5-30.5q-91-64-262-182.5t-205-142.5q-62-42-117-115.5t-55-136.5q0-78 41.5-130t118.5-52h1472q65 0 112.5 47t47.5 113z"/></svg></div>{% endif %}
|
40
|
+
{% if site.social.share contains 'facebook' %}<div class="facebook" title="Share this on Facebook" onclick="window.open('http://www.facebook.com/share.php?u={{ site.url }}{{ site.baseurl }}{{ pageurl }}');"><svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1343 12v264h-157q-86 0-116 36t-30 108v189h293l-39 296h-254v759h-306v-759h-255v-296h255v-218q0-186 104-288.5t277-102.5q147 0 228 12z"/></svg></div>{% endif %}
|
41
|
+
{% if site.social.share contains 'linkedin' %}<div class="linkedin" title="Share this on Linkedin" onclick="window.open('https://www.linkedin.com/shareArticle?mini=true&url={{ site.url }}{{ site.baseurl }}{{ pageurl }}&title=&summary=&source=');"><svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M477 625v991h-330v-991h330zm21-306q1 73-50.5 122t-135.5 49h-2q-82 0-132-49t-50-122q0-74 51.5-122.5t134.5-48.5 133 48.5 51 122.5zm1166 729v568h-329v-530q0-105-40.5-164.5t-126.5-59.5q-63 0-105.5 34.5t-63.5 85.5q-11 30-11 81v553h-329q2-399 2-647t-1-296l-1-48h329v144h-2q20-32 41-56t56.5-52 87-43.5 114.5-15.5q171 0 275 113.5t104 332.5z"/></svg></div>{% endif %}
|
42
|
+
{% if site.social.share contains 'pinterest' %}<div class="pinterest" title="Share this on Pinterest" onclick="window.open('https://pinterest.com/pin/create/button/?url=&media={{ site.url }}{{ site.baseurl }}{{ page.image }}&description=');"><svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M256 597q0-108 37.5-203.5t103.5-166.5 152-123 185-78 202-26q158 0 294 66.5t221 193.5 85 287q0 96-19 188t-60 177-100 149.5-145 103-189 38.5q-68 0-135-32t-96-88q-10 39-28 112.5t-23.5 95-20.5 71-26 71-32 62.5-46 77.5-62 86.5l-14 5-9-10q-15-157-15-188 0-92 21.5-206.5t66.5-287.5 52-203q-32-65-32-169 0-83 52-156t132-73q61 0 95 40.5t34 102.5q0 66-44 191t-44 187q0 63 45 104.5t109 41.5q55 0 102-25t78.5-68 56-95 38-110.5 20-111 6.5-99.5q0-173-109.5-269.5t-285.5-96.5q-200 0-334 129.5t-134 328.5q0 44 12.5 85t27 65 27 45.5 12.5 30.5q0 28-15 73t-37 45q-2 0-17-3-51-15-90.5-56t-61-94.5-32.5-108-11-106.5z"/></svg></div>{% endif %}
|
43
|
+
{% if site.social.share contains 'twitter' %}<div class="twitter" title="Share this on Twitter" onclick="window.open('http://twitter.com/intent/tweet?url={{ site.url }}{{ site.baseurl }}{{ pageurl }}');"><svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1684 408q-67 98-162 167 1 14 1 42 0 130-38 259.5t-115.5 248.5-184.5 210.5-258 146-323 54.5q-271 0-496-145 35 4 78 4 225 0 401-138-105-2-188-64.5t-114-159.5q33 5 61 5 43 0 85-11-112-23-185.5-111.5t-73.5-205.5v-4q68 38 146 41-66-44-105-115t-39-154q0-88 44-163 121 149 294.5 238.5t371.5 99.5q-8-38-8-74 0-134 94.5-228.5t228.5-94.5q140 0 236 102 109-21 205-78-37 115-142 178 93-10 186-50z"/></svg></div>{% endif %}
|
44
|
+
</div>
|
45
|
+
</div>
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<nav id="site-nav" class="site-nav" role="navigation" aria-label="main">
|
2
|
+
<header>
|
3
|
+
<span class="dropdown">
|
4
|
+
<button id="pages-btn" class="dropdown-btn">
|
5
|
+
<span id="pages-emoji-span">🗺</span>
|
6
|
+
</button>
|
7
|
+
<div class="dropdown-content">
|
8
|
+
<!-- <button id="search-btn" class="site-nav-btn" title="Search">
|
9
|
+
<span id="search-emoji-span">🔍</span>
|
10
|
+
</button> -->
|
11
|
+
<button id="posts-btn" class="dropbtn drop-2" title="Go To Posts">
|
12
|
+
<span id="posts-emoji-span">📓</span>
|
13
|
+
</button>
|
14
|
+
<button id="stat-tags-btn" class="dropbtn drop-1" title="Go To Status Tags">
|
15
|
+
<span id="stat-tags-emoji-span">🔖</span>
|
16
|
+
</button>
|
17
|
+
<button id="recent-btn" class="dropbtn drop-3" title="Go To Recent Changes">
|
18
|
+
<span id="recent-emoji-span">🌦</span>
|
19
|
+
</button>
|
20
|
+
<button id="home-btn" class="dropbtn drop-4" title="Go To Home">
|
21
|
+
<span id="home-emoji-span">🛖</span>
|
22
|
+
</button>
|
23
|
+
</div>
|
24
|
+
</span>
|
25
|
+
<label class="btn-selector">
|
26
|
+
<input id="theme-colors-checkbox" type="checkbox" checked="checked">
|
27
|
+
<span id="theme-colors-emoji-span" title="Toggle Colors"></span>
|
28
|
+
</label>
|
29
|
+
<label class="btn-selector">
|
30
|
+
<input id="nav-type-checkbox" type="checkbox" checked="checked">
|
31
|
+
<span id="nav-type-emoji-span" title="Toggle Nav Type"></span>
|
32
|
+
</label>
|
33
|
+
<label class="btn-selector">
|
34
|
+
<input id="graph-type-checkbox" type="checkbox" checked="checked">
|
35
|
+
<span id="graph-type-emoji-span" title="Toggle Graph Type"></span>
|
36
|
+
</label>
|
37
|
+
</header>
|
38
|
+
|
39
|
+
<nav id="visited-nav" class="visited-nav"></nav>
|
40
|
+
<svg id="svg-graph" height="100%" width="100%"></svg>
|
41
|
+
|
42
|
+
<footer>
|
43
|
+
<span class="small-descr">Grown 🪴 with 💚 from a <a href="https://github.com/manunamz/jekyll-bonsai/">jekyll-bonsai</a>.</span>
|
44
|
+
<button id="delete-btn" class="delete-btn" title="Delete Visited History">
|
45
|
+
<span id="delete-emoji-span" title="Delete Visited Info">🧹</span>
|
46
|
+
</button>
|
47
|
+
</footer>
|
48
|
+
</nav>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
layout: table-wrappers
|
3
|
+
---
|
4
|
+
<!doctype html>
|
5
|
+
<html>
|
6
|
+
{% include head.html %}
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<div class="side-bar">
|
10
|
+
{% include site-nav.html %}
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<div class="main" id="top">
|
14
|
+
<div id="main-content-wrap" class="main-content-wrap">
|
15
|
+
<div id="main-content" class="main-content" role="main">
|
16
|
+
{% include anchor-headings.html html=content anchorBody="<i class='anchor-tag'>🐝</i>" anchorClass="anchor-heading" %}
|
17
|
+
</div>
|
18
|
+
<div class="connect">
|
19
|
+
{% if site.social.enabled %}
|
20
|
+
{% include connect.html %}
|
21
|
+
{% endif %}
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
<label class="bonsai-burger">
|
27
|
+
<input id="wiki-link-nav-checkbox" type="checkbox">
|
28
|
+
<img id="nav-bonsai" height="50" width="50" hidden></img>
|
29
|
+
<img id="nav-base" height="40" width="40"></img>
|
30
|
+
</label>
|
31
|
+
|
32
|
+
<script src="https://d3js.org/d3.v6.min.js"></script>
|
33
|
+
{% include metrics.html %}
|
34
|
+
{% include hover-preview.html wrapperQuerySelector="content" %}
|
35
|
+
<!-- modules: https://stackoverflow.com/questions/58211880/uncaught-syntaxerror-cannot-use-import-statement-outside-a-module-when-import -->
|
36
|
+
<script type="module" src="{{ '/assets/js/scripts.js' | relative_url }}"></script>
|
37
|
+
|
38
|
+
</body>
|
39
|
+
</html>
|
data/_layouts/entry.html
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div id="entry">
|
6
|
+
|
7
|
+
<!-- breadcrumb ancestry path -->
|
8
|
+
<header id="entry-header">
|
9
|
+
<nav class="entry-head-nav" role="navigation" aria-label="breadcrumb">
|
10
|
+
<label class="btn-selector">
|
11
|
+
<input id="entry-head-checkbox" type="checkbox">
|
12
|
+
<span id="entry-head-emoji-span" title="Toggle Header">🛤</span>
|
13
|
+
</label>
|
14
|
+
<ol class="entry-head-breadcrumbs">
|
15
|
+
{% for ancestor in page.ancestors %}
|
16
|
+
<li class="entry-head-breadcrumb">
|
17
|
+
<span title="Ancestor Entry">{% include img/bullet-ancestor.svg %}</span>
|
18
|
+
<a class="wiki-link {% if ancestor.id == '' %}missing-entry-txt{% endif %} " href="{{ ancestor.url | relative_url }}">
|
19
|
+
{{ ancestor.title }}
|
20
|
+
</a>
|
21
|
+
</li>
|
22
|
+
{% endfor %}
|
23
|
+
<li class="entry-head-breadcrumb">
|
24
|
+
<span title="Ancestor Link">{% include img/bullet-ancestor.svg %}</span>
|
25
|
+
<span>{{ page.title }}</span>
|
26
|
+
</li>
|
27
|
+
</ol>
|
28
|
+
</nav>
|
29
|
+
</header>
|
30
|
+
|
31
|
+
<div class="entry-body">
|
32
|
+
|
33
|
+
<h1>{{ page.title }}</h1>
|
34
|
+
<p class="small-descr">
|
35
|
+
{% assign stat_tags = page.tags | stat_tags %}
|
36
|
+
{% for stat_tag in stat_tags %}
|
37
|
+
<a class="stat-tag" href="{{ stat_tag.url | relative_url }}">{{ stat_tag.emoji }}</a>
|
38
|
+
{% endfor %}
|
39
|
+
<span>Last Tended: {{ page.updated | date: "%Y-%m-%d" }}</span>
|
40
|
+
</p>
|
41
|
+
|
42
|
+
{% include entry-attrs.html %}
|
43
|
+
|
44
|
+
{% if page.title == site.index_title %}
|
45
|
+
<img id="home-bonsai" style="float: right; padding: 12px;" height="35%" width="35%">
|
46
|
+
{% endif %}
|
47
|
+
|
48
|
+
{{ content }}
|
49
|
+
|
50
|
+
</div>
|
51
|
+
|
52
|
+
{% if site.social.enabled %}
|
53
|
+
{% include share.html %}
|
54
|
+
{% endif %}
|
55
|
+
|
56
|
+
<footer class="entry-footer">
|
57
|
+
<!-- linked entries -->
|
58
|
+
<div class="entry-foot-wrapper">
|
59
|
+
<div>
|
60
|
+
<label class="entry-foot-selector">
|
61
|
+
<input id="entry-foot-links-checkbox" type="checkbox">
|
62
|
+
<span id="entry-foot-link-emoji-span" title="Toggle Linked Entries">🚏</span>
|
63
|
+
</label>
|
64
|
+
</div>
|
65
|
+
<nav id="entry-foot-links-nav" class="entry-foot-nav" role="navigation" aria-label="">
|
66
|
+
{% assign linked_entries = page.backlinks | doc_type: "entries" %}
|
67
|
+
{% if page.children.size == 0 and linked_entries.size == 0 %}
|
68
|
+
<p class="small-descr">No linked entries.</p>
|
69
|
+
{% else %}
|
70
|
+
<div class="entry-foot-nav-sections">
|
71
|
+
<div class="entry-foot-nav-section">
|
72
|
+
<ul class="entry-foot-nav-list">
|
73
|
+
{% for child in page.children %}
|
74
|
+
<li class="entry-foot-nav-list-item">
|
75
|
+
<span style="display: inline-block;" title="Child Entry">{% include img/bullet-tree.svg %}</span>
|
76
|
+
<a class="wiki-link {% if child.id == '' %}missing-entry-txt{% endif %}" href="{{ child.url | relative_url }}">
|
77
|
+
{{ child.title }}
|
78
|
+
</a>
|
79
|
+
</li>
|
80
|
+
{% endfor %}
|
81
|
+
</ul>
|
82
|
+
</div>
|
83
|
+
<div class="entry-foot-nav-section">
|
84
|
+
<ul class="entry-foot-nav-list">
|
85
|
+
{% for backlink in linked_entries %}
|
86
|
+
<li class="entry-foot-nav-list-item">
|
87
|
+
<span style="display: inline-block;" title="Backlinked Entry">{% include img/bullet-net-web.svg %}</span>
|
88
|
+
<a class="wiki-link" href="{{ backlink.doc.url | relative_url }}">{{ backlink.doc.title }}</a>
|
89
|
+
</li>
|
90
|
+
{% endfor %}
|
91
|
+
</ul>
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
{% endif %}
|
95
|
+
</nav>
|
96
|
+
</div>
|
97
|
+
<!-- linked posts -->
|
98
|
+
<div class="entry-foot-wrapper">
|
99
|
+
<div>
|
100
|
+
<label class="entry-foot-selector field-blogs">
|
101
|
+
<input id="entry-foot-posts-checkbox" type="checkbox">
|
102
|
+
<span id="entry-foot-posts-emoji-span" title="Toggle Linked Posts">📓</span>
|
103
|
+
</label>
|
104
|
+
</div>
|
105
|
+
<nav id="entry-foot-posts-nav" class="entry-foot-nav" role="navigation" aria-label="">
|
106
|
+
{% assign semantic_tagged_posts = page.namespace | sem_tag_posts %}
|
107
|
+
{% if semantic_tagged_posts.size == 0 %}
|
108
|
+
<span class="small-descr">No linked posts.</span>
|
109
|
+
{% else %}
|
110
|
+
<div class="entry-foot-nav-section">
|
111
|
+
<ul class="entry-foot-nav-list">
|
112
|
+
{% for post in semantic_tagged_posts %}
|
113
|
+
<li class="entry-foot-nav-list-item">
|
114
|
+
<span class="small-descr">📄</span><a class="wiki-link" href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
115
|
+
</li>
|
116
|
+
{% endfor %}
|
117
|
+
</ul>
|
118
|
+
</div>
|
119
|
+
{% endif %}
|
120
|
+
</nav>
|
121
|
+
</div>
|
122
|
+
</footer>
|
123
|
+
|
124
|
+
</div>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div id="post">
|
6
|
+
|
7
|
+
<h1>{{ page.title }}</h1>
|
8
|
+
<p class="small-descr">
|
9
|
+
{% assign stat_tags = page.tags | stat_tags %}
|
10
|
+
{% for stat_tag in stat_tags %}
|
11
|
+
<a class="stat-tag" href="{{ stat_tag.url | relative_url }}">{{ stat_tag.emoji }}</a>
|
12
|
+
{% endfor %}
|
13
|
+
<span>Last Tended: {{ page.updated | date: "%Y-%m-%d" }}</span>
|
14
|
+
</p>
|
15
|
+
|
16
|
+
{{ content }}
|
17
|
+
|
18
|
+
<p>
|
19
|
+
{% assign sem_tags = page.tags | sem_tags %}
|
20
|
+
{% for sem_tag in sem_tags %}
|
21
|
+
<a class="sem-tag" href="{{ sem_tag.url | relative_url }}">{{ sem_tag.tag }}</a>
|
22
|
+
{% endfor %}
|
23
|
+
</p>
|
24
|
+
|
25
|
+
{% if site.social.enabled %}
|
26
|
+
{% include share.html %}
|
27
|
+
{% endif %}
|
28
|
+
|
29
|
+
</div>
|
data/_layouts/state.html
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
{% assign states = site.states %}
|
5
|
+
{% assign index_state_title = "Plant Tags Page" %}
|
6
|
+
|
7
|
+
<div id="states" class="states-page">
|
8
|
+
<nav class="states-nav">
|
9
|
+
<ul class="states-nav-list">
|
10
|
+
{% for state in states %}
|
11
|
+
<li class="states-list-item {% if page.url == state.url %}active{% endif %}">
|
12
|
+
<a href="{{ state.url | relative_url }}" class="stat-tag">
|
13
|
+
{{ state.emoji }}
|
14
|
+
</a>
|
15
|
+
</li>
|
16
|
+
{% endfor %}
|
17
|
+
</ul>
|
18
|
+
</nav>
|
19
|
+
|
20
|
+
<!-- all states -->
|
21
|
+
{% if page.title == index_state_title %}
|
22
|
+
<h1>🔖 Plant Tags In This Garden</h1>
|
23
|
+
{{ content }}
|
24
|
+
<p class="small-descr">
|
25
|
+
Descriptions only reflect the spirit of this garden.
|
26
|
+
Click <a href="{{ page.emojipedia }}">here</a> for the official emoji description.
|
27
|
+
</p>
|
28
|
+
{% for state in states %}
|
29
|
+
{% if state.title != index_state_title %}
|
30
|
+
<h2>{{ state.emoji }} <a href="{{ state.url | relative_url }}" class="wiki-link">{{ state.title }}</a></h2>
|
31
|
+
<p>{{ state.content | markdownify }}</p>
|
32
|
+
{% endif %}
|
33
|
+
{% endfor %}
|
34
|
+
<!-- individual states -->
|
35
|
+
{% else %}
|
36
|
+
<!-- page == tag (from tag-nav) -->
|
37
|
+
{% assign entries_w_stat = site.entries | where: 'tags', page.emoji %}
|
38
|
+
<h1>{{ page.emoji }} {{ page.title }}</h1>
|
39
|
+
{{ content }}
|
40
|
+
<p class="small-descr">
|
41
|
+
Descriptions only reflect the spirit of this garden.
|
42
|
+
Click <a href="{{ page.emojipedia }}">here</a> for the official emoji description.
|
43
|
+
</p>
|
44
|
+
|
45
|
+
{% if entries_w_stat.size == 0 %}
|
46
|
+
<div class="no-results">
|
47
|
+
There are currently no {{ page.emoji }}s.
|
48
|
+
</div>
|
49
|
+
{% else %}
|
50
|
+
<ul class="states-list">
|
51
|
+
{% for entry in entries_w_stat %}
|
52
|
+
<li class="states-list-item">
|
53
|
+
{{ page.emoji }} <a href="{{ entry.url | relative_url }}" class="wiki-link">{{ entry.title }}</a>
|
54
|
+
</li>
|
55
|
+
{% endfor %}
|
56
|
+
</ul>
|
57
|
+
{% endif %}
|
58
|
+
{% endif %}
|
59
|
+
</div>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
# Jekyll layout that compresses HTML
|
3
|
+
# v3.1.0
|
4
|
+
# http://jch.penibelst.de/
|
5
|
+
# © 2014–2015 Anatol Broder
|
6
|
+
# MIT License
|
7
|
+
---
|
8
|
+
|
9
|
+
{% capture _LINE_FEED %}
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
data/_pages/about.md
ADDED
data/_pages/posts.html
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Field bLogs Page
|
4
|
+
permalink: /posts/
|
5
|
+
---
|
6
|
+
<div id="posts">
|
7
|
+
|
8
|
+
<h1>📓 Field bLogs</h1>
|
9
|
+
|
10
|
+
<ul class="posts-list">
|
11
|
+
{% for post in site.posts %}
|
12
|
+
<li class="posts-list-item">
|
13
|
+
<a class="wiki-link" href="{{ post.url | relative_url }}">📄 {{ post.title }}</a>
|
14
|
+
<span style="color: grey;">{{ post.updated | date: "%Y-%m-%d" }}</span>
|
15
|
+
</li>
|
16
|
+
{% endfor %}
|
17
|
+
</ul>
|
18
|
+
|
19
|
+
</div>
|
data/_pages/recent.html
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Recent Weather Page
|
4
|
+
permalink: /recent/
|
5
|
+
---
|
6
|
+
<div id="recent">
|
7
|
+
|
8
|
+
<div>
|
9
|
+
<h1>🌦 Recent Weather</h1>
|
10
|
+
<div class="leader">
|
11
|
+
<div class="infobox">
|
12
|
+
<p class="title">Weather Statuses</p>
|
13
|
+
<p>🌤 Created</p>
|
14
|
+
<p>🌧 Updated</p>
|
15
|
+
<p style="color: grey;"><em>🌩 Deleted (Currently not active)</em></p>
|
16
|
+
</div>
|
17
|
+
<p>
|
18
|
+
Instead of a 'forecast' looking into the future, these are 'backcasts' peering into recent history.
|
19
|
+
It's featured posts, but version controlled. It's a feed, without infinite scroll. It's releases, with a chance of rain.
|
20
|
+
</p>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div>
|
25
|
+
<h2 style="text-align: left; padding-bottom: 24px; padding-top: 24px;">Posts</h2>
|
26
|
+
{% assign recent_posts = site.posts | recent: site.recent_num %}
|
27
|
+
<ul class="recent-list">
|
28
|
+
{% for post in recent_posts %}
|
29
|
+
<li class="recent-list-item">
|
30
|
+
<a class="wiki-link" href="{{ post.url | relative_url }}">{{ post | weather }} {{ post.title }}</a>
|
31
|
+
<span class="date-updated">{{ post.updated | date: "%Y-%m-%d" }}</span>
|
32
|
+
</li>
|
33
|
+
{% endfor %}
|
34
|
+
</ul>
|
35
|
+
|
36
|
+
<h2 style="text-align: left; padding-bottom: 12px;">Entries</h2>
|
37
|
+
{% assign recent_entries = site.entries | recent: site.recent_num %}
|
38
|
+
<ul class="recent-list">
|
39
|
+
{% for entry in recent_entries %}
|
40
|
+
<li class="recent-list-item">
|
41
|
+
<a class="wiki-link" href="{{ entry.url | relative_url }}">{{ entry | weather }} {{ entry.title }}</a>
|
42
|
+
<span class="date-updated">{{ entry.updated | date: "%Y-%m-%d" }}</span>
|
43
|
+
</li>
|
44
|
+
{% endfor %}
|
45
|
+
</ul>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
</div>
|