jekyll-theme-elementary-blog 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +12 -0
- data/.github/workflows/deploy.yml +32 -0
- data/.gitignore +5 -0
- data/404.md +16 -0
- data/Gemfile +10 -0
- data/LICENSE +674 -0
- data/README.md +121 -0
- data/_config.yaml +56 -0
- data/_includes/appcenter.html +9 -0
- data/_includes/byline.html +36 -0
- data/_includes/featured.html +27 -0
- data/_includes/footer.html +11 -0
- data/_includes/head.html +48 -0
- data/_includes/license.html +9 -0
- data/_includes/medium.html +8 -0
- data/_includes/nav.html +51 -0
- data/_includes/outdated.html +14 -0
- data/_includes/read-time.html +5 -0
- data/_includes/scripts.html +16 -0
- data/_includes/social.html +102 -0
- data/_includes/spotlight.html +15 -0
- data/_includes/svg/appcenter.svg +32 -0
- data/_includes/svg/creative-commons-by.svg +1 -0
- data/_includes/svg/creative-commons-sa.svg +1 -0
- data/_includes/svg/creative-commons.svg +1 -0
- data/_includes/svg/elementary.svg +28 -0
- data/_includes/svg/facebook.svg +1 -0
- data/_includes/svg/github.svg +1 -0
- data/_includes/svg/logomark.svg +1 -0
- data/_includes/svg/mastodon.svg +1 -0
- data/_includes/svg/patreon.svg +1 -0
- data/_includes/svg/paypal.svg +1 -0
- data/_includes/svg/reddit.svg +1 -0
- data/_includes/svg/rss-square.svg +1 -0
- data/_includes/svg/shopping-cart.svg +1 -0
- data/_includes/svg/slack.svg +1 -0
- data/_includes/svg/stack-exchange.svg +1 -0
- data/_includes/svg/twitter.svg +1 -0
- data/_includes/tags.html +7 -0
- data/_includes/thanks.html +93 -0
- data/_includes/title.html +12 -0
- data/_includes/twitter-card.html +24 -0
- data/_layouts/default.html +14 -0
- data/_layouts/error.html +8 -0
- data/_layouts/post.html +53 -0
- data/_layouts/tagfeed.json +51 -0
- data/_layouts/uglify.html +4 -0
- data/_posts/1992-02-01-test.md +125 -0
- data/_posts/2019-10-01-future-embargoed-post.md +18 -0
- data/_posts/2019-11-25-sponsor-post.md +18 -0
- data/_posts/2020-07-16-twitter-embeds.md +39 -0
- data/_posts/3000-12-31-future-post.md +11 -0
- data/_sass/_byline.scss +84 -0
- data/_sass/_code.scss +196 -0
- data/_sass/_colors.scss +94 -0
- data/_sass/_featured.scss +149 -0
- data/_sass/_figures.scss +150 -0
- data/_sass/_layout.scss +168 -0
- data/_sass/_nav.scss +73 -0
- data/_sass/_tags.scss +17 -0
- data/_sass/_twitter-cards.scss +79 -0
- data/_sass/_typography.scss +162 -0
- data/authors.md +23 -0
- data/blog-card.xcf +0 -0
- data/css/main.scss +119 -0
- data/feed.json +51 -0
- data/feed.xml +44 -0
- data/feed/updates.json +5 -0
- data/images/cc-by-sa.png +0 -0
- data/images/edit-copy-32.svg +439 -0
- data/images/facebook.svg +60 -0
- data/images/mastodon.svg +70 -0
- data/images/reddit.svg +27 -0
- data/images/twitter.svg +67 -0
- data/index.html +56 -0
- data/jekyll-theme-elementary-blog.gemspec +23 -0
- data/tags.md +20 -0
- metadata +91 -14
data/images/facebook.svg
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
|
4
|
+
<svg
|
5
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
6
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
7
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
8
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
10
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
11
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
12
|
+
version="1.1"
|
13
|
+
id="svg2"
|
14
|
+
xml:space="preserve"
|
15
|
+
width="64"
|
16
|
+
height="64"
|
17
|
+
viewBox="0 0 64.000002 64.000002"
|
18
|
+
sodipodi:docname="facebook.svg"
|
19
|
+
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
|
20
|
+
id="metadata8"><rdf:RDF><cc:Work
|
21
|
+
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
22
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
23
|
+
id="defs6" /><sodipodi:namedview
|
24
|
+
pagecolor="#ffffff"
|
25
|
+
bordercolor="#666666"
|
26
|
+
borderopacity="1"
|
27
|
+
objecttolerance="10"
|
28
|
+
gridtolerance="10"
|
29
|
+
guidetolerance="10"
|
30
|
+
inkscape:pageopacity="0"
|
31
|
+
inkscape:pageshadow="2"
|
32
|
+
inkscape:window-width="2560"
|
33
|
+
inkscape:window-height="1377"
|
34
|
+
id="namedview4"
|
35
|
+
showgrid="false"
|
36
|
+
inkscape:zoom="1.9555923"
|
37
|
+
inkscape:cx="-198.2193"
|
38
|
+
inkscape:cy="-97.52967"
|
39
|
+
inkscape:window-x="0"
|
40
|
+
inkscape:window-y="30"
|
41
|
+
inkscape:window-maximized="1"
|
42
|
+
inkscape:current-layer="g10"
|
43
|
+
fit-margin-top="0"
|
44
|
+
fit-margin-left="0"
|
45
|
+
fit-margin-right="0"
|
46
|
+
fit-margin-bottom="0" /><g
|
47
|
+
id="g10"
|
48
|
+
inkscape:groupmode="layer"
|
49
|
+
inkscape:label="ink_ext_XXXXXX"
|
50
|
+
transform="matrix(1.3333333,0,0,-1.3333333,0,63.999998)"><g
|
51
|
+
id="g12"
|
52
|
+
transform="scale(0.0046875)"><path
|
53
|
+
d="m 10240,5120 c 0,2827.7 -2292.3,5120 -5120,5120 C 2292.3,10240 0,7947.7 0,5120 0,2564.46 1872.31,446.301 4320,62.1992 V 3640 H 3020 v 1480 h 1300 v 1128 c 0,1283.2 764.38,1992 1933.9,1992 560.17,0 1146.1,-100 1146.1,-100 V 6880 H 6754.38 C 6118.35,6880 5920,6485.33 5920,6080.43 V 5120 H 7340 L 7113,3640 H 5920 V 62.1992 C 8367.69,446.301 10240,2564.46 10240,5120"
|
54
|
+
style="fill:#1877f2;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
55
|
+
id="path14"
|
56
|
+
inkscape:connector-curvature="0" /><path
|
57
|
+
d="m 7113,3640 227,1480 H 5920 v 960.43 c 0,404.9 198.35,799.57 834.38,799.57 H 7400 v 1260 c 0,0 -585.93,100 -1146.1,100 C 5084.38,8240 4320,7531.2 4320,6248 V 5120 H 3020 V 3640 H 4320 V 62.1992 C 4580.67,21.3008 4847.84,0 5120,0 c 272.16,0 539.33,21.3008 800,62.1992 V 3640 h 1193"
|
58
|
+
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
59
|
+
id="path16"
|
60
|
+
inkscape:connector-curvature="0" /></g></g></svg>
|
data/images/mastodon.svg
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
8
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
10
|
+
width="64"
|
11
|
+
height="64.000008"
|
12
|
+
viewBox="0 0 59.999998 60.000004"
|
13
|
+
version="1.1"
|
14
|
+
id="svg6"
|
15
|
+
sodipodi:docname="mastodon.svg"
|
16
|
+
inkscape:version="0.92.3 (2405546, 2018-03-11)">
|
17
|
+
<metadata
|
18
|
+
id="metadata12">
|
19
|
+
<rdf:RDF>
|
20
|
+
<cc:Work
|
21
|
+
rdf:about="">
|
22
|
+
<dc:format>image/svg+xml</dc:format>
|
23
|
+
<dc:type
|
24
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
25
|
+
<dc:title></dc:title>
|
26
|
+
</cc:Work>
|
27
|
+
</rdf:RDF>
|
28
|
+
</metadata>
|
29
|
+
<defs
|
30
|
+
id="defs10" />
|
31
|
+
<sodipodi:namedview
|
32
|
+
pagecolor="#ffffff"
|
33
|
+
bordercolor="#666666"
|
34
|
+
borderopacity="1"
|
35
|
+
objecttolerance="10"
|
36
|
+
gridtolerance="10"
|
37
|
+
guidetolerance="10"
|
38
|
+
inkscape:pageopacity="0"
|
39
|
+
inkscape:pageshadow="2"
|
40
|
+
inkscape:window-width="2560"
|
41
|
+
inkscape:window-height="1377"
|
42
|
+
id="namedview8"
|
43
|
+
showgrid="false"
|
44
|
+
fit-margin-top="0"
|
45
|
+
fit-margin-left="0"
|
46
|
+
fit-margin-right="0"
|
47
|
+
fit-margin-bottom="0"
|
48
|
+
units="px"
|
49
|
+
inkscape:zoom="0.95362368"
|
50
|
+
inkscape:cx="115.42102"
|
51
|
+
inkscape:cy="123.73854"
|
52
|
+
inkscape:window-x="0"
|
53
|
+
inkscape:window-y="30"
|
54
|
+
inkscape:window-maximized="1"
|
55
|
+
inkscape:current-layer="svg6" />
|
56
|
+
<g
|
57
|
+
id="g824"
|
58
|
+
transform="matrix(0.25860981,0,0,0.25860981,2.0165563,-3.5481189e-6)">
|
59
|
+
<path
|
60
|
+
id="path2"
|
61
|
+
d="m 211.80734,139.0875 c -3.18125,16.36625 -28.4925,34.2775 -57.5625,37.74875 -15.15875,1.80875 -30.08375,3.47125 -45.99875,2.74125 -26.0275,-1.1925 -46.565,-6.2125 -46.565,-6.2125 0,2.53375 0.15625,4.94625 0.46875,7.2025 3.38375,25.68625 25.47,27.225 46.39125,27.9425 21.11625,0.7225 39.91875,-5.20625 39.91875,-5.20625 l 0.8675,19.09 c 0,0 -14.77,7.93125 -41.08125,9.39 -14.50875,0.7975 -32.52375,-0.365 -53.50625,-5.91875 C 9.23234,213.82 1.40609,165.31125 0.20859,116.09125 -0.15641,101.4775 0.06859,87.6975 0.06859,76.1725 0.06859,25.8425 33.04484,11.09 33.04484,11.09 49.67234,3.45375 78.20359,0.2425 107.86484,0 h 0.72875 c 29.66125,0.2425 58.21125,3.45375 74.8375,11.09 0,0 32.975,14.7525 32.975,65.0825 0,0 0.41375,37.13375 -4.59875,62.915"
|
62
|
+
inkscape:connector-curvature="0"
|
63
|
+
style="fill:#2b90d9" />
|
64
|
+
<path
|
65
|
+
id="path4"
|
66
|
+
d="m 177.50984,80.077 v 60.94125 h -24.14375 v -59.15 c 0,-12.46875 -5.24625,-18.7975 -15.74,-18.7975 -11.6025,0 -17.4175,7.5075 -17.4175,22.3525 V 117.7995 H 96.20734 V 85.42325 c 0,-14.845 -5.81625,-22.3525 -17.41875,-22.3525 -10.49375,0 -15.74,6.32875 -15.74,18.7975 v 59.15 H 38.90484 V 80.077 c 0,-12.455 3.17125,-22.3525 9.54125,-29.675 6.56875,-7.3225 15.17125,-11.07625 25.85,-11.07625 12.355,0 21.71125,4.74875 27.8975,14.2475 l 6.01375,10.08125 6.015,-10.08125 c 6.185,-9.49875 15.54125,-14.2475 27.8975,-14.2475 10.6775,0 19.28,3.75375 25.85,11.07625 6.36875,7.3225 9.54,17.22 9.54,29.675"
|
67
|
+
inkscape:connector-curvature="0"
|
68
|
+
style="fill:#ffffff" />
|
69
|
+
</g>
|
70
|
+
</svg>
|
data/images/reddit.svg
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
8
|
+
viewBox="0 0 63.999999 63.999999"
|
9
|
+
height="64"
|
10
|
+
width="64"
|
11
|
+
xml:space="preserve"
|
12
|
+
id="svg2"
|
13
|
+
version="1.1"><metadata
|
14
|
+
id="metadata8"><rdf:RDF><cc:Work
|
15
|
+
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
16
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
17
|
+
id="defs6" /><g
|
18
|
+
transform="matrix(1.3333333,0,0,-1.3333333,0,63.999998)"
|
19
|
+
id="g10"><g
|
20
|
+
transform="scale(0.0375)"
|
21
|
+
id="g12"><path
|
22
|
+
id="path14"
|
23
|
+
style="fill:#ef381f;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
24
|
+
d="M 1280,640 C 1280,286.539 993.461,0 640,0 286.539,0 0,286.539 0,640 c 0,353.461 286.539,640 640,640 353.461,0 640,-286.539 640,-640" /><path
|
25
|
+
id="path16"
|
26
|
+
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
27
|
+
d="m 786.668,506.656 c -36.762,0 -66.668,29.907 -66.668,66.66 0,36.77 29.906,66.684 66.668,66.684 36.758,0 66.664,-29.914 66.664,-66.684 0,-36.753 -29.906,-66.66 -66.664,-66.66 z M 798.406,397.168 C 752.902,351.73 665.715,348.195 640.078,348.195 c -25.644,0 -112.84,3.535 -158.285,48.981 -6.746,6.746 -6.746,17.687 0.004,24.433 6.742,6.743 17.683,6.746 24.433,-0.004 28.676,-28.679 90.028,-38.855 133.848,-38.855 43.82,0 105.184,10.18 133.91,38.867 6.758,6.738 17.696,6.727 24.434,-0.015 6.742,-6.754 6.734,-17.692 -0.016,-24.434 z M 426.668,573.324 c 0,36.766 29.918,66.676 66.695,66.676 36.742,0 66.637,-29.91 66.637,-66.676 0,-36.75 -29.895,-66.652 -66.637,-66.652 -36.777,0 -66.695,29.902 -66.695,66.652 z M 1066.56,640 c 0,51.547 -41.78,93.332 -93.33,93.332 -25.16,0 -47.949,-10.004 -64.734,-26.187 -63.797,46.039 -151.695,75.769 -249.601,79.187 l 42.519,200.027 138.906,-29.527 c 1.688,-35.316 30.614,-63.5 66.348,-63.5 36.816,0 66.664,29.848 66.664,66.668 0,36.82 -29.848,66.67 -66.664,66.67 -26.191,0 -48.621,-15.24 -59.523,-37.213 l -155.106,32.973 c -4.316,0.94 -8.836,0.09 -12.539,-2.32 -3.711,-2.41 -6.309,-6.2 -7.227,-10.52 l -47.48,-223.195 c -99.34,-2.758 -188.648,-32.532 -253.266,-79.082 -16.769,16.085 -39.48,26.019 -64.547,26.019 -51.546,0 -93.335,-41.785 -93.335,-93.332 0,-37.926 22.66,-70.5 55.144,-85.102 -1.437,-9.277 -2.226,-18.687 -2.226,-28.23 0,-143.594 167.148,-259.996 373.332,-259.996 206.187,0 373.335,116.402 373.335,259.996 0,9.477 -0.77,18.828 -2.19,28.047 32.69,14.515 55.52,47.207 55.52,85.285" /></g></g></svg>
|
data/images/twitter.svg
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
8
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
10
|
+
id="Logo_FIXED"
|
11
|
+
data-name="Logo — FIXED"
|
12
|
+
viewBox="0 0 64 64"
|
13
|
+
version="1.1"
|
14
|
+
sodipodi:docname="twitter.svg"
|
15
|
+
width="64"
|
16
|
+
height="64"
|
17
|
+
inkscape:version="0.92.3 (2405546, 2018-03-11)">
|
18
|
+
<metadata
|
19
|
+
id="metadata15">
|
20
|
+
<rdf:RDF>
|
21
|
+
<cc:Work
|
22
|
+
rdf:about="">
|
23
|
+
<dc:format>image/svg+xml</dc:format>
|
24
|
+
<dc:type
|
25
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
26
|
+
<dc:title>Twitter_Logo_Blue</dc:title>
|
27
|
+
</cc:Work>
|
28
|
+
</rdf:RDF>
|
29
|
+
</metadata>
|
30
|
+
<sodipodi:namedview
|
31
|
+
pagecolor="#ffffff"
|
32
|
+
bordercolor="#666666"
|
33
|
+
borderopacity="1"
|
34
|
+
objecttolerance="10"
|
35
|
+
gridtolerance="10"
|
36
|
+
guidetolerance="10"
|
37
|
+
inkscape:pageopacity="0"
|
38
|
+
inkscape:pageshadow="2"
|
39
|
+
inkscape:window-width="2560"
|
40
|
+
inkscape:window-height="1377"
|
41
|
+
id="namedview13"
|
42
|
+
showgrid="false"
|
43
|
+
fit-margin-top="0"
|
44
|
+
fit-margin-left="0"
|
45
|
+
fit-margin-right="0"
|
46
|
+
fit-margin-bottom="0"
|
47
|
+
inkscape:zoom="0.59"
|
48
|
+
inkscape:cx="125"
|
49
|
+
inkscape:cy="101.59"
|
50
|
+
inkscape:window-x="0"
|
51
|
+
inkscape:window-y="30"
|
52
|
+
inkscape:window-maximized="1"
|
53
|
+
inkscape:current-layer="Logo_FIXED" />
|
54
|
+
<defs
|
55
|
+
id="defs4">
|
56
|
+
<style
|
57
|
+
id="style2">.cls-1{fill:none;}.cls-2{fill:#1da1f2;}</style>
|
58
|
+
</defs>
|
59
|
+
<title
|
60
|
+
id="title6">Twitter_Logo_Blue</title>
|
61
|
+
<path
|
62
|
+
class="cls-2"
|
63
|
+
d="m 20.12672,58.001656 c 24.15104,0 37.36064,-20.00896 37.36064,-37.36064 0,-0.56832 0,-1.13408 -0.0384,-1.69728 A 26.71616,26.71616 0 0 0 64,12.146936 26.20928,26.20928 0 0 1 56.45824,14.212856 13.17632,13.17632 0 0 0 62.23104,6.9501361 26.31424,26.31424 0 0 1 53.89312,10.137336 13.14304,13.14304 0 0 0 31.51616,22.113016 37.27872,37.27872 0 0 1 4.4544,8.3939761 13.14048,13.14048 0 0 0 8.51968,25.922296 13.03296,13.03296 0 0 1 2.56,24.278776 c 0,0.0538 0,0.11008 0,0.1664 a 13.13536,13.13536 0 0 0 10.5344,12.87168 13.10976,13.10976 0 0 1 -5.92896,0.22528 13.1456,13.1456 0 0 0 12.26752,9.11872 26.34752,26.34752 0 0 1 -16.3072,5.632 A 26.72896,26.72896 0 0 1 0,52.103416 a 37.17376,37.17376 0 0 0 20.12672,5.888"
|
64
|
+
id="path10"
|
65
|
+
inkscape:connector-curvature="0"
|
66
|
+
style="fill:#1da1f2;stroke-width:0.25600001" />
|
67
|
+
</svg>
|
data/index.html
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
redirect_from:
|
4
|
+
- /archive/
|
5
|
+
- /archive
|
6
|
+
- /archive/1/
|
7
|
+
- /archive/1
|
8
|
+
---
|
9
|
+
|
10
|
+
{% unless paginator.previous_page %}
|
11
|
+
{% comment %}
|
12
|
+
Newest posts in a unique, Medium-like layout on the first page
|
13
|
+
{% endcomment %}
|
14
|
+
<section class="latest">
|
15
|
+
{% assign post=paginator.posts.first %}
|
16
|
+
{% include featured.html post=post %}
|
17
|
+
|
18
|
+
{% assign post=paginator.posts[1] %}
|
19
|
+
{% include featured.html post=post %}
|
20
|
+
|
21
|
+
{% assign post=paginator.posts[2] %}
|
22
|
+
{% include featured.html post=post %}
|
23
|
+
|
24
|
+
{% assign post=paginator.posts[3] %}
|
25
|
+
{% include featured.html post=post %}
|
26
|
+
</section>
|
27
|
+
{% endunless %}
|
28
|
+
|
29
|
+
<section class="more">
|
30
|
+
{% if paginator.previous_page %}
|
31
|
+
<h2>Archive Page {{ paginator.page }}</h2>
|
32
|
+
{% for post in paginator.posts %}
|
33
|
+
{% unless post.hidden %}
|
34
|
+
{% include featured.html post=post %}
|
35
|
+
{% endunless %}
|
36
|
+
{% endfor %}
|
37
|
+
{% else %}
|
38
|
+
<h2>More Stories</h2>
|
39
|
+
{% for post in paginator.posts offset: 4 %}
|
40
|
+
{% unless post.hidden %}
|
41
|
+
{% include featured.html post=post %}
|
42
|
+
{% endunless %}
|
43
|
+
{% endfor %}
|
44
|
+
{% endif %}
|
45
|
+
</section>
|
46
|
+
|
47
|
+
<nav class="pagination">
|
48
|
+
{% if paginator.previous_page %}
|
49
|
+
<a href="{{ paginator.previous_page_path }}" class="previous">Newer</a>
|
50
|
+
{% endif %}
|
51
|
+
|
52
|
+
{% if paginator.next_page %}
|
53
|
+
<a href="{{ paginator.next_page_path }}" class="next">Older</a>
|
54
|
+
{% endif %}
|
55
|
+
</nav>
|
56
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.name = "jekyll-theme-elementary-blog"
|
3
|
+
spec.version = "1.0.1"
|
4
|
+
spec.authors = ["elementary"]
|
5
|
+
spec.email = ["webdev@elementary.io"]
|
6
|
+
|
7
|
+
spec.summary = "Jekyll theme in ways inspired by both Medium and the popular Medium-look-alike mediumish-theme-jekyll"
|
8
|
+
spec.homepage = "https://github.com/elementary/blog-template"
|
9
|
+
spec.license = "GPL-3.0"
|
10
|
+
|
11
|
+
spec.files = `git ls-files -z`.split("\x0")
|
12
|
+
|
13
|
+
spec.add_runtime_dependency "jekyll", "~> 3.6"
|
14
|
+
spec.add_runtime_dependency "jekyll-feed", "~> 0.13"
|
15
|
+
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
|
16
|
+
spec.add_runtime_dependency "jekyll-redirect-from", "~> 0.15"
|
17
|
+
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.4"
|
18
|
+
spec.add_runtime_dependency "kramdown", "~> 1.17"
|
19
|
+
spec.add_runtime_dependency "rouge", "~> 3.19"
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
end
|
data/tags.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
# Tags
|
4
|
+
|
5
|
+
<section class="tag-list">
|
6
|
+
{% assign tags = site.tags | sort %}
|
7
|
+
{% for tag in tags %}
|
8
|
+
{% if tag[1].size > 1 %}
|
9
|
+
<hr />
|
10
|
+
{% assign id = tag[0] | replace: ' ', '-' %}
|
11
|
+
<a href="#{{ id }}"><h2 id="{{ id }}">#{{ tag[0] }}</h2></a>
|
12
|
+
{% assign posts = tag[1] | sort | reverse %}
|
13
|
+
{% for post in posts %}
|
14
|
+
{% unless post.hidden %}
|
15
|
+
{% include featured.html post=post %}
|
16
|
+
{% endunless %}
|
17
|
+
{% endfor %}
|
18
|
+
{% endif %}
|
19
|
+
{% endfor %}
|
20
|
+
</section>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-elementary-blog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- elementary
|
@@ -30,84 +30,84 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.13
|
33
|
+
version: '0.13'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.13
|
40
|
+
version: '0.13'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: jekyll-paginate
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.1
|
47
|
+
version: '1.1'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.1
|
54
|
+
version: '1.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: jekyll-redirect-from
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.15
|
61
|
+
version: '0.15'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.15
|
68
|
+
version: '0.15'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: jekyll-sitemap
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.4
|
75
|
+
version: '1.4'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.4
|
82
|
+
version: '1.4'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: kramdown
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.17
|
89
|
+
version: '1.17'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.17
|
96
|
+
version: '1.17'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rouge
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 3.19
|
103
|
+
version: '3.19'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 3.19
|
110
|
+
version: '3.19'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: bundler
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,7 +142,84 @@ email:
|
|
142
142
|
executables: []
|
143
143
|
extensions: []
|
144
144
|
extra_rdoc_files: []
|
145
|
-
files:
|
145
|
+
files:
|
146
|
+
- ".editorconfig"
|
147
|
+
- ".github/workflows/deploy.yml"
|
148
|
+
- ".gitignore"
|
149
|
+
- 404.md
|
150
|
+
- Gemfile
|
151
|
+
- LICENSE
|
152
|
+
- README.md
|
153
|
+
- _config.yaml
|
154
|
+
- _includes/appcenter.html
|
155
|
+
- _includes/byline.html
|
156
|
+
- _includes/featured.html
|
157
|
+
- _includes/footer.html
|
158
|
+
- _includes/head.html
|
159
|
+
- _includes/license.html
|
160
|
+
- _includes/medium.html
|
161
|
+
- _includes/nav.html
|
162
|
+
- _includes/outdated.html
|
163
|
+
- _includes/read-time.html
|
164
|
+
- _includes/scripts.html
|
165
|
+
- _includes/social.html
|
166
|
+
- _includes/spotlight.html
|
167
|
+
- _includes/svg/appcenter.svg
|
168
|
+
- _includes/svg/creative-commons-by.svg
|
169
|
+
- _includes/svg/creative-commons-sa.svg
|
170
|
+
- _includes/svg/creative-commons.svg
|
171
|
+
- _includes/svg/elementary.svg
|
172
|
+
- _includes/svg/facebook.svg
|
173
|
+
- _includes/svg/github.svg
|
174
|
+
- _includes/svg/logomark.svg
|
175
|
+
- _includes/svg/mastodon.svg
|
176
|
+
- _includes/svg/patreon.svg
|
177
|
+
- _includes/svg/paypal.svg
|
178
|
+
- _includes/svg/reddit.svg
|
179
|
+
- _includes/svg/rss-square.svg
|
180
|
+
- _includes/svg/shopping-cart.svg
|
181
|
+
- _includes/svg/slack.svg
|
182
|
+
- _includes/svg/stack-exchange.svg
|
183
|
+
- _includes/svg/twitter.svg
|
184
|
+
- _includes/tags.html
|
185
|
+
- _includes/thanks.html
|
186
|
+
- _includes/title.html
|
187
|
+
- _includes/twitter-card.html
|
188
|
+
- _layouts/default.html
|
189
|
+
- _layouts/error.html
|
190
|
+
- _layouts/post.html
|
191
|
+
- _layouts/tagfeed.json
|
192
|
+
- _layouts/uglify.html
|
193
|
+
- _posts/1992-02-01-test.md
|
194
|
+
- _posts/2019-10-01-future-embargoed-post.md
|
195
|
+
- _posts/2019-11-25-sponsor-post.md
|
196
|
+
- _posts/2020-07-16-twitter-embeds.md
|
197
|
+
- _posts/3000-12-31-future-post.md
|
198
|
+
- _sass/_byline.scss
|
199
|
+
- _sass/_code.scss
|
200
|
+
- _sass/_colors.scss
|
201
|
+
- _sass/_featured.scss
|
202
|
+
- _sass/_figures.scss
|
203
|
+
- _sass/_layout.scss
|
204
|
+
- _sass/_nav.scss
|
205
|
+
- _sass/_tags.scss
|
206
|
+
- _sass/_twitter-cards.scss
|
207
|
+
- _sass/_typography.scss
|
208
|
+
- authors.md
|
209
|
+
- blog-card.xcf
|
210
|
+
- css/main.scss
|
211
|
+
- feed.json
|
212
|
+
- feed.xml
|
213
|
+
- feed/updates.json
|
214
|
+
- images/cc-by-sa.png
|
215
|
+
- images/edit-copy-32.svg
|
216
|
+
- images/facebook.svg
|
217
|
+
- images/mastodon.svg
|
218
|
+
- images/reddit.svg
|
219
|
+
- images/twitter.svg
|
220
|
+
- index.html
|
221
|
+
- jekyll-theme-elementary-blog.gemspec
|
222
|
+
- tags.md
|
146
223
|
homepage: https://github.com/elementary/blog-template
|
147
224
|
licenses:
|
148
225
|
- GPL-3.0
|