jekyll-bulma-feather 0.1.1 → 0.1.2

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: 0c38d8aef74550a7cadecb71b10f1d76514a6fd80c313de6f4987f3cbe2f003b
4
- data.tar.gz: c7a4a4fcd8b01b19d439a72beaff4c4a41d0bbac733d6b80c45bd0e88b00b30e
3
+ metadata.gz: 9f3a972d14263b555059a0752b391d414834b28db114ac6669ec6598fd601a7c
4
+ data.tar.gz: bdd344602abc2d5a3f6c66b3aeaf1b3279a70b7e2cbe515f01f32f9944a78881
5
5
  SHA512:
6
- metadata.gz: 075e0fae558cb4d7cc20ba5e11795acf1dff03f62f788bbe07cd786286c821d537c0df94bd89014001dbcf2be4964f47c0cb70499dfeb6e4317588c4cb3dab11
7
- data.tar.gz: e240dac3135434a3b7dd8bb4a64b81608730a320bf1c688bc907a2669e565494120c8c028c71ddb6a28ca4f4f7d8b96e4c004da3f70c8f4c165405b60e966a82
6
+ metadata.gz: 50ecba0d05b6e1196c57c5efc3ee870d911fc3b7890344bd849b81d630cb0f28b0d285514f2a1ec0aee3a94f50d04a5b76f88a95685cc13438f312793b40d190
7
+ data.tar.gz: f2751a3f80a89430219eed7a06d58c910f12a1c348089d296ac87984551191c38a9d119041a9405a26c488ef07c668bf7c0f62d4771d9bd2c8c19b9c810ef237
data/README.md CHANGED
@@ -99,7 +99,7 @@ well-suited for use in the nav bar, you can freely override them).
99
99
  You can use a Feather icon by name, like so:
100
100
 
101
101
  ```html
102
- {% include feather.html icon="github" %}
102
+ {% raw %}{% include feather.html icon="github" %}{% endraw %}
103
103
  ```
104
104
 
105
105
  The default Feather styling is through the `.feather-icon` class, which you can
@@ -123,3 +123,8 @@ with the clean-slate Bulma approach per above).
123
123
  }
124
124
  }
125
125
  ```
126
+
127
+ # Who?
128
+
129
+ See the included `COPYING.md` file for details (or if you're viewing this README
130
+ as a Jekyll site, click the "License" link in the navbar above).
@@ -1,3 +1,3 @@
1
1
  <span class="feather-icon">
2
- <svg><use xlink:href="/assets/feather-sprite.svg#{{include.icon}}"/></svg>
2
+ <svg><use xlink:href="{{'/assets/feather-sprite.svg' | relative_url}}#{{include.icon}}"/></svg>
3
3
  </span>
@@ -1,14 +1,19 @@
1
+ {% assign copyright-year = site.copyright-year %}
2
+ {% unless copyright-year %}
3
+ {% capture copyright-year %}{{ 'now' | date: '%Y' }}{% endcapture %}
4
+ {% endunless %}
5
+
1
6
  <footer>
2
7
  <p>
3
- Copyright © 2020 Ryan S. Northrup ("RyNo"). This website is free
4
- software under the <a href="/COPYING.txt">ISC License</a>.
8
+ Copyright © {{copyright-year}} {{site.author}}. This website
9
+ is <a href="{{'/COPYING' | relative_url }}">free software</a>.
5
10
  </p>
6
11
 
7
12
  <p>
8
13
  Built w/ <a href="https://bulma.io">Bulma</a>,
9
14
  <a href="https://feathericons.com">Feather</a>,
10
- and <a href="https://jekyllrb.com">Jekyll</a>, and hosted
11
- on <a href="https://github.com/Base32H/base32h.github.io">GitHub
12
- Pages</a>. Pull requests welcome.
15
+ and <a href="https://jekyllrb.com">Jekyll</a>, using
16
+ the <a href="https://github.com/YellowApple/jekyll-bulma-feather">jekyll-bulma-feather
17
+ theme</a>.
13
18
  </p>
14
19
  </footer>
@@ -8,5 +8,6 @@
8
8
  <title>{{site.title}}</title>
9
9
  {% endif %}
10
10
 
11
- <link href="/assets/style.css" rel="stylesheet" type="text/css">
11
+ <link href="{{'/assets/style.css' | relative_url}}"
12
+ rel="stylesheet" type="text/css">
12
13
  </head>
@@ -7,16 +7,17 @@
7
7
  <nav>
8
8
  <ul class="navbar-brand">
9
9
  {% if nav-logo %}
10
- <li><a href="/"><img src="{{nav-logo}}"
11
- alt="{{nav-title}}"></a></li>
10
+ <li><a href="{{'/' | relative_url}}">
11
+ <img src="{{nav-logo | relative_url}}" alt="{{nav-title}}">
12
+ </a></li>
12
13
  {% endif %}
13
- <li><a href="/">{{nav-title}}</a></li>
14
+ <li><a href="{{'/' | relative_url}}">{{nav-title}}</a></li>
14
15
  </ul>
15
16
 
16
17
  <div class="navbar-menu">
17
18
  <ul class="navbar-start">
18
19
  {% for n in site.navbar.start %}
19
- <li><a href="{{n.url}}">
20
+ <li><a href="{{n.url | relative_url}}">
20
21
  {% if n.icon %}
21
22
  {% include feather.html icon=n.icon %}
22
23
  {% endif %}
@@ -26,7 +27,7 @@
26
27
  </ul>
27
28
  <ul class="navbar-end">
28
29
  {% for n in site.navbar.end %}
29
- <li><a href="{{n.url}}">
30
+ <li><a href="{{n.url | relative_url}}">
30
31
  {% if n.icon %}
31
32
  {% include feather.html icon=n.icon %}
32
33
  {% endif %}
@@ -1,36 +1,39 @@
1
1
  $navbar-background-color: #000;
2
2
  $navbar-item-color: #eee;
3
3
  $navbar-item-hover-color: #000;
4
- //$navbar-tab-active-color: #eee;
5
- //$navbar-dropdown-item-active-color: #eee;
6
4
 
7
5
  @import "bulma";
8
6
 
9
7
  body {
10
8
  >nav {
11
9
  @extend .navbar;
12
- //@extend .is-black;
13
10
 
14
11
  li {
15
- //@extend .navbar-item;
16
12
  display: flex;
17
13
 
18
14
  * {
19
- //@extend .has-text-light;
20
15
  @extend .navbar-item;
21
16
  display: flex;
22
17
  width: 100%;
23
18
  }
24
19
 
25
- // a {
26
- // @extend .navbar-item;
27
- // display: flex;
28
- // }
20
+ // For some reason these need overridden on GitHub Pages; I think
21
+ // it's an issue with whatever SASS compiler it uses.
22
+ * {
23
+ * {
24
+ padding: 0px;
25
+ }
26
+ }
27
+
28
+ *:hover {
29
+ * {
30
+ color: $navbar-item-hover-color;
31
+ }
32
+ }
29
33
  }
30
34
 
31
35
  .navbar-menu {
32
36
  @extend .is-active;
33
- //@extend .is-black;
34
37
  }
35
38
 
36
39
  .navbar-brand {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-bulma-feather
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan S. Northrup (RyNo)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-03 00:00:00.000000000 Z
11
+ date: 2020-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll