labrea-theme 0.0.3v1 → 0.0.4v1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -0
  3. data/_includes/header.html +10 -9
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe5e952ad6cca6cfb843e469733a8553bc81a5651e455ea5629e09a523eef695
4
- data.tar.gz: 70e5e852fe522163c86cd0224353d64ec58c7e8b887cfc0f8dd85ab280cee780
3
+ metadata.gz: f82c0ed4c5e4b34d2a7dbdb9b84fdcb0aee39c446c3b3e10da5fcf64f5b7e68d
4
+ data.tar.gz: 2ce5021169b4f615fc43e395437c2a812544c886257d7be4d38ee84de2b91e94
5
5
  SHA512:
6
- metadata.gz: 8466e9c386d6621fa30c29b8f17b33c7f5ced72428896064f9f4fe9b551521bd6a2d8edf934bf12a24291f6975f415ee7450ba762257608488df22fd31cd4468
7
- data.tar.gz: c1015b5232737e341f279860ce7450f9c15b85f363f85f941c7664986bbc3fa56b3749a02328395ee88589711ec4a2eaf17bc12e180544155aa54a5b79b898fb
6
+ metadata.gz: 710010a4f8cef2aabe240ce63d7a6817cfb0e1d65c4ffabd4f8c27d3c0a760d9cf4103d680089d060bc32f39dbb8bd2dea204d98d82d6c3875f505a6b34ce6b8
7
+ data.tar.gz: 3f5ac755428090d510c147e9868e7c053d3f4e64b283fd0a3eef5e28f07cd10c28583c43f4819eed4d12ac028875606a6faa9eeafd5aaf1a1c275ffb5f898af8
data/README.md CHANGED
@@ -59,6 +59,16 @@ 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
+
62
72
  ### Lightbox
63
73
 
64
74
  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
@@ -1,15 +1,16 @@
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
- {% 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 %}
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
+ {% assign my_page = site.pages | where: "path", path | first %}
9
+ {% if my_page.title and my_page.title != "Posts" %}
10
+ {% assign my_page = site.pages | where: "path", path | first %}
11
+ <a class="btn button-narrow h3" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
13
12
  {% endif %}
13
+ {% endfor %}
14
+ {% endif %}
14
15
  </div>
15
16
  </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.3v1
4
+ version: 0.0.4v1
5
5
  platform: ruby
6
6
  authors:
7
7
  - noah