jekyll-yamt 1.0.2 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85d38c7aca0601b0340e8426da72a9204c83494fbd095340d01dfd0f1005a8c4
4
- data.tar.gz: a311a70ce159bbf74cc28aa3eccd810afa43017839e3fd77c18d88bc66487e5b
3
+ metadata.gz: 05226750aad2ab01dc4b66a6705f00f791d5af11a937a7c271e48890b922ffad
4
+ data.tar.gz: 7e4dc523da04f7b18887b14bdc42b720e37ef1773e58c39a6e91f6c86475bbc7
5
5
  SHA512:
6
- metadata.gz: fb8a124b52aa8e9db56e88176db1b1c48e7ee294f8b6ee6232d6e50e77d1f82fff683d503d16063880e8820e8cdd91bd81f975e6b95a1beb31234579bc444301
7
- data.tar.gz: 840a28fc3db7935d54880b426b341f4e40db6a87536a8c0b1b2aff72ef823aa37a7f6971813566fa0c6382c916913f1cf743793677198d0ce2bcc56908963b52
6
+ metadata.gz: 4befb3a106f88968c3eaafb3ed4f6c04d66130de81f8857555c5e280638c357a70f7983974955145fa7ec6bc13203eb626191f3e0e74b3498ffa29cfcd2186cb
7
+ data.tar.gz: 2b08bea9ccaf12066413617aa6cd99936abaf2e8be759cac2f9347ac949ef5b2e859e3ff0909854c8c5f76b343ac201fca59ecb3034aa2e15376b129c558ffa9
@@ -1,9 +1,9 @@
1
- <!-- Global site tag (gtag.js) - Google Analytics -->
2
- <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics-id }}"></script>
3
- <script>
4
- window.dataLayer = window.dataLayer || [];
5
- function gtag(){dataLayer.push(arguments);}
6
- gtag('js', new Date());
7
-
8
- gtag('config', '{{ site.analytics-id }}');
9
- </script>
1
+ <!-- Global site tag (gtag.js) - Google Analytics -->
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.settings.analytics-id }}"></script>
3
+ <script>
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+
8
+ gtag('config', '{{ site.data.settings.analytics-id }}');
9
+ </script>
@@ -1,21 +1,21 @@
1
- {% if post.layout != post %}
2
- {% assign words = post.content | strip_html | number_of_words %}
3
- {% if words < 180 %}
4
- Less than 1 minute read
5
- {% elsif words < 360 %}
6
- 1 minute read
7
- {% else %}
8
- {{ words | divided_by:180 }} minute read
9
- {% endif %}
10
- {% endif %}
11
-
12
- {% if post.layout == post %}
13
- {% assign words = content | number_of_words %}
14
- {% if words < 180 %}
15
- Less than 1 minute read
16
- {% elsif words < 360 %}
17
- 1 minute read
18
- {% else %}
19
- {{ words | divided_by:180 }} minute read
20
- {% endif %}
1
+ {% if post.layout != post %}
2
+ {% assign words = post.content | strip_html | number_of_words %}
3
+ {% if words < 180 %}
4
+ Less than 1 minute read
5
+ {% elsif words < 360 %}
6
+ 1 minute read
7
+ {% else %}
8
+ {{ words | divided_by:180 }} minute read
9
+ {% endif %}
10
+ {% endif %}
11
+
12
+ {% if post.layout == post %}
13
+ {% assign words = content | strip_html | number_of_words %}
14
+ {% if words < 180 %}
15
+ Less than 1 minute read
16
+ {% elsif words < 360 %}
17
+ 1 minute read
18
+ {% else %}
19
+ {{ words | divided_by:180 }} minute read
20
+ {% endif %}
21
21
  {% endif %}
