minduim 1.0.2 → 1.0.4
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/_config.yml +76 -72
- data/_includes/footer.html +16 -16
- data/_includes/header.html +31 -31
- data/_includes/post.html +25 -25
- data/_includes/sidebar.html +31 -31
- data/_includes/widget.html +5 -5
- data/_layouts/archive.html +41 -41
- data/_layouts/blog.html +35 -35
- data/_layouts/default.html +3 -0
- data/_layouts/page.html +13 -13
- data/_layouts/post.html +74 -74
- data/assets/css/base.css +432 -430
- data/assets/css/layout.css +235 -235
- data/assets/css/syntax.css +425 -425
- data/assets/css/theme.css +40 -40
- data/assets/images/favicon.png +0 -0
- metadata +2 -1
data/_layouts/post.html
CHANGED
@@ -1,74 +1,74 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
<article class="post">
|
5
|
-
<header class="post-header">
|
6
|
-
<h1 class="post-title">
|
7
|
-
{{ page.title }}
|
8
|
-
</h1>
|
9
|
-
</header>
|
10
|
-
|
11
|
-
<div class="post-content">
|
12
|
-
{{ content }}
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<footer class="post-footer">
|
16
|
-
<a class="post-meta _permalink" href="{{ page.url | absolute_url }}" rel="bookmark">
|
17
|
-
<time class="_date" datetime="{{ page.date | date_to_xmlschema }}">
|
18
|
-
{{ page.date | date: site.minduim.date_formats.day }}
|
19
|
-
</time>
|
20
|
-
</a>
|
21
|
-
|
22
|
-
{% if page.tags.size > 0 %}
|
23
|
-
<div class="post-meta _tags">
|
24
|
-
<p class="tags-label">
|
25
|
-
{{ site.minduim.translations.post_tagged_with }}
|
26
|
-
</p>
|
27
|
-
|
28
|
-
<ul class="tags-list">
|
29
|
-
{% for tag in page.tags -%}
|
30
|
-
{%- assign tag_name = tag | slugify: site.slug_mode -%}
|
31
|
-
{%- assign tag_url = site.jekyll-archives.permalinks.tag | replace: ":name", tag_name | relative_url -%}
|
32
|
-
<li class="tag-item">
|
33
|
-
<a href="{{- tag_url -}}" rel="tag">
|
34
|
-
{{ tag }}
|
35
|
-
</a>
|
36
|
-
</li>
|
37
|
-
{%- endfor %}
|
38
|
-
</ul>
|
39
|
-
</div>
|
40
|
-
{% endif %}
|
41
|
-
</footer>
|
42
|
-
|
43
|
-
{% if page.previous or page.next -%}
|
44
|
-
<nav class="blog-pagination" aria-label="{{ site.minduim.translations.blog_pagination_title }}">
|
45
|
-
{% if page.next -%}
|
46
|
-
{% assign link_title = page.next.title %}
|
47
|
-
|
48
|
-
{% if page.next.title == "" %}
|
49
|
-
{% assign link_title = page.next.content | markdownify | strip_html | strip_newlines | truncatewords: 10 %}
|
50
|
-
{% endif %}
|
51
|
-
|
52
|
-
<a class="prev-page menu-item" href="{{ page.next.url | relative_url }}" rel="next">
|
53
|
-
← {{ link_title }}
|
54
|
-
</a>
|
55
|
-
{%- endif %}
|
56
|
-
|
57
|
-
{% if page.previous -%}
|
58
|
-
{% assign link_title = page.previous.title %}
|
59
|
-
|
60
|
-
{% if page.previous.title == "" %}
|
61
|
-
{% assign link_title = page.previous.content | markdownify | strip_html | strip_newlines | truncatewords: 10 %}
|
62
|
-
{% endif %}
|
63
|
-
|
64
|
-
<a class="next-page menu-item" href="{{ page.previous.url | relative_url }}" rel="prev">
|
65
|
-
{{ link_title }} →
|
66
|
-
</a>
|
67
|
-
{%- endif %}
|
68
|
-
</nav>
|
69
|
-
{%- endif %}
|
70
|
-
</article>
|
71
|
-
|
72
|
-
<div class="sidebar">
|
73
|
-
{%- include sidebar.html -%}
|
74
|
-
</div>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post">
|
5
|
+
<header class="post-header">
|
6
|
+
<h1 class="post-title">
|
7
|
+
{{ page.title }}
|
8
|
+
</h1>
|
9
|
+
</header>
|
10
|
+
|
11
|
+
<div class="post-content">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<footer class="post-footer">
|
16
|
+
<a class="post-meta _permalink" href="{{ page.url | absolute_url }}" rel="bookmark">
|
17
|
+
<time class="_date" datetime="{{ page.date | date_to_xmlschema }}">
|
18
|
+
{{ page.date | date: site.minduim.date_formats.day }}
|
19
|
+
</time>
|
20
|
+
</a>
|
21
|
+
|
22
|
+
{% if page.tags.size > 0 %}
|
23
|
+
<div class="post-meta _tags">
|
24
|
+
<p class="tags-label">
|
25
|
+
{{ site.minduim.translations.post_tagged_with }}
|
26
|
+
</p>
|
27
|
+
|
28
|
+
<ul class="tags-list">
|
29
|
+
{% for tag in page.tags -%}
|
30
|
+
{%- assign tag_name = tag | slugify: site.slug_mode -%}
|
31
|
+
{%- assign tag_url = site.jekyll-archives.permalinks.tag | replace: ":name", tag_name | relative_url -%}
|
32
|
+
<li class="tag-item">
|
33
|
+
<a href="{{- tag_url -}}" rel="tag">
|
34
|
+
{{ tag }}
|
35
|
+
</a>
|
36
|
+
</li>
|
37
|
+
{%- endfor %}
|
38
|
+
</ul>
|
39
|
+
</div>
|
40
|
+
{% endif %}
|
41
|
+
</footer>
|
42
|
+
|
43
|
+
{% if page.previous or page.next -%}
|
44
|
+
<nav class="blog-pagination" aria-label="{{ site.minduim.translations.blog_pagination_title }}">
|
45
|
+
{% if page.next -%}
|
46
|
+
{% assign link_title = page.next.title %}
|
47
|
+
|
48
|
+
{% if page.next.title == "" %}
|
49
|
+
{% assign link_title = page.next.content | markdownify | strip_html | strip_newlines | truncatewords: 10 %}
|
50
|
+
{% endif %}
|
51
|
+
|
52
|
+
<a class="prev-page menu-item" href="{{ page.next.url | relative_url }}" rel="next">
|
53
|
+
← {{ link_title }}
|
54
|
+
</a>
|
55
|
+
{%- endif %}
|
56
|
+
|
57
|
+
{% if page.previous -%}
|
58
|
+
{% assign link_title = page.previous.title %}
|
59
|
+
|
60
|
+
{% if page.previous.title == "" %}
|
61
|
+
{% assign link_title = page.previous.content | markdownify | strip_html | strip_newlines | truncatewords: 10 %}
|
62
|
+
{% endif %}
|
63
|
+
|
64
|
+
<a class="next-page menu-item" href="{{ page.previous.url | relative_url }}" rel="prev">
|
65
|
+
{{ link_title }} →
|
66
|
+
</a>
|
67
|
+
{%- endif %}
|
68
|
+
</nav>
|
69
|
+
{%- endif %}
|
70
|
+
</article>
|
71
|
+
|
72
|
+
<div class="sidebar">
|
73
|
+
{%- include sidebar.html -%}
|
74
|
+
</div>
|