jekyll-theme-hydejack 8.5.2 → 9.0.0
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 +5 -5
- data/CHANGELOG.md +1208 -0
- data/LICENSE.md +9 -3
- data/NOTICE.md +290 -0
- data/README.md +126 -85
- data/_config.yml +73 -0
- data/_includes/base-classes +9 -0
- data/_includes/body/analytics.html +1 -1
- data/_includes/body/comments.html +1 -1
- data/_includes/body/footer.html +3 -3
- data/_includes/body/index.html +17 -16
- data/_includes/body/main.html +3 -13
- data/_includes/body/menu.html +3 -14
- data/_includes/body/nav.html +4 -4
- data/_includes/body/scripts.html +2 -4
- data/_includes/body/sidebar-bg.html +13 -0
- data/_includes/body/sidebar-sticky.html +25 -0
- data/_includes/body/sidebar.html +7 -40
- data/_includes/components/about.html +1 -1
- data/_includes/components/author.html +3 -3
- data/_includes/components/hy-img.html +15 -26
- data/_includes/components/link.html +1 -1
- data/_includes/components/message.html +1 -1
- data/_includes/components/post-list-item.html +3 -3
- data/_includes/components/post.html +14 -11
- data/_includes/components/related-posts.html +14 -4
- data/_includes/components/tag-list.html +5 -1
- data/_includes/head/css/inline +1 -0
- data/_includes/head/index.html +14 -8
- data/_includes/head/links-static.html +27 -0
- data/_includes/head/links.html +1 -32
- data/_includes/head/meta-static.html +18 -0
- data/_includes/head/meta.html +8 -24
- data/_includes/head/page-style.html +1 -3
- data/_includes/head/scripts.html +12 -7
- data/_includes/head/styles-inline.html +19 -0
- data/_includes/head/styles-layout.html +4 -0
- data/_includes/head/styles-no-inline.html +8 -0
- data/_includes/head/styles.html +5 -34
- data/_includes/header.txt +1 -1
- data/_includes/if-non-null +7 -0
- data/_includes/my-body.html +1 -1
- data/_includes/my-scripts.html +1 -1
- data/_includes/smart-url +1 -0
- data/_includes/smart-url.txt +1 -1
- data/_includes/styles/common.scss +18 -0
- data/_includes/styles/inline.scss +16 -28
- data/_includes/styles/page-style.scss +5 -60
- data/_includes/styles/style.scss +25 -36
- data/_includes/styles/variables.scss +62 -0
- data/_includes/templates/animation.html +1 -1
- data/_includes/templates/back.html +2 -2
- data/_includes/templates/error.html +1 -1
- data/_includes/templates/forward.html +2 -2
- data/_includes/templates/index.html +10 -11
- data/_includes/templates/loading.html +1 -1
- data/_includes/templates/permalink.html +2 -2
- data/_layouts/about.html +1 -1
- data/_layouts/base.html +6 -1
- data/_layouts/blog.html +9 -7
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +4 -4
- data/_layouts/list.html +11 -17
- data/_layouts/page.html +1 -0
- data/_layouts/post.html +5 -3
- data/_sass/_mixins.scss +6 -20
- data/_sass/_syntax.scss +142 -130
- data/_sass/_variables.scss +1 -42
- data/_sass/html.scss +42 -0
- data/_sass/hydejack/__inline__/_avatar.scss +10 -10
- data/_sass/hydejack/__inline__/_base.scss +7 -21
- data/_sass/hydejack/__inline__/_content.scss +9 -2
- data/_sass/hydejack/__inline__/_images.scss +1 -3
- data/_sass/hydejack/__inline__/_links.scss +28 -13
- data/_sass/hydejack/__inline__/_menu.scss +42 -13
- data/_sass/hydejack/__inline__/_sidebar.scss +40 -14
- data/_sass/hydejack/__inline__/_social.scss +3 -0
- data/_sass/hydejack/__inline__/_toc.scss +55 -0
- data/_sass/hydejack/__inline__/_utilities.scss +3 -0
- data/_sass/hydejack/__link__/_avatar.scss +0 -4
- data/_sass/hydejack/__link__/_base.scss +1 -2
- data/_sass/hydejack/__link__/_break-layout.scss +17 -8
- data/_sass/hydejack/__link__/_content.scss +1 -0
- data/_sass/hydejack/__link__/_footer.scss +6 -8
- data/_sass/hydejack/__link__/_images.scss +5 -40
- data/_sass/hydejack/__link__/_katex.scss +1 -26
- data/_sass/hydejack/__link__/_links.scss +29 -20
- data/_sass/hydejack/__link__/_mark-external.scss +2 -7
- data/_sass/hydejack/__link__/_menu.scss +63 -8
- data/_sass/hydejack/__link__/_sidebar.scss +12 -9
- data/_sass/hydejack/__link__/_toc.scss +53 -0
- data/_sass/hydejack/__link__/_utilities.scss +3 -0
- data/_sass/hydejack/_avatar.pre.scss +10 -12
- data/_sass/hydejack/_base.pre.scss +7 -23
- data/_sass/hydejack/_break-layout.pre.scss +19 -10
- data/_sass/hydejack/_content.pre.scss +10 -2
- data/_sass/hydejack/_footer.pre.scss +6 -8
- data/_sass/hydejack/_images.pre.scss +6 -42
- data/_sass/hydejack/_katex.pre.scss +3 -28
- data/_sass/hydejack/_links.pre.scss +49 -19
- data/_sass/hydejack/_mark-external.pre.scss +2 -7
- data/_sass/hydejack/_menu.pre.scss +91 -22
- data/_sass/hydejack/_sidebar.pre.scss +48 -22
- data/_sass/hydejack/_social.pre.scss +3 -0
- data/_sass/hydejack/_toc.pre.scss +65 -0
- data/_sass/hydejack/_utilities.pre.scss +3 -0
- data/_sass/my-inline.scss +2 -16
- data/_sass/my-style.scss +0 -9
- data/_sass/pooleparty/__inline__/_base.scss +10 -9
- data/_sass/pooleparty/__inline__/_message.scss +31 -0
- data/_sass/pooleparty/__inline__/_posts.scss +19 -2
- data/_sass/pooleparty/__inline__/_table.scss +0 -28
- data/_sass/pooleparty/__inline__/_type.scss +81 -15
- data/_sass/pooleparty/__link__/_base.scss +11 -5
- data/_sass/pooleparty/__link__/_code.scss +40 -7
- data/_sass/pooleparty/__link__/_footnotes.scss +4 -5
- data/_sass/pooleparty/__link__/_pagination.scss +3 -2
- data/_sass/pooleparty/__link__/_posts.scss +11 -6
- data/_sass/pooleparty/__link__/_read-more.scss +1 -1
- data/_sass/pooleparty/__link__/_table.scss +27 -16
- data/_sass/pooleparty/__link__/_type.scss +56 -19
- data/_sass/pooleparty/_base.pre.scss +25 -18
- data/_sass/pooleparty/_code.pre.scss +40 -7
- data/_sass/pooleparty/_footnotes.pre.scss +4 -5
- data/_sass/pooleparty/_message.pre.scss +33 -2
- data/_sass/pooleparty/_pagination.pre.scss +5 -4
- data/_sass/pooleparty/_posts.pre.scss +34 -12
- data/_sass/pooleparty/_read-more.pre.scss +1 -1
- data/_sass/pooleparty/_table.pre.scss +13 -20
- data/_sass/pooleparty/_type.pre.scss +100 -35
- data/assets/bower_components/MathJax/.bower.json +28 -0
- data/assets/bower_components/MathJax/LICENSE +202 -0
- data/assets/bower_components/MathJax/bower.json +11 -0
- data/assets/bower_components/MathJax/composer.json +14 -0
- data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -0
- data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -0
- data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -0
- data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -0
- data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -0
- data/assets/bower_components/MathJax/es5/core.js +1 -0
- data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -0
- data/assets/bower_components/MathJax/es5/input/mml.js +1 -0
- data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -0
- data/assets/bower_components/MathJax/es5/latest.js +1 -0
- data/assets/bower_components/MathJax/es5/loader.js +1 -0
- data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/mml-svg.js +1 -0
- data/assets/bower_components/MathJax/es5/node-main.js +1 -0
- data/assets/bower_components/MathJax/es5/output/chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/svg.js +1 -0
- data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/fr.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +410 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1709 -0
- data/assets/bower_components/MathJax/es5/startup.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-svg.js +1 -0
- data/assets/bower_components/MathJax/es5/ui/menu.js +1 -0
- data/assets/bower_components/MathJax/package.json +59 -0
- data/assets/bower_components/katex/.bower.json +2 -3
- data/assets/css/{hydejack-7.5.2.css → hydejack-9.0.0.css} +0 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +8 -2
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +1 -1
- data/assets/icomoon/style.css +31 -12
- data/assets/js/.gitkeep +0 -0
- data/assets/js/LEGACY-drawer-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-fetch-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-hydejack-9.0.0.js +28 -0
- data/assets/js/LEGACY-navbar-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-push-state-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-resize-observer-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-shadydom-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.0.js +47 -0
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.0.js +215 -0
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.0.js +33 -0
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.0.js +155 -0
- data/assets/js/LEGACY-vendors~webanimations-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.0.0.js +34 -0
- data/assets/js/LEGACY-webcomponents-hydejack-9.0.0.js +14 -0
- data/assets/js/drawer-hydejack-9.0.0.js +14 -0
- data/assets/js/fetch-hydejack-9.0.0.js +14 -0
- data/assets/js/hydejack-9.0.0.js +28 -0
- data/assets/js/navbar-hydejack-9.0.0.js +14 -0
- data/assets/js/push-state-hydejack-9.0.0.js +14 -0
- data/assets/js/resize-observer-hydejack-9.0.0.js +14 -0
- data/assets/js/shadydom-hydejack-9.0.0.js +14 -0
- data/assets/js/vendors~drawer-hydejack-9.0.0.js +47 -0
- data/assets/js/vendors~drawer~push-state-hydejack-9.0.0.js +163 -0
- data/assets/js/vendors~intersection-observer-hydejack-9.0.0.js +14 -0
- data/assets/js/vendors~push-state-hydejack-9.0.0.js +33 -0
- data/assets/js/vendors~shadydom-hydejack-9.0.0.js +146 -0
- data/assets/js/vendors~webanimations-hydejack-9.0.0.js +14 -0
- data/assets/js/webcomponents-hydejack-9.0.0.js +14 -0
- data/assets/version.json +3 -2
- data/licenses/PRO.md +4 -0
- data/licenses/README.md +1 -1
- data/licenses/{W3C.md → W3C-20150513.md} +0 -0
- metadata +161 -40
- data/_includes/scripts.html +0 -33
- data/assets/Resume.pdf +0 -0
- data/assets/css/hydejack-8.5.2.css +0 -3
- data/assets/img/blog/COLOURlovers.com-Hydejack.png +0 -0
- data/assets/img/blog/blog-layout.jpg +0 -0
- data/assets/img/blog/caleb-george-old.jpg +0 -0
- data/assets/img/blog/caleb-george.jpg +0 -0
- data/assets/img/blog/cover-page.jpg +0 -0
- data/assets/img/blog/dark-mode-ii.jpg +0 -0
- data/assets/img/blog/dark-mode.jpg +0 -0
- data/assets/img/blog/example-content-ii.jpg +0 -0
- data/assets/img/blog/example-content-iii.jpg +0 -0
- data/assets/img/blog/hydejack-8.png +0 -0
- data/assets/img/blog/hydejack-8@0,25x.png +0 -0
- data/assets/img/blog/hydejack-8@0,5x.png +0 -0
- data/assets/img/blog/lazy-images.jpg +0 -0
- data/assets/img/blog/louis-hansel.jpg +0 -0
- data/assets/img/blog/resume.png +0 -0
- data/assets/img/blog/steve-harvey.jpg +0 -0
- data/assets/img/blog/w3m.png +0 -0
- data/assets/img/blog/wade-lambert.jpg +0 -0
- data/assets/img/docs/google-fonts.png +0 -0
- data/assets/img/projects/hy-drawer.svg +0 -12
- data/assets/img/projects/hy-img.svg +0 -17
- data/assets/img/projects/hy-push-state.svg +0 -13
- data/assets/js/hydejack-8.5.2.js +0 -161
- data/assets/js/hydejack-legacy-8.5.2.js +0 -190
- data/assets/video/blog-layout.mp4 +0 -0
- data/assets/video/cover-page.mp4 +0 -0
- data/assets/video/dark-mode.mp4 +0 -0
- data/assets/video/lazy-images.mp4 +0 -0
|
@@ -1,64 +1,9 @@
|
|
|
1
|
-
// These styles interact with JavsScript!
|
|
2
|
-
// Their ordering MUST NOT be changed. See `_js/cross-fader.js`!
|
|
3
|
-
|
|
4
1
|
{% assign color = include.color | default:'#4fb1ba' %}
|
|
5
2
|
{% assign theme_color = include.theme_color | default:'#193747' %}
|
|
6
3
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
color: {{ color }};
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// 1
|
|
14
|
-
.content a:not(.btn):hover {
|
|
15
|
-
border-color: {{ color }};
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// 2
|
|
19
|
-
:focus {
|
|
20
|
-
outline-color: {{ color }}!important;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// 3
|
|
24
|
-
.btn-primary {
|
|
25
|
-
color: #fff;
|
|
26
|
-
background-color: {{ color }};
|
|
27
|
-
border-color: {{ color }};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// 4
|
|
31
|
-
.btn-primary:focus, .btn-primary.focus, .form-control:focus, .form-control.focus {
|
|
32
|
-
box-shadow: 0 0 0 3px rgba({{ color }}, .5);
|
|
4
|
+
html {
|
|
5
|
+
--accent-color: {{ color }};
|
|
6
|
+
--accent-color-faded: #{fade-out({{ color }}, 0.5)};
|
|
7
|
+
--accent-color-darkened: #{darken({{ color }}, 7.5%)};
|
|
8
|
+
--theme-color: {{ theme_color }};
|
|
33
9
|
}
|
|
34
|
-
|
|
35
|
-
// 5
|
|
36
|
-
.btn-primary:hover, .btn-primary.hover {
|
|
37
|
-
color: #fff;
|
|
38
|
-
background-color: darken({{ color }}, 7.5%);
|
|
39
|
-
border-color: darken({{ color }}, 7.5%);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// 6
|
|
43
|
-
.btn-primary:disabled, .btn-primary.disabled {
|
|
44
|
-
color: #fff;
|
|
45
|
-
background-color: {{ color }};
|
|
46
|
-
border-color: {{ color }};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// 7
|
|
50
|
-
.btn-primary:active, .btn-primary.active {
|
|
51
|
-
color: #fff;
|
|
52
|
-
background-color: darken({{ color }}, 7.5%);
|
|
53
|
-
border-color: darken({{ color }}, 7.5%);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
::selection {
|
|
57
|
-
color: #fff;
|
|
58
|
-
background: {{ color }};
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
::-moz-selection {
|
|
62
|
-
color: #fff;
|
|
63
|
-
background: {{ color }};
|
|
64
|
-
}
|
data/_includes/styles/style.scss
CHANGED
|
@@ -1,27 +1,19 @@
|
|
|
1
|
-
// Copyright (c)
|
|
1
|
+
// Copyright (c) 2019 Florian Klampfer <https://qwtel.com/>
|
|
2
2
|
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
// copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
3
|
+
// This program is free software: you can redistribute it and/or modify
|
|
4
|
+
// it under the terms of the GNU General Public License as published by
|
|
5
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
6
|
+
// (at your option) any later version.
|
|
9
7
|
//
|
|
10
|
-
//
|
|
11
|
-
//
|
|
8
|
+
// This program is distributed in the hope that it will be useful,
|
|
9
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
+
// GNU General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
//
|
|
14
|
-
//
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
-
// SOFTWARE.
|
|
20
|
-
|
|
21
|
-
$font-family-heading: {{ site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" }};
|
|
22
|
-
$font-family: {{ site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" }};
|
|
23
|
-
$theme-color: {{ site.theme_color | default:'#193747' }};
|
|
13
|
+
// You should have received a copy of the GNU General Public License
|
|
14
|
+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
24
15
|
|
|
16
|
+
{% include styles/variables.scss %}
|
|
25
17
|
@import "variables";
|
|
26
18
|
@import "my-variables";
|
|
27
19
|
@import "mixins";
|
|
@@ -48,23 +40,24 @@ $theme-color: {{ site.theme_color | default:'#193747' }};
|
|
|
48
40
|
@import "hydejack/__link__/sidebar";
|
|
49
41
|
@import "hydejack/__link__/social";
|
|
50
42
|
@import "hydejack/__link__/menu";
|
|
43
|
+
@import "hydejack/__link__/toc";
|
|
51
44
|
@import "hydejack/__link__/content";
|
|
52
45
|
@import "hydejack/__link__/avatar";
|
|
53
46
|
@import "hydejack/__link__/katex";
|
|
54
47
|
@import "hydejack/__link__/footer";
|
|
55
48
|
|
|
56
49
|
{% unless site.hydejack.no_mark_external or site.no_mark_external %}
|
|
57
|
-
|
|
50
|
+
@import "hydejack/__link__/mark-external";
|
|
58
51
|
{% endunless %}
|
|
52
|
+
|
|
59
53
|
{% unless site.hydejack.no_break_layout %}
|
|
60
|
-
|
|
54
|
+
@import "hydejack/__link__/break-layout";
|
|
61
55
|
{% endunless %}
|
|
62
56
|
|
|
63
|
-
@import "syntax";
|
|
64
|
-
@import "spinner";
|
|
65
|
-
|
|
66
57
|
@import "my-style";
|
|
67
58
|
{% else %}
|
|
59
|
+
@import "html";
|
|
60
|
+
|
|
68
61
|
@import "pooleparty/_base.pre.scss";
|
|
69
62
|
@import "pooleparty/_type.pre.scss";
|
|
70
63
|
@import "pooleparty/_table.pre.scss";
|
|
@@ -84,6 +77,7 @@ $theme-color: {{ site.theme_color | default:'#193747' }};
|
|
|
84
77
|
@import "hydejack/_sidebar.pre.scss";
|
|
85
78
|
@import "hydejack/_social.pre.scss";
|
|
86
79
|
@import "hydejack/_menu.pre.scss";
|
|
80
|
+
@import "hydejack/_toc.pre.scss";
|
|
87
81
|
@import "hydejack/_content.pre.scss";
|
|
88
82
|
@import "hydejack/_avatar.pre.scss";
|
|
89
83
|
@import "hydejack/_katex.pre.scss";
|
|
@@ -92,22 +86,17 @@ $theme-color: {{ site.theme_color | default:'#193747' }};
|
|
|
92
86
|
{% unless site.hydejack.no_mark_external or site.no_mark_external %}
|
|
93
87
|
@import "hydejack/_mark-external.pre.scss";
|
|
94
88
|
{% endunless %}
|
|
89
|
+
|
|
95
90
|
{% unless site.hydejack.no_break_layout %}
|
|
96
91
|
@import "hydejack/_break-layout.pre.scss";
|
|
97
92
|
{% endunless %}
|
|
98
93
|
|
|
99
|
-
@import "syntax";
|
|
100
|
-
@import "spinner";
|
|
101
|
-
|
|
102
94
|
@import "my-inline";
|
|
103
95
|
@import "my-style";
|
|
104
96
|
|
|
105
|
-
|
|
106
|
-
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: $font-family-heading; }
|
|
107
|
-
|
|
108
|
-
{% if site.hydejack.no_page_style %}
|
|
109
|
-
{% assign color = site.accent_color | default:'#4fb1ba' %}
|
|
110
|
-
{% assign theme_color = site.theme_color | default:'#193747' %}
|
|
111
|
-
{% include styles/page-style.scss color=color theme_color=theme_color %}
|
|
112
|
-
{% endif %}
|
|
97
|
+
{% include styles/common.scss %}
|
|
113
98
|
{% endunless %}
|
|
99
|
+
|
|
100
|
+
@import "spinner";
|
|
101
|
+
|
|
102
|
+
@import "syntax";
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
|
|
2
|
+
//
|
|
3
|
+
// This program is free software: you can redistribute it and/or modify
|
|
4
|
+
// it under the terms of the GNU General Public License as published by
|
|
5
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
6
|
+
// (at your option) any later version.
|
|
7
|
+
//
|
|
8
|
+
// This program is distributed in the hope that it will be useful,
|
|
9
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
+
// GNU General Public License for more details.
|
|
12
|
+
//
|
|
13
|
+
// You should have received a copy of the GNU General Public License
|
|
14
|
+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
15
|
+
|
|
16
|
+
/*{% assign vars = site.data.variables %}*/
|
|
17
|
+
|
|
18
|
+
$font-family: {{ vars.font | default:site.font }};
|
|
19
|
+
$font-family-heading: {{ vars.font_heading | default:site.font_heading }};
|
|
20
|
+
$code-font-family: {{ vars.font_code | default:site.font_code }};
|
|
21
|
+
$theme-color: {{ vars.theme_color | default:site.theme_color | default:'#193747' }};
|
|
22
|
+
|
|
23
|
+
$root-font-size: {{ vars.root_font_size | default:15 }}px;
|
|
24
|
+
$root-font-size-medium: {{ vars.root_font_size_medium | default:16 }}px;
|
|
25
|
+
$root-font-size-large: {{ vars.root_font_size_large | default:17 }}px;
|
|
26
|
+
$root-font-size-print: {{ vars.root_font_size_print | default:9 }}pt;
|
|
27
|
+
$root-line-height: {{ vars.root_line_height | default:1.75 }};
|
|
28
|
+
|
|
29
|
+
$font-weight: {{ vars.font_weight | default:400 }};
|
|
30
|
+
$font-weight-bold: {{ vars.font_weight_bold | default:700 }};
|
|
31
|
+
$font-weight-heading: {{ vars.font_weight_heading | default:700 }};
|
|
32
|
+
|
|
33
|
+
$content-width: {{ vars.content_width | default:42 }}rem;
|
|
34
|
+
$content-width-2: {{ vars.content_width_2 | default:48 }}rem;
|
|
35
|
+
$content-width-5: {{ vars.content_width_5 | default:54 }}rem;
|
|
36
|
+
|
|
37
|
+
$content-padding: {{ vars.content_padding | default:1 }}rem;
|
|
38
|
+
|
|
39
|
+
$sidebar-width: {{ vars.sidebar_width | default:21 }}rem;
|
|
40
|
+
|
|
41
|
+
$break-point-1: {{ vars.break_point_1 | default:42 }}em;
|
|
42
|
+
$break-point-2: {{ vars.break_point_2 | default:54 }}em;
|
|
43
|
+
$break-point-3: {{ vars.break_point_3 | default:64 }}em;
|
|
44
|
+
$break-point-4: {{ vars.break_point_4 | default:72 }}em;
|
|
45
|
+
$break-point-5: {{ vars.break_point_5 | default:86 }}em;
|
|
46
|
+
|
|
47
|
+
$break-point-font-large: {{ vars.break_point_font_large | default:124 }}em;
|
|
48
|
+
|
|
49
|
+
$content-margin-3: 3rem;
|
|
50
|
+
$content-margin-5: 4rem;
|
|
51
|
+
|
|
52
|
+
// TODO: doc
|
|
53
|
+
$half-content: ($content-width-5 / 2) + $content-margin-5;
|
|
54
|
+
|
|
55
|
+
// The sidebar width starts adjusting dynamically when the content is at the center of the window.
|
|
56
|
+
// This is the case when the window size has a `min-width` of content area + twice the sidebar (left, right):
|
|
57
|
+
//
|
|
58
|
+
// $break-point-dynamic: $content-width-5 + (2 * $content-margin-5) + (2 * $sidebar-width); // = 104rem
|
|
59
|
+
//
|
|
60
|
+
// HACK: Since Chrome doesn't treat rem values in media queries correctly,
|
|
61
|
+
// we hard-code the pixel value for the values above.
|
|
62
|
+
$break-point-dynamic: ({{ vars.content_width_5 | default:54 }} + (2 * {{ vars.content_margin_5 | default:4 }}) + (2 * {{ vars.sidebar_width | default:21 }})) * {{ vars.root_font_size_medium | default:16 }}px;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<template id="_back-template"
|
|
2
|
-
<button id="_back" class="back nav-btn no-hover
|
|
1
|
+
<template id="_back-template">
|
|
2
|
+
<button id="_back" class="back nav-btn no-hover">
|
|
3
3
|
<span class="sr-only">{{ strings.back | default:"Back" }}</span>
|
|
4
4
|
<span class="icon-arrow-left2"></span>
|
|
5
5
|
</button>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<template id="_forward-template"
|
|
2
|
-
<button id="_forward" class="forward nav-btn no-hover
|
|
1
|
+
<template id="_forward-template">
|
|
2
|
+
<button id="_forward" class="forward nav-btn no-hover">
|
|
3
3
|
<span class="sr-only">{{ strings.forward | default:"Forward" }}</span>
|
|
4
4
|
<span class="icon-arrow-right2"></span>
|
|
5
5
|
</button>
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
<div hidden>
|
|
2
|
+
{% assign strings = site.data.strings %}
|
|
3
|
+
<h2 class="sr-only">{{ strings.templates | default: "Templates"}}{{ strings.colon | default:":" }}</h2>
|
|
3
4
|
|
|
4
|
-
{% include templates/animation.html %}
|
|
5
|
-
{% include templates/loading.html %}
|
|
6
|
-
{% include templates/error.html %}
|
|
7
|
-
{% include templates/forward.html %}
|
|
8
|
-
{% include templates/back.html %}
|
|
9
|
-
{% include templates/permalink.html %}
|
|
10
|
-
|
|
11
|
-
{% include templates/pro/cookies-banner.html %}
|
|
12
|
-
{% endif %}
|
|
5
|
+
{% include templates/animation.html %}
|
|
6
|
+
{% include templates/loading.html %}
|
|
7
|
+
{% include templates/error.html %}
|
|
8
|
+
{% include templates/forward.html %}
|
|
9
|
+
{% include templates/back.html %}
|
|
10
|
+
{% include templates/permalink.html %}
|
|
11
|
+
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<template id="_permalink-template"
|
|
1
|
+
<template id="_permalink-template">
|
|
2
2
|
<a href="#" class="permalink">
|
|
3
3
|
<span class="sr-only">{{ strings.permalink | default:"Permalink" }}</span>
|
|
4
|
-
<span class="{{ strings.permalink_icon | default:"
|
|
4
|
+
<span class="{{ strings.permalink_icon | default:"content-hash" }}"></span>
|
|
5
5
|
</a>
|
|
6
6
|
</template>
|
data/_layouts/about.html
CHANGED
|
@@ -23,7 +23,7 @@ layout: base
|
|
|
23
23
|
{% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
|
|
24
24
|
{% capture author_x %}
|
|
25
25
|
{% if author.picture %}
|
|
26
|
-
{%
|
|
26
|
+
{% include_cached components/hy-img.html class="avatar" img=author.picture alt=author.name %}
|
|
27
27
|
{% elsif plugins contains 'jekyll-avatar' %}
|
|
28
28
|
{% assign avatar = author.social.github | default:author.github.username | default:author.github %}
|
|
29
29
|
{% include components/avatar-tag.html user=avatar %}
|
data/_layouts/base.html
CHANGED
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
layout: compress
|
|
18
18
|
---
|
|
19
19
|
|
|
20
|
+
{% assign version = jekyll.version | split:'.' %}
|
|
21
|
+
{% assign major = v[0] %}
|
|
22
|
+
{% assign minor = v[1] %}
|
|
23
|
+
{% assign patch = v[2] %}
|
|
24
|
+
|
|
20
25
|
{% assign plugins = site.plugins | default:site.gems %}
|
|
21
26
|
|
|
22
27
|
{% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
|
|
@@ -33,6 +38,6 @@ layout: compress
|
|
|
33
38
|
{% include head/index.html %}
|
|
34
39
|
</head>
|
|
35
40
|
|
|
36
|
-
<body class="
|
|
41
|
+
<body class="{% include_cached base-classes %}">
|
|
37
42
|
{% include body/index.html %}
|
|
38
43
|
</body>
|
data/_layouts/blog.html
CHANGED
|
@@ -20,13 +20,15 @@ layout: base
|
|
|
20
20
|
{% assign plugins = site.plugins | default:site.gems %}
|
|
21
21
|
|
|
22
22
|
{% if plugins contains 'jekyll-paginate' %}
|
|
23
|
-
{%
|
|
24
|
-
|
|
25
|
-
{%
|
|
23
|
+
{% assign posts = paginator.posts %}
|
|
24
|
+
{% else %}
|
|
25
|
+
{% assign posts = site.categories[page.slug] | default:site.tags[page.slug] | default:site.posts %}
|
|
26
|
+
{% endif %}
|
|
27
|
+
|
|
28
|
+
{% for post in posts %}
|
|
29
|
+
{% include_cached components/post.html post=post no_link_title=page.no_link_title no_excerpt=page.no_excerpt hide_image=page.hide_image %}
|
|
30
|
+
{% endfor %}
|
|
26
31
|
|
|
32
|
+
{% if plugins contains 'jekyll-paginate' %}
|
|
27
33
|
{% include components/pagination.html %}
|
|
28
|
-
{% else %}
|
|
29
|
-
{% capture text %}To use this layout, include the `jekyll-paginate` plugin in your `Gemfile` and your `_config.yml` under `plugins`.
|
|
30
|
-
For more, see [Jekyll Pagination](https://jekyllrb.com/docs/pagination/).{% endcapture %}
|
|
31
|
-
{% include components/message.html text=text %}
|
|
32
34
|
{% endif %}
|
data/_layouts/compress.html
CHANGED
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
/\___/ \ \____/
|
|
11
11
|
\/__/ \/___/
|
|
12
12
|
|
|
13
|
-
Powered by Hydejack
|
|
13
|
+
Powered by Hydejack v9.0.0 <https://hydejack.com/>
|
|
14
14
|
-->{% capture _LINE_FEED %}
|
|
15
15
|
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ 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 p rt rp 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 %}</html>
|
data/_layouts/default.html
CHANGED
|
@@ -27,20 +27,20 @@ layout: base
|
|
|
27
27
|
|
|
28
28
|
{{ content }}
|
|
29
29
|
|
|
30
|
-
<hr class="dingbat"/>
|
|
30
|
+
<hr class="dingbat related"/>
|
|
31
31
|
|
|
32
32
|
{% if site.posts.size > 0 %}
|
|
33
|
-
<h2 class="hr">{{ strings.posts | default:"Posts" }}</h2>
|
|
33
|
+
<h2 class="hr-bottom">{{ strings.posts | default:"Posts" }}</h2>
|
|
34
34
|
<ul class="related-posts">
|
|
35
35
|
{% for post in site.posts limit:5 %}
|
|
36
|
-
{%
|
|
36
|
+
{% include_cached components/post-list-item.html post=post %}
|
|
37
37
|
{% endfor %}
|
|
38
38
|
</ul>
|
|
39
39
|
{% endif %}
|
|
40
40
|
|
|
41
41
|
{% assign pages = site.html_pages | where:"layout","page" | where_exp:"page","page.sitemap != false" %}
|
|
42
42
|
{% if pages.size > 0 %}
|
|
43
|
-
<h2 class="hr">{{ strings.pages | default:"Pages" }}</h2>
|
|
43
|
+
<h2 class="hr-bottom">{{ strings.pages | default:"Pages" }}</h2>
|
|
44
44
|
<ul class="related-posts">
|
|
45
45
|
{% for page in pages limit:5 %}
|
|
46
46
|
{% if page.layout == 'page' %}
|
data/_layouts/list.html
CHANGED
|
@@ -14,33 +14,27 @@
|
|
|
14
14
|
# You should have received a copy of the GNU General Public License
|
|
15
15
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
16
|
|
|
17
|
-
layout:
|
|
17
|
+
layout: page
|
|
18
18
|
---
|
|
19
19
|
|
|
20
|
-
{% assign posts = site.categories[page.slug] | default:site.tags[page.slug] | default:site.posts %}
|
|
21
|
-
|
|
22
|
-
{% if page.title.size > 0 %}
|
|
23
|
-
<header>
|
|
24
|
-
<h1 class="page-title">{{ page.title }}</h1>
|
|
25
|
-
{% include components/message.html text=page.description hide=page.hide_description %}
|
|
26
|
-
</header>
|
|
27
|
-
<hr class="sr-only"/>
|
|
28
|
-
{% endif %}
|
|
29
|
-
|
|
30
20
|
{{ content }}
|
|
31
21
|
|
|
22
|
+
{% assign posts = site.categories[page.slug] | default:site.tags[page.slug] | default:site.posts %}
|
|
23
|
+
|
|
32
24
|
{% assign date_formats = site.data.strings.date_formats %}
|
|
33
25
|
{% assign list_group_by = date_formats.list_group_by | default:"%Y" %}
|
|
34
26
|
{% assign list_entry = date_formats.list_entry | default:"%d %b" %}
|
|
35
27
|
|
|
28
|
+
{% assign prev_date = 0 %}
|
|
29
|
+
{% if page.no_groups %}<ul class="related-posts">{% endif %}
|
|
36
30
|
{% for post in posts %}
|
|
37
|
-
{% assign
|
|
38
|
-
{% if
|
|
31
|
+
{% assign current_date = post.date | date:list_group_by %}
|
|
32
|
+
{% unless page.no_groups %}{% if current_date != prev_date %}
|
|
39
33
|
{% unless forloop.first %}</ul>{% endunless %}
|
|
40
|
-
<h2 id="{{ list_group_by | slugify }}-{{
|
|
34
|
+
<h2 id="{{ list_group_by | slugify }}-{{ current_date | slugify }}" class="hr-bottom">{{ current_date }}</h2>
|
|
41
35
|
<ul class="related-posts">
|
|
42
|
-
{% assign
|
|
43
|
-
{% endif %}
|
|
44
|
-
{%
|
|
36
|
+
{% assign prev_date = current_date %}
|
|
37
|
+
{% endif %}{% endunless %}
|
|
38
|
+
{% include_cached components/post-list-item.html post=post format=list_entry %}
|
|
45
39
|
{% if forloop.last %}</ul>{% endif %}
|
|
46
40
|
{% endfor %}
|