texture 0.4 → 0.5

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
  SHA1:
3
- metadata.gz: 8817f05e4a6b9170a7bcf34016302556011a715c
4
- data.tar.gz: 233b22a799535a97082f56ed5a52a1bad7b484c4
3
+ metadata.gz: 2d5e879f553bf657980ba1263b005034bcc47a4f
4
+ data.tar.gz: d16c897335573f6af41e5787df289ce6cd69bbab
5
5
  SHA512:
6
- metadata.gz: e6e6b18d19f42b0dafd49dfe032dc8c26501f33d195d8e29cde03fdb348605c984f4de7b036a5958ce2950e4d881c7b19ff939777c6f932bc87b7b20c82f900d
7
- data.tar.gz: f1b6d54ddf8a22754543e83297518c2f9e3d49526376460e94d982ce752fdcb7a983019bbf46ee6656ae4fc42cbdbf7965cd8bb3768162c18a1d8d4b523f3a78
6
+ metadata.gz: 7b5b3fc5ee18b6d253dc3491291338c827795399f447c49d988da3d25bb2ff9aaa30bc6145dc451060ce8857889d820158062396bc39a35a5151734f87350bb3
7
+ data.tar.gz: 5d36aa621ee3b99b28aa31b23bcc596724084c4d4f6f64dc79108b53f62a13186969b57827de8278937468f67b0c8baafdfba57dd6056ca961b0aa7a2ef779f7
data/README.md CHANGED
@@ -105,6 +105,19 @@ texture:
105
105
  showNav: true
106
106
  ```
107
107
 
108
+ **Navigation**
109
+
110
+ After setting `showNav` to true navigation can be built by adding the following to your `_config.yml`
111
+
112
+ ```yaml
113
+ texture:
114
+ navigation:
115
+ - title: My Work
116
+ url: "/my-work"
117
+ - title: Resume
118
+ url: "/resume"
119
+ ```
120
+
108
121
  **Layouts**
109
122
 
110
123
  - Home
@@ -124,7 +137,14 @@ Your theme is setup just like a normal Jekyll site! To test your theme, run `bun
124
137
  When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
125
138
  To add a custom directory to your theme-gem, please edit the regexp in `texture.gemspec` accordingly.
126
139
 
140
+ ## Donation
141
+ If this project help you reduce time to develop, you can give me a cup of coffee :)
142
+
143
+ [![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://paypal.me/thelehhman)
144
+
127
145
  ## License
128
146
 
129
147
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
130
148
 
149
+ ## More Themes
150
+ [plainwhite](https://github.com/thelehhman/plainwhite-jekyll)
@@ -1,8 +1,9 @@
1
1
  {%- if site.texture.showNav -%}
2
2
  <div class="navbar">
3
3
  <ul>
4
- <a href="#"><li>Home</li></a>
5
- <a href="#"><li>About</li></a>
4
+ {% for link in site.texture.navigation %}
5
+ <a href="{{ link.url }}"><li {% if link.url == page.url %}class="active"{% endif %} >{{ link.title }}</li></a>
6
+ {% endfor %}
6
7
  </ul>
7
8
  </div>
8
9
  {%- endif -%}
@@ -13,6 +13,10 @@ img, embed, object, video {
13
13
  max-width: 100%;
14
14
  }
15
15
 
16
+ main {
17
+ overflow-x: hidden;
18
+ }
19
+
16
20
  //
17
21
  // Fluid Typography
18
22
  //
@@ -224,6 +224,7 @@ header {
224
224
  }
225
225
 
226
226
  .navbar {
227
+ display: flex;
227
228
  position: absolute;
228
229
  top: 0;
229
230
  right: 5vw;
@@ -248,6 +249,10 @@ header {
248
249
  background-color: rgba(#fff, 0.15);
249
250
  cursor: pointer;
250
251
  }
252
+ &.active {
253
+ background-color: rgba(#fff, 0.15);
254
+ }
251
255
  }
252
256
  }
253
- }
257
+ }
258
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: texture
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: '0.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samarjeet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-16 00:00:00.000000000 Z
11
+ date: 2020-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -68,7 +68,7 @@ dependencies:
68
68
  version: '12.0'
69
69
  description:
70
70
  email:
71
- - thelehhman@gmail.com
71
+ - samarsault@gmail.com
72
72
  executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []