henry-jekyll 0.2.1 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e818d0643a1dc3aeb56b728ed846f26c9ace115ac1c068875c2b7c89f910e6e
4
- data.tar.gz: 7eed28572f5ef6e73451a4b7bf724fe5986ab2522fedd040c0e7d8e153a653fa
3
+ metadata.gz: 2ba3870b2d6056c72e94e4053ea95b4edd71a5f72c4ad224927e6ad5c0c372f4
4
+ data.tar.gz: 9d43ad20aca619f97b196e24ddf31dbef68ccd97cb9dc3ba562c45ddbcae0d8f
5
5
  SHA512:
6
- metadata.gz: 101763a5bedc7bc69a1dd93f9749ea6172e274985ef12d67560c32c3253d4ac2c5b2865a95cf23c12fe265a672975c3cdb7235c32b93fa1339e1f6ef9b44e0b4
7
- data.tar.gz: 747d6765bb4ac1ec4824da2625d41a71180cfa9d677cfb18793ae75bb2c0130015490dd47c0087412939aaf9634d3da132adaaa3fcbf365130849d44d3e6e265
6
+ metadata.gz: 616744a5c8b1b232fa2486dcc0f26cfbec6e770b4bb714765d043aa8d6a065662431d79be8938f7c2b9e0d463be9d987119aee3d6a51002b7790a928cdb459ff
7
+ data.tar.gz: 13c84a56312c5fcb3b62126f4b27201456d548d37e0c765116742c73b1f850db97ace28ff4de269faed88091c401b68de0638a2f67674efdd99454025caa0c56
@@ -4,7 +4,7 @@ permalink: /categories/
4
4
  title: Categories
5
5
  ---
6
6
 
7
- <section class="post-index">
7
+ <section class="post-index categories">
8
8
  {% for category in site.categories %}
9
9
  {% capture category_name %}{{ category | first }}{% endcapture %}
10
10
 
@@ -20,5 +20,4 @@ title: Categories
20
20
  {% endfor %}
21
21
  </ul>
22
22
  {% endfor %}
23
- </section>
24
- </div>
23
+ </section>
data/_layouts/index.html CHANGED
@@ -3,7 +3,7 @@ layout: default
3
3
  title: All Posts
4
4
  ---
5
5
 
6
- <section class="post-index">
6
+ <section class="post-index index">
7
7
  {% for post in site.posts %}
8
8
  {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
9
9
  {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
data/_layouts/page.html CHANGED
@@ -11,5 +11,4 @@ layout: default
11
11
  {{ content }}
12
12
  </article>
13
13
 
14
- </section>
15
- <!---->
14
+ </section>
data/_layouts/raw.html ADDED
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {{ content }}
9
+
10
+ </body>
11
+
12
+ </html>
data/_sass/main.scss CHANGED
@@ -448,7 +448,6 @@ article.post-content {
448
448
 
449
449
 
450
450
  .site-footer {
451
-
452
451
  padding: $spacing-unit 0;
453
452
 
454
453
  @include media-query-laptop() {
@@ -498,23 +497,40 @@ article.post-content {
498
497
  }
499
498
  }
500
499
  }
500
+ }
501
501
 
502
- .site-nav {
503
- grid-column: 2;
504
- grid-row: 2;
502
+ .site-nav {
505
503
 
506
- ul {
507
- display: grid;
508
- row-gap: $spacing-unit / 2;
504
+ ul {
505
+ display: grid;
506
+ row-gap: $spacing-unit / 2;
507
+ grid-template-columns: repeat(auto-fit, minmax((7 * $font-size-regular), 1fr));
508
+ @include media-query-small-screen() {
509
+ grid-template-columns: repeat(auto-fit, minmax((4 * $font-size-regular), 1fr));
510
+ }
509
511
 
510
- grid-template-columns: repeat(auto-fill, minmax((6 * $font-size-regular), 1fr));
512
+ list-style-type: none;
513
+ margin-left: 0;
514
+ text-align: center;
511
515
 
512
- list-style-type: none;
513
- margin-left: 0;
514
- text-align: center;
516
+ .nav-link {
517
+ display: block;
515
518
 
516
- .nav-link {
517
- text-decoration: none;
519
+ padding-top: $spacing-micro-unit;
520
+ padding-bottom: $spacing-micro-unit;
521
+ text-decoration: none;
522
+
523
+ @include media-query-small-screen() {
524
+ font-size: $font-size-small;
525
+ }
526
+
527
+
528
+ border-top: 2px solid transparent;
529
+ border-bottom: 2px solid transparent;
530
+
531
+ &:hover {
532
+ border-top: 2px solid $color-textunderline;
533
+ border-bottom: 2px solid $color-textunderline;
518
534
  }
519
535
  }
520
536
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: henry-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaushik Gopal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-12 00:00:00.000000000 Z
11
+ date: 2021-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -144,6 +144,7 @@ files:
144
144
  - _layouts/index.html
145
145
  - _layouts/page.html
146
146
  - _layouts/post.html
147
+ - _layouts/raw.html
147
148
  - _sass/_initialize.scss
148
149
  - _sass/base.scss
149
150
  - _sass/code.css