minima-rock 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +22 -22
- data/README.md +6 -3
- data/_data/backgrounds.yml +8 -8
- data/_data/navigation.yml +7 -7
- data/_data/social.yml +21 -21
- data/_includes/categories_archive.html +14 -14
- data/_includes/categories_list.html +12 -12
- data/_includes/disqus_comments.html +20 -20
- data/_includes/footer.html +34 -34
- data/_includes/google-analytics.html +10 -10
- data/_includes/head.html +15 -15
- data/_includes/header.html +23 -23
- data/_includes/image.html +13 -13
- data/_includes/mathjax.html +6 -6
- data/_includes/search.html +16 -16
- data/_includes/share_bar.html +68 -68
- data/_includes/social.html +20 -20
- data/_includes/tags_archive.html +14 -14
- data/_includes/tags_bar.html +10 -10
- data/_includes/tags_cloud.html +13 -13
- data/_includes/toc.html +4 -4
- data/_layouts/default.html +32 -32
- data/_layouts/home.html +39 -39
- data/_layouts/page.html +14 -14
- data/_layouts/post.html +35 -35
- data/_sass/minima.scss +57 -57
- data/_sass/minima/_base.scss +262 -262
- data/_sass/minima/_layout.scss +323 -323
- data/_sass/minima/_share.scss +86 -86
- data/_sass/minima/_syntax-highlighting.scss +89 -89
- data/assets/css/style.scss +5 -5
- data/assets/js/color.js +69 -69
- data/assets/json/search.json +15 -15
- data/assets/minima-social-icons.svg +39 -39
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f9c1604ee5c128fbf5bb78d8ea397786e0131abe2a4ae307cc966d2bd3bb025
|
4
|
+
data.tar.gz: 3ef4e04a333bc93ddec6a76f24def28d26535568b32985cce5f72923104abc19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85c5cfe040a9e89fdff152c267e3ecdcf48a725231cd1c5ecccfeba709d95724da375fe916bdfe24d6a433842b9ac862fec78108a862eab98f597c189532f77e
|
7
|
+
data.tar.gz: ee2d76254104d205458813392d625289d98c271d4dbb36064cdddefd997622f9b6dbfb31a7508aa2f47fc1384f16b98f6bf66cc33736d7f9611af8aa28f251ef
|
data/LICENSE.txt
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2016-present Parker Moore and the minima contributors
|
4
|
-
Copyright (c) 2019-present Alexander Huang
|
5
|
-
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
8
|
-
in the Software without restriction, including without limitation the rights
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
11
|
-
furnished to do so, subject to the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be included in
|
14
|
-
all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22
|
-
THE SOFTWARE.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016-present Parker Moore and the minima contributors
|
4
|
+
Copyright (c) 2019-present Alexander Huang
|
5
|
+
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
8
|
+
in the Software without restriction, including without limitation the rights
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
11
|
+
furnished to do so, subject to the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
14
|
+
all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
-
# Minima Rock
|
2
|
-
|
3
|
-
Minima Rock is a Jekyll theme extended from Minima.
|
1
|
+
# Minima Rock
|
2
|
+
|
3
|
+
Minima Rock is a Jekyll theme extended from Minima.
|
4
|
+
|
5
|
+
[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu)
|
6
|
+
[![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)
|
data/_data/backgrounds.yml
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
# From https://www.transparenttextures.com/
|
2
|
-
- name: '/assets/css/background/3px-tile.png'
|
3
|
-
- name: '/assets/css/background/45-degree-fabric-light.png'
|
4
|
-
- name: '/assets/css/background/back-pattern.png'
|
5
|
-
- name: '/assets/css/background/batthern.png'
|
6
|
-
- name: '/assets/css/background/bedge-grunge.png'
|
7
|
-
- name: '/assets/css/background/brick-wall.png'
|
8
|
-
- name: '/assets/css/background/concrete-wall-2.png'
|
1
|
+
# From https://www.transparenttextures.com/
|
2
|
+
- name: '/assets/css/background/3px-tile.png'
|
3
|
+
- name: '/assets/css/background/45-degree-fabric-light.png'
|
4
|
+
- name: '/assets/css/background/back-pattern.png'
|
5
|
+
- name: '/assets/css/background/batthern.png'
|
6
|
+
- name: '/assets/css/background/bedge-grunge.png'
|
7
|
+
- name: '/assets/css/background/brick-wall.png'
|
8
|
+
- name: '/assets/css/background/concrete-wall-2.png'
|
data/_data/navigation.yml
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
- name: About
|
2
|
-
link: /about.html
|
3
|
-
- name: Categories
|
4
|
-
link: /categories.html
|
5
|
-
- name: Tags
|
6
|
-
link: /tags.html
|
7
|
-
- name: Search
|
1
|
+
- name: About
|
2
|
+
link: /about.html
|
3
|
+
- name: Categories
|
4
|
+
link: /categories.html
|
5
|
+
- name: Tags
|
6
|
+
link: /tags.html
|
7
|
+
- name: Search
|
8
8
|
link: /search.html
|
data/_data/social.yml
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
twitter: jekyllrb
|
2
|
-
github: jekyll
|
3
|
-
rss: rss
|
4
|
-
# dribbble: jekyll
|
5
|
-
# facebook: jekyll
|
6
|
-
# flickr: jekyll
|
7
|
-
# instagram: jekyll
|
8
|
-
# linkedin: jekyll
|
9
|
-
# pinterest: jekyll
|
10
|
-
# youtube: jekyll
|
11
|
-
# youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g
|
12
|
-
# youtube_channel_name: CloudCannon
|
13
|
-
# telegram: jekyll
|
14
|
-
# googleplus: +jekyll
|
15
|
-
# microdotblog: jekyll
|
16
|
-
|
17
|
-
# Mastodon instances
|
18
|
-
# mastodon:
|
19
|
-
# - username: jekyll
|
20
|
-
# instance: example.com
|
21
|
-
# - username: jekyll2
|
1
|
+
twitter: jekyllrb
|
2
|
+
github: jekyll
|
3
|
+
rss: rss
|
4
|
+
# dribbble: jekyll
|
5
|
+
# facebook: jekyll
|
6
|
+
# flickr: jekyll
|
7
|
+
# instagram: jekyll
|
8
|
+
# linkedin: jekyll
|
9
|
+
# pinterest: jekyll
|
10
|
+
# youtube: jekyll
|
11
|
+
# youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g
|
12
|
+
# youtube_channel_name: CloudCannon
|
13
|
+
# telegram: jekyll
|
14
|
+
# googleplus: +jekyll
|
15
|
+
# microdotblog: jekyll
|
16
|
+
|
17
|
+
# Mastodon instances
|
18
|
+
# mastodon:
|
19
|
+
# - username: jekyll
|
20
|
+
# instance: example.com
|
21
|
+
# - username: jekyll2
|
22
22
|
# instance: example.com
|
@@ -1,15 +1,15 @@
|
|
1
|
-
<ul>
|
2
|
-
{% for category in site.categories %}
|
3
|
-
{% if category[0] == page.category %}
|
4
|
-
{% assign post_list = category[1] %}
|
5
|
-
{%- for post in post_list -%}
|
6
|
-
<li>
|
7
|
-
<span>{{ post.date | date: "%Y-%m-%d" }}</span> »
|
8
|
-
<a href="{{ post.url | relative_url }}">
|
9
|
-
{{ post.title | escape }}
|
10
|
-
</a>
|
11
|
-
</li>
|
12
|
-
{%- endfor -%}
|
13
|
-
{%- endif -%}
|
14
|
-
{% endfor %}
|
1
|
+
<ul>
|
2
|
+
{% for category in site.categories %}
|
3
|
+
{% if category[0] == page.category %}
|
4
|
+
{% assign post_list = category[1] %}
|
5
|
+
{%- for post in post_list -%}
|
6
|
+
<li>
|
7
|
+
<span>{{ post.date | date: "%Y-%m-%d" }}</span> »
|
8
|
+
<a href="{{ post.url | relative_url }}">
|
9
|
+
{{ post.title | escape }}
|
10
|
+
</a>
|
11
|
+
</li>
|
12
|
+
{%- endfor -%}
|
13
|
+
{%- endif -%}
|
14
|
+
{% endfor %}
|
15
15
|
</ul>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<ul class="category-list">
|
2
|
-
{% assign categories = site.categories | sort %}
|
3
|
-
{% for category in categories %}
|
4
|
-
<li class="site-category">
|
5
|
-
<h2>
|
6
|
-
<a class="site-category-text" href="{{ site.baseurl }}/categories/{{ category | first | slugify }}.html">
|
7
|
-
{{ category[0] }}
|
8
|
-
</a>
|
9
|
-
</h2>
|
10
|
-
</li>
|
11
|
-
{% endfor %}
|
12
|
-
</ul>
|
1
|
+
<ul class="category-list">
|
2
|
+
{% assign categories = site.categories | sort %}
|
3
|
+
{% for category in categories %}
|
4
|
+
<li class="site-category">
|
5
|
+
<h2>
|
6
|
+
<a class="site-category-text" href="{{ site.baseurl }}/categories/{{ category | first | slugify }}.html">
|
7
|
+
{{ category[0] }}
|
8
|
+
</a>
|
9
|
+
</h2>
|
10
|
+
</li>
|
11
|
+
{% endfor %}
|
12
|
+
</ul>
|
@@ -1,20 +1,20 @@
|
|
1
|
-
{%- if page.comments != false and jekyll.environment == "production" and site.data.disqus -%}
|
2
|
-
|
3
|
-
<div id="disqus_thread"></div>
|
4
|
-
<script>
|
5
|
-
var disqus_config = function () {
|
6
|
-
this.page.url = '{{ page.url | absolute_url }}';
|
7
|
-
this.page.identifier = '{{ page.url | absolute_url }}';
|
8
|
-
};
|
9
|
-
|
10
|
-
(function() {
|
11
|
-
var d = document, s = d.createElement('script');
|
12
|
-
|
13
|
-
s.src = 'https://{{ site.data.disqus.shortname }}.disqus.com/embed.js';
|
14
|
-
|
15
|
-
s.setAttribute('data-timestamp', +new Date());
|
16
|
-
(d.head || d.body).appendChild(s);
|
17
|
-
})();
|
18
|
-
</script>
|
19
|
-
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
20
|
-
{%- endif -%}
|
1
|
+
{%- if page.comments != false and jekyll.environment == "production" and site.data.disqus -%}
|
2
|
+
|
3
|
+
<div id="disqus_thread"></div>
|
4
|
+
<script>
|
5
|
+
var disqus_config = function () {
|
6
|
+
this.page.url = '{{ page.url | absolute_url }}';
|
7
|
+
this.page.identifier = '{{ page.url | absolute_url }}';
|
8
|
+
};
|
9
|
+
|
10
|
+
(function() {
|
11
|
+
var d = document, s = d.createElement('script');
|
12
|
+
|
13
|
+
s.src = 'https://{{ site.data.disqus.shortname }}.disqus.com/embed.js';
|
14
|
+
|
15
|
+
s.setAttribute('data-timestamp', +new Date());
|
16
|
+
(d.head || d.body).appendChild(s);
|
17
|
+
})();
|
18
|
+
</script>
|
19
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
20
|
+
{%- endif -%}
|
data/_includes/footer.html
CHANGED
@@ -1,34 +1,34 @@
|
|
1
|
-
<footer class="site-footer h-card">
|
2
|
-
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
3
|
-
|
4
|
-
<div class="wrapper">
|
5
|
-
|
6
|
-
<div class="footer-col-wrapper">
|
7
|
-
<div class="footer-col one-half">
|
8
|
-
<h2 class="footer-heading">{{ site.title | escape }}</h2>
|
9
|
-
<ul class="contact-list">
|
10
|
-
<li class="p-name">
|
11
|
-
{%- if site.author -%}
|
12
|
-
{{ site.author | escape }}
|
13
|
-
{%- else -%}
|
14
|
-
{{ site.title | escape }}
|
15
|
-
{%- endif -%}
|
16
|
-
</li>
|
17
|
-
{%- if site.email -%}
|
18
|
-
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
19
|
-
{%- endif -%}
|
20
|
-
</ul>
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<div class="footer-col one-half">
|
24
|
-
<p>{{- site.description | escape -}}</p>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
<div class="social-links">
|
28
|
-
{%- include social.html -%}
|
29
|
-
</div>
|
30
|
-
</div>
|
31
|
-
|
32
|
-
</div>
|
33
|
-
|
34
|
-
</footer>
|
1
|
+
<footer class="site-footer h-card">
|
2
|
+
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
3
|
+
|
4
|
+
<div class="wrapper">
|
5
|
+
|
6
|
+
<div class="footer-col-wrapper">
|
7
|
+
<div class="footer-col one-half">
|
8
|
+
<h2 class="footer-heading">{{ site.title | escape }}</h2>
|
9
|
+
<ul class="contact-list">
|
10
|
+
<li class="p-name">
|
11
|
+
{%- if site.author -%}
|
12
|
+
{{ site.author | escape }}
|
13
|
+
{%- else -%}
|
14
|
+
{{ site.title | escape }}
|
15
|
+
{%- endif -%}
|
16
|
+
</li>
|
17
|
+
{%- if site.email -%}
|
18
|
+
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
19
|
+
{%- endif -%}
|
20
|
+
</ul>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
<div class="footer-col one-half">
|
24
|
+
<p>{{- site.description | escape -}}</p>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div class="social-links">
|
28
|
+
{%- include social.html -%}
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
</div>
|
33
|
+
|
34
|
+
</footer>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
{% if site.data.google_analytics %}
|
2
|
-
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.google_analytics.id }}"></script>
|
3
|
-
<script>
|
4
|
-
window['ga-disable-{{ site.data.google_analytics.id }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
|
5
|
-
window.dataLayer = window.dataLayer || [];
|
6
|
-
function gtag(){dataLayer.push(arguments);}
|
7
|
-
gtag('js', new Date());
|
8
|
-
|
9
|
-
gtag('config', '{{ site.data.google_analytics.id }}');
|
10
|
-
</script>
|
1
|
+
{% if site.data.google_analytics %}
|
2
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.google_analytics.id }}"></script>
|
3
|
+
<script>
|
4
|
+
window['ga-disable-{{ site.data.google_analytics.id }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
|
5
|
+
window.dataLayer = window.dataLayer || [];
|
6
|
+
function gtag(){dataLayer.push(arguments);}
|
7
|
+
gtag('js', new Date());
|
8
|
+
|
9
|
+
gtag('config', '{{ site.data.google_analytics.id }}');
|
10
|
+
</script>
|
11
11
|
{% endif %}
|
data/_includes/head.html
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
<head>
|
2
|
-
<meta charset="utf-8">
|
3
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
-
{%- seo -%}
|
6
|
-
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}"/>
|
7
|
-
<script type="text/javascript" src="{{ site.baseurl }}/assets/js/color.js"></script>
|
8
|
-
{%- if page.math -%}
|
9
|
-
{%- include mathjax.html -%}
|
10
|
-
{%- endif -%}
|
11
|
-
{%- feed_meta -%}
|
12
|
-
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
13
|
-
{%- include google-analytics.html -%}
|
14
|
-
{%- endif -%}
|
15
|
-
</head>
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
{%- seo -%}
|
6
|
+
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}"/>
|
7
|
+
<script type="text/javascript" src="{{ site.baseurl }}/assets/js/color.js"></script>
|
8
|
+
{%- if page.math -%}
|
9
|
+
{%- include mathjax.html -%}
|
10
|
+
{%- endif -%}
|
11
|
+
{%- feed_meta -%}
|
12
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
13
|
+
{%- include google-analytics.html -%}
|
14
|
+
{%- endif -%}
|
15
|
+
</head>
|
data/_includes/header.html
CHANGED
@@ -1,23 +1,23 @@
|
|
1
|
-
<header class="site-header">
|
2
|
-
|
3
|
-
<div class="wrapper">
|
4
|
-
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
5
|
-
|
6
|
-
<nav class="site-nav">
|
7
|
-
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
8
|
-
<label for="nav-trigger">
|
9
|
-
<span class="menu-icon">
|
10
|
-
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
11
|
-
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
|
12
|
-
</svg>
|
13
|
-
</span>
|
14
|
-
</label>
|
15
|
-
|
16
|
-
<div class="trigger">
|
17
|
-
{%- for item in site.data.navigation -%}
|
18
|
-
<a class="page-link" href="{{ site.baseurl }}{{ item.link }}">{{ item.name | escape }}</a>
|
19
|
-
{%- endfor -%}
|
20
|
-
</div>
|
21
|
-
</nav>
|
22
|
-
</div>
|
23
|
-
</header>
|
1
|
+
<header class="site-header">
|
2
|
+
|
3
|
+
<div class="wrapper">
|
4
|
+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
5
|
+
|
6
|
+
<nav class="site-nav">
|
7
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
8
|
+
<label for="nav-trigger">
|
9
|
+
<span class="menu-icon">
|
10
|
+
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
11
|
+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
|
12
|
+
</svg>
|
13
|
+
</span>
|
14
|
+
</label>
|
15
|
+
|
16
|
+
<div class="trigger">
|
17
|
+
{%- for item in site.data.navigation -%}
|
18
|
+
<a class="page-link" href="{{ site.baseurl }}{{ item.link }}">{{ item.name | escape }}</a>
|
19
|
+
{%- endfor -%}
|
20
|
+
</div>
|
21
|
+
</nav>
|
22
|
+
</div>
|
23
|
+
</header>
|
data/_includes/image.html
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
{% if page.assets %}
|
2
|
-
{% capture imagePath %}{{ page.assets | slugify }}/{{ include.name }}{% endcapture %}
|
3
|
-
{% else %}
|
4
|
-
{% capture imagePath %}{{ page.title | slugify }}/{{ include.name }}{% endcapture %}
|
5
|
-
{% endif %}
|
6
|
-
|
7
|
-
{% if include.caption %}
|
8
|
-
<figure>
|
9
|
-
<img src="{{ site.baseurl }}/static/assets/posts/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
|
10
|
-
<figcaption>{{ include.caption }}</figcaption>
|
11
|
-
</figure>
|
12
|
-
{% else %}
|
13
|
-
<img src="{{ site.baseurl }}/static/assets/posts/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
|
1
|
+
{% if page.assets %}
|
2
|
+
{% capture imagePath %}{{ page.assets | slugify }}/{{ include.name }}{% endcapture %}
|
3
|
+
{% else %}
|
4
|
+
{% capture imagePath %}{{ page.title | slugify }}/{{ include.name }}{% endcapture %}
|
5
|
+
{% endif %}
|
6
|
+
|
7
|
+
{% if include.caption %}
|
8
|
+
<figure>
|
9
|
+
<img src="{{ site.baseurl }}/static/assets/posts/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
|
10
|
+
<figcaption>{{ include.caption }}</figcaption>
|
11
|
+
</figure>
|
12
|
+
{% else %}
|
13
|
+
<img src="{{ site.baseurl }}/static/assets/posts/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
|
14
14
|
{% endif %}
|