@@ -0,0 +1,21 @@
1
+ ---
2
+ layout: default
3
+ permalink: /categories/
4
+ title: Categories
5
+ ---
6
+
7
+ {% for category in site.categories %}
8
+ <div class="archive-group">
9
+ {% capture category_name %}{{ category | first }}{% endcapture %}
10
+ <div id="#{{ category_name | slugize }}"></div>
11
+ <p></p>
12
+
13
+ <h2 class="archive-cat">{{ category_name }}</h2>
14
+ <a name="{{ category_name | slugize }}"></a>
15
+ <ul>
16
+ {% for post in site.categories[category_name] %}
17
+ <li><a class="archive-link" href="{{ post.url | relative_url}}">{{post.title}}</a></li>
18
+ {% endfor %}
19
+ </ul>
20
+ </div>
21
+ {% endfor %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-yamt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - PandaSekh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-01 00:00:00.000000000 Z
11
+ date: 2020-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -129,6 +129,7 @@ files:
129
129
  - _includes/related-posts.html
130
130
  - _includes/social.html
131
131
  - _layouts/archive.html
132
+ - _layouts/categories.html
132
133
  - _layouts/contact.html
133
134
  - _layouts/default.html
134
135
  - _layouts/home.html
@@ -146,9 +147,7 @@ files:
146
147
  - _sass/related-posts.scss
147
148
  - _sass/scrollbar.scss
148
149
  - _sass/typography.scss
149
- - assets/css/main.css
150
150
  - assets/css/main.scss
151
- - assets/css/syntax.css
152
151
  - assets/css/syntax.scss
153
152
  - assets/favicon.ico
154
153
  - assets/img/airplane.jpg
@@ -1 +0,0 @@
1
- *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{scroll-behavior:smooth}.container{margin-left:auto;margin-right:auto;width:700px}.task-list{list-style:none}#load-comments{border:1px solid #e0e0e0;border-radius:3px;padding:15px 35px;margin-left:auto;margin-right:auto;overflow:hidden;text-align:center;max-width:fit-content;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#a2a2a2}#load-comments:hover{cursor:pointer;color:black;background-color:#ebebeb}.alert{padding:20px;border-radius:0 4px 4px 0;color:#fff;display:block;font-size:larger;font-family:'Montserrat', sans-serif}.y{background-color:#f3b244;border-left:7px solid #dc900e}.g{background-color:#60c17d;border-left:7px solid #55ab6f}.r{background-color:#e45454;border-left:7px solid #cb2020}blockquote{border-left:.25em solid #dfe2e5;color:#6a737d;padding:0 1em}blockquote cite{display:inline-block;margin-top:50px}blockquote cite cite::before{content:"- ";margin-left:10px}.MathJax_Display .MathJax{font-size:1.2rem}#markdown-toc::before{content:"Contents";font-size:1.1rem;font-family:'Montserrat', sans-serif;font-weight:bold}#markdown-toc ul{list-style:disc}#markdown-toc{border:1px solid #aaa;border-radius:10px;padding:1.5em;list-style:disc;display:inline-block;background-color:#ebebeb;line-height:25px}#markdown-toc li a{font-family:'PT Serif', serif;text-decoration:none}#markdown-toc li a:hover{font-style:italic}.lazy{padding-bottom:calc(height/width * 100%)}h1,h2,h3,h4,h5,h6{font-family:'Montserrat', sans-serif;margin-bottom:10px;text-decoration:none;color:black}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{text-decoration:none;color:black;font-family:'Montserrat', sans-serif}p,ul,ol{font-family:'PT Serif', serif}p li,ul li,ol li{font-family:'PT Serif', serif;font-size:1.15rem}h2{margin-bottom:0px}h3{font-size:1.4rem}h4{font-size:1.3rem}h5{font-size:1.2rem}p{font-size:1.15rem}a{font-family:'PT Serif', serif}header{margin-left:auto;margin-right:auto;width:550px;overflow:hidden}header #site_title{text-align:center;color:black}header #site_title a{text-decoration:none}header #site_title h1{margin-bottom:0px}header #site_title h2{margin-top:0px;font-style:oblique;font-size:1.2rem}header #subheader{display:block;margin-top:15px}header #subheader .pages{display:block;float:left}header #subheader .pages a:hover{color:black}header #subheader .pages a{text-decoration:none;color:#a2a2a2;font-family:'PT Serif', serif;margin-right:3px;font-size:1.05rem}header #subheader .social{display:block;float:right}header #subheader .social i{margin-right:3px;-o-transition:.5s;-ms-transition:.5s;-moz-transition:.5s;-webkit-transition:.5s;transition:.5s}header #subheader .social a{color:#a2a2a2}header #subheader .social i{font-size:1.1rem}header #subheader .social #github:hover{color:#24292e}header #subheader .social #twitter:hover{color:#1DA1F2}header #subheader .social #linkedin:hover{color:#0e76a8}header #subheader .social #rss:hover{color:#f26522}header #subheader .social #envelope:hover{color:#5d5c5d}li.post{display:block;padding-top:1rem}.post{padding-bottom:1rem}img{display:block;margin-left:auto;margin-right:auto;margin-bottom:15px;max-width:100%;-webkit-border-radius:7px;-moz-border-radius:7px;-khtml-border-radius:7px;border-radius:7px}.post-container p a,.post-container li a{text-decoration:none;border-bottom:2px solid #ebebeb;box-shadow:inset 0 -4px 0 #ebebeb;color:inherit;transition:background 0.1s cubic-bezier(0.33, 0.66, 0.66, 1)}.post-container p a:visited,.post-container li a:visited{text-decoration:none;border-bottom:2px solid #ebebeb;box-shadow:inset 0 -4px 0 #ebebeb;color:inherit;transition:background 0.1s cubic-bezier(0.33, 0.66, 0.66, 1)}.post-container p a:hover,.post-container li a:hover{background:#ebebeb}.categories p{display:inline-block}.categories a{text-decoration:none;border-bottom:2px solid #ebebeb;box-shadow:inset 0 -4px 0 #ebebeb;color:inherit;transition:background 0.1s cubic-bezier(0.33, 0.66, 0.66, 1)}.categories a:visited{text-decoration:none;border-bottom:2px solid #ebebeb;box-shadow:inset 0 -4px 0 #ebebeb;color:inherit;transition:background 0.1s cubic-bezier(0.33, 0.66, 0.66, 1)}.categories a:hover{background:#ebebeb}article::after{display:block;content:'';width:5rem;height:1px;margin:30px auto;background-color:#d5d5d5}.featured-img-container{margin-block-start:1em;margin-block-end:1em}.featured-img-container img{max-width:100%;height:auto;max-height:450px;-webkit-border-radius:7px;-moz-border-radius:7px;-khtml-border-radius:7px;border-radius:7px}.continue-reading a{color:#a2a2a2;text-decoration:none;font-style:italic;font-size:0.96rem}.continue-reading a:hover{color:black}.post-info{font-size:1rem;color:#a2a2a2;font-family:'PT Serif', serif}.footer p{text-align:center;font-size:0.85rem}.footer a{text-decoration:none}.footer a:hover{text-decoration:underline}.footer a:visited{color:#a2a2a2}.footer::before{display:block;content:'';width:5rem;height:1px;margin:23px auto;background-color:#d5d5d5}.paginator{display:flex;margin-left:auto;margin-right:auto;justify-content:space-around}.paginator .older{text-align:left;-webkit-box-flex:1}.paginator .newer{text-align:right;-webkit-box-flex:1}.paginator a{text-decoration:none;color:#a2a2a2}.paginator a:hover{color:black}.paginator .paginate-button{border:1px solid #e0e0e0;border-radius:3px;padding:15px 35px;display:inline-block;font-size:16px}.paginator .paginate-button:hover{background-color:#ebebeb}.archive-link{text-decoration:none;color:black;font-style:italic;font-size:1.5rem}.archive-link:hover{text-decoration:underline}::-webkit-scrollbar{width:7px;height:7px;border:1px solid #d5d5d5;padding-top:5px;border-radius:30px}::-webkit-scrollbar-track{border-radius:30px;background:#eeeeee}::-webkit-scrollbar-thumb{border-radius:30px;background:#b0b0b0}.form-input{font-family:'PT Serif', serif;font-size:1rem;width:100%;padding:10px 0;background:none;border:none;border-bottom:1px solid #666;color:#ddd;font-size:14px;text-transform:uppercase;outline:none;transition:border-color .2s;margin-top:15px}.form-input::placeholder{color:#666}.form-input:focus{color:#ddd}.form-button{background:none;text-transform:uppercase;font-size:1rem;cursor:pointer;outline:none;margin-top:10px;border:black 1px solid;padding:10px;border-radius:10px;font-family:'PT Serif', serif}.form-button:hover{background-color:#ebebeb}.success a{text-decoration:none;border-bottom:2px solid #ebebeb;box-shadow:inset 0 -4px 0 #ebebeb;color:inherit;transition:background 0.1s cubic-bezier(0.33, 0.66, 0.66, 1)}.related{padding-top:10px;padding-bottom:15px;margin:0 auto}.related h4{font-style:italic;text-decoration:underline}.related h5{margin-top:0px;text-align:left;font-size:1rem}.related .related-posts{opacity:0.8;margin-right:25px}.related .related-posts:hover{opacity:1;font-style:italic}@media (max-width: 768px){html{overflow-y:auto}.container{width:80vw}#header{width:80vw}#header #subheader{display:flex;flex-flow:column wrap;align-items:center}#header #subheader .pages{margin-top:12px;order:2;text-align:center}#header #subheader .pages a{font-size:1.15rem}#header #subheader .social{order:1}#header #subheader .social i{font-size:1.3rem}#post-title{text-align:center}p{font-size:1.2rem}.post-info{text-align:center}::-webkit-scrollbar{height:3px}div .highlight{padding-left:8px;padding-right:0px}pre .highlight{padding-left:8px;padding-right:0px}}
@@ -1 +0,0 @@
1
- pre{overflow-x:auto}.highlight{font-size:16px;border-radius:5px;padding-left:10px;padding-right:10px;padding-top:1px;padding-bottom:1px}pre.lineo{color:white}.highlight table td{padding:5px}.highlight table pre{margin:0}.highlight .c,.highlight .ch,.highlight .cd,.highlight .cpf{color:#75715e;font-style:italic}.highlight .cm{color:#75715e;font-style:italic}.highlight .c1{color:#75715e;font-style:italic}.highlight .cp{color:#75715e;font-weight:bold}.highlight .cs{color:#75715e;font-weight:bold;font-style:italic}.highlight .err{color:#960050;background-color:#1e0010}.highlight .gi{color:#ffffff;background-color:#324932}.highlight .gd{color:#ffffff;background-color:#493131}.highlight .ge{color:#ffffff;font-style:italic}.highlight .gr{color:#aa0000}.highlight .gt{color:#aa0000}.highlight .gh{color:#999999}.highlight .go{color:#888888}.highlight .gp{color:#555555}.highlight .gs{font-weight:bold}.highlight .gu{color:#aaaaaa}.highlight .k,.highlight .kv{color:#66d9ef;font-weight:bold}.highlight .kc{color:#66d9ef;font-weight:bold}.highlight .kd{color:#66d9ef;font-weight:bold}.highlight .kp{color:#66d9ef;font-weight:bold}.highlight .kr{color:#66d9ef;font-weight:bold}.highlight .kt{color:#66d9ef;font-weight:bold}.highlight .kn{color:#f92672;font-weight:bold}.highlight .ow{color:#f92672;font-weight:bold}.highlight .o{color:#f92672;font-weight:bold}.highlight .mf{color:#ae81ff}.highlight .mh{color:#ae81ff}.highlight .il{color:#ae81ff}.highlight .mi{color:#ae81ff}.highlight .mo{color:#ae81ff}.highlight .m,.highlight .mb,.highlight .mx{color:#ae81ff}.highlight .se{color:#ae81ff}.highlight .sb{color:#e6db74}.highlight .sc{color:#e6db74}.highlight .sd{color:#e6db74}.highlight .s2{color:#e6db74}.highlight .sh{color:#e6db74}.highlight .si{color:#e6db74}.highlight .sx{color:#e6db74}.highlight .sr{color:#e6db74}.highlight .s1{color:#e6db74}.highlight .ss{color:#e6db74}.highlight .s,.highlight .sa,.highlight .dl{color:#e6db74}.highlight .na{color:#a6e22e}.highlight .nc{color:#a6e22e;font-weight:bold}.highlight .nd{color:#a6e22e;font-weight:bold}.highlight .ne{color:#a6e22e;font-weight:bold}.highlight .nf,.highlight .fm{color:#a6e22e;font-weight:bold}.highlight .no{color:#66d9ef}.highlight .bp{color:#f8f8f2}.highlight .nb{color:#f8f8f2}.highlight .ni{color:#f8f8f2}.highlight .nn{color:#f8f8f2}.highlight .vc{color:#f8f8f2}.highlight .vg{color:#f8f8f2}.highlight .vi{color:#f8f8f2}.highlight .nv,.highlight .vm{color:#f8f8f2}.highlight .w{color:#f8f8f2}.highlight .nl{color:#f8f8f2;font-weight:bold}.highlight .nt{color:#f92672}.highlight{color:#f8f8f2;background-color:#49483e}figure.highlight{position:relative}figure.highlight pre code[data-lang]::before,div.highlight pre code[data-lang]::before{content:attr(data-lang);text-transform:uppercase;position:absolute;color:#ebebeb;right:34px;top:-10px;padding-left:7.5px;padding-right:7.5px;border:1px solid #828282;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;min-width:40px;text-align:center;background-color:#49483e}