minima-rock 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/head.html +3 -0
- data/_includes/image.html +14 -0
- data/_includes/mathjax.html +6 -0
- data/_includes/toc.html +5 -0
- data/assets/posts/test-image/sexy-girl.png +0 -0
- metadata +5 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1772bb03b5a67ed58d326352cf3fbb01ebe3be6aff9135c4d1069627c56ba8fb
|
|
4
|
+
data.tar.gz: dd59367c664d74e70ddd12bc9daab251efa2b1d13fac773af2368417783bccdc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '081106992a858eb178c495492a2d15799f34613a19ae5d4896886a277dae248550ed98677f3051ea09cba1856d2bb73ed46bf842b2babbdfaa038a052cd6068c'
|
|
7
|
+
data.tar.gz: 91fbac7733309c7e7d5feb635254395746459fdda071798eac13001a0a85e589c773dca243b011c5def1cdc9b14c73b919150df0cdf53e0c87191a3bb8aaea8d
|
data/_includes/head.html
CHANGED
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
{%- seo -%}
|
|
6
6
|
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
|
|
7
7
|
<script type="text/javascript" src="{{ site.baseurl }}/assets/js/color.js"></script>
|
|
8
|
+
{%- if page.math -%}
|
|
9
|
+
{%- include mathjax.html -%}
|
|
10
|
+
{%- endif -%}
|
|
8
11
|
{%- feed_meta -%}
|
|
9
12
|
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
|
10
13
|
{%- include google-analytics.html -%}
|
|
@@ -0,0 +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="/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="/assets/posts/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
|
|
14
|
+
{% endif %}
|
data/_includes/toc.html
ADDED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minima-rock
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joel Glovier
|
|
@@ -100,11 +100,14 @@ files:
|
|
|
100
100
|
- _includes/google-analytics.html
|
|
101
101
|
- _includes/head.html
|
|
102
102
|
- _includes/header.html
|
|
103
|
+
- _includes/image.html
|
|
104
|
+
- _includes/mathjax.html
|
|
103
105
|
- _includes/share_bar.html
|
|
104
106
|
- _includes/social.html
|
|
105
107
|
- _includes/tags_archive.html
|
|
106
108
|
- _includes/tags_bar.html
|
|
107
109
|
- _includes/tags_cloud.html
|
|
110
|
+
- _includes/toc.html
|
|
108
111
|
- _layouts/default.html
|
|
109
112
|
- _layouts/home.html
|
|
110
113
|
- _layouts/page.html
|
|
@@ -117,6 +120,7 @@ files:
|
|
|
117
120
|
- assets/css/style.scss
|
|
118
121
|
- assets/js/color.js
|
|
119
122
|
- assets/minima-social-icons.svg
|
|
123
|
+
- assets/posts/test-image/sexy-girl.png
|
|
120
124
|
homepage: https://github.com/alxdhuang/minima-rock
|
|
121
125
|
licenses:
|
|
122
126
|
- MIT
|