labrea-theme 0.0.4v1 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -10
- data/_includes/header.html +9 -10
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f157b15b8046288874a00f00d8a0f5ce4ea3ca7ef73b4cdddbf3d7413e89869
|
4
|
+
data.tar.gz: 748d2f180f6b51ea17fd70bfe3e90fea03b395cbeb999a66698df78baae589ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f99748279713ce383ee81691b497a503496c6c8011468b9c30d8dcb8589f0a0eaf9137b69219fc9dc987a91ff5ee8d76cfe7e4c37f35564a1db5028e790857e5
|
7
|
+
data.tar.gz: d1e0e57530110c9fa1df7da431385eaff6e6cfcfebfc95210e1db1456a5cab5283833b46d81351a5e6eaa92bbd86a83bfd1c15c3899a4834fbcde0c948c9ef28
|
data/README.md
CHANGED
@@ -59,16 +59,6 @@ If you would like to add custom CSS, create a file `/assets/css/main.scss` and a
|
|
59
59
|
```
|
60
60
|
at the beginning and place your custom code below.
|
61
61
|
|
62
|
-
### No indexing
|
63
|
-
|
64
|
-
The theme also comes with the possibility to stop search engines from indexing your site. If `noindexing: true` is added to your `_config.yaml`, the line
|
65
|
-
|
66
|
-
```html
|
67
|
-
<meta name="robots" content="noindex,nofollow">
|
68
|
-
```
|
69
|
-
|
70
|
-
is added to the header of every page.
|
71
|
-
|
72
62
|
### Lightbox
|
73
63
|
|
74
64
|
This theme has included a [minimal lightbox](https://jekyllcodex.org/without-plugin/lightbox/). All image and video links open in a lightbox. To prevent this behaviour on any specific link add the css class `.no-lightbox`. In markdown this is achieved in the following way
|
data/_includes/header.html
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
<header class='mt4 mb3 ml4 mr1 sm-ml2'>
|
2
2
|
<h1 class='mb1' role='banner'><a href='{{ site.baseurl }}/'>{{ site.title }}</a></h1>
|
3
3
|
<div class='mxn1' role='navigation'>
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
4
|
+
{% assign default_paths = site.pages | map: "path" %}
|
5
|
+
{% assign page_paths = site.header_pages | default: default_paths %}
|
6
|
+
{% if page_paths %}
|
7
|
+
{% for path in page_paths %}
|
8
|
+
{% if my_page.title and my_page.title != "Posts" %}
|
9
|
+
{% assign my_page = site.pages | where: "path", path | first %}
|
10
|
+
<a class="btn button-narrow h3" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
11
|
+
{% endif %}
|
12
|
+
{% endfor %}
|
12
13
|
{% endif %}
|
13
|
-
{% endfor %}
|
14
|
-
{% endif %}
|
15
14
|
</div>
|
16
15
|
</header>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: labrea-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- noah
|
@@ -91,9 +91,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubyforge_project:
|
99
99
|
rubygems_version: 2.7.6
|