steve-for-jekyll 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/404.html +9 -9
- data/LICENSE.txt +21 -21
- data/README.md +46 -46
- data/_config.yml +1 -2
- data/_includes/blog/custom-widgets.html +3 -3
- data/_includes/blog/post.html +57 -57
- data/_includes/blog/sidebar.html +42 -42
- data/_includes/footer/custom-text.html +5 -5
- data/_includes/footer/links.html +11 -11
- data/_includes/footer.html +11 -11
- data/_includes/head.html +9 -9
- data/_includes/header/menu.html +12 -12
- data/_includes/header.html +17 -17
- data/_includes/post/comment-form.html +69 -69
- data/_includes/post/comments.html +47 -47
- data/_includes/search-form.html +13 -13
- data/_layouts/archive.html +21 -21
- data/_layouts/blog.html +9 -9
- data/_layouts/default.html +18 -18
- data/_layouts/home.html +23 -23
- data/_layouts/page.html +15 -15
- data/_layouts/post.html +115 -115
- data/_sass/steve/_base.scss +269 -269
- data/_sass/steve/_layout.scss +477 -477
- data/_sass/steve/_syntax.scss +252 -252
- data/_sass/steve-for-jekyll.scss +51 -51
- data/assets/css/screen.scss +34 -34
- data/assets/js/responsive-videos.js +79 -79
- data/staticman.yml +30 -30
- metadata +7 -35
data/_layouts/post.html
CHANGED
@@ -1,115 +1,115 @@
|
|
1
|
-
---
|
2
|
-
layout: blog
|
3
|
-
---
|
4
|
-
|
5
|
-
<article class="content post">
|
6
|
-
<header class="content-header">
|
7
|
-
{% if page.category %}
|
8
|
-
<div class="content-meta">
|
9
|
-
{%- assign category_slug = page.category | slugify -%}
|
10
|
-
{%- assign category_url = site.jekyll-archives.permalinks.category -%}
|
11
|
-
|
12
|
-
<a
|
13
|
-
href="{{ category_url | replace: ':name', category_slug | relative_url }}"
|
14
|
-
rel="tag"
|
15
|
-
>
|
16
|
-
{{- page.category -}}
|
17
|
-
</a>
|
18
|
-
</div>
|
19
|
-
{% endif %}
|
20
|
-
|
21
|
-
{% if page.title != "" %}
|
22
|
-
<h1 class="content-title">{{ page.title }}</h1>
|
23
|
-
{% endif %}
|
24
|
-
|
25
|
-
<div class="content-meta">
|
26
|
-
<a class="content-date" href="{{ page.url }}" rel="bookmark">
|
27
|
-
<time datetime="{{ page.date | date_to_xmlschema }}">
|
28
|
-
{{ page.date | date: site.steve.date_formats.post }}
|
29
|
-
</time>
|
30
|
-
</a>
|
31
|
-
|
32
|
-
{% if page.author %}
|
33
|
-
{% assign author = site.data.authors[page.author] %}
|
34
|
-
|
35
|
-
{% if author.url %}
|
36
|
-
<a class="content-author" href="{{ author.url }}" rel="author">
|
37
|
-
{{ author.name }}
|
38
|
-
</a>
|
39
|
-
{% else %}
|
40
|
-
<a
|
41
|
-
class="content-author"
|
42
|
-
href="{{ page.author | prepend: 'https://twitter.com/' }}"
|
43
|
-
rel="author"
|
44
|
-
>
|
45
|
-
{{ page.author }}
|
46
|
-
</a>
|
47
|
-
{% endif %}
|
48
|
-
{% endif %}
|
49
|
-
</div>
|
50
|
-
</header>
|
51
|
-
|
52
|
-
{% if page.image %}
|
53
|
-
<figure class="content-cover">
|
54
|
-
<img
|
55
|
-
src="{{ page.image.url | default: page.image }}"
|
56
|
-
alt="{{ page.image.alt | default: '' }}"
|
57
|
-
/>
|
58
|
-
</figure>
|
59
|
-
{% endif %}
|
60
|
-
|
61
|
-
<div class="content-body">
|
62
|
-
{{ page.content }}
|
63
|
-
</div>
|
64
|
-
|
65
|
-
{% if page.tags.size > 0 %}
|
66
|
-
<footer class="content-footer">
|
67
|
-
<p>{{ site.steve.post.tags }}</p>
|
68
|
-
|
69
|
-
<ul class="content-tags">
|
70
|
-
{% for tag in page.tags %}
|
71
|
-
<li>
|
72
|
-
{%- assign tag_slug = tag | slugify -%}
|
73
|
-
{%- assign tag_url = site.jekyll-archives.permalinks.tag -%}
|
74
|
-
|
75
|
-
<a
|
76
|
-
href="{{ tag_url | replace: ':name', tag_slug | relative_url }}"
|
77
|
-
rel="tag"
|
78
|
-
>
|
79
|
-
{{- tag -}}
|
80
|
-
</a>
|
81
|
-
</li>
|
82
|
-
{% endfor %}
|
83
|
-
</ul>
|
84
|
-
</footer>
|
85
|
-
{% endif %}
|
86
|
-
</article>
|
87
|
-
|
88
|
-
{% include post/comments.html %}
|
89
|
-
|
90
|
-
{% if page.previous or page.next %}
|
91
|
-
<nav class="content-navigation">
|
92
|
-
{% if page.previous %}
|
93
|
-
<a
|
94
|
-
class="nav-link prev-link"
|
95
|
-
href="{{ page.previous.url | relative_url }}"
|
96
|
-
rel="prev"
|
97
|
-
>
|
98
|
-
{{ site.steve.pagination.prev_post }}
|
99
|
-
|
100
|
-
<strong>{{ page.previous.title }}</strong>
|
101
|
-
</a>
|
102
|
-
{% endif %}
|
103
|
-
{% if page.next %}
|
104
|
-
<a
|
105
|
-
class="nav-link next-link"
|
106
|
-
href="{{ page.next.url | relative_url }}"
|
107
|
-
rel="next"
|
108
|
-
>
|
109
|
-
{{ site.steve.pagination.next_post }}
|
110
|
-
|
111
|
-
<strong>{{ page.next.title }}</strong>
|
112
|
-
</a>
|
113
|
-
{% endif %}
|
114
|
-
</nav>
|
115
|
-
{% endif %}
|
1
|
+
---
|
2
|
+
layout: blog
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="content post">
|
6
|
+
<header class="content-header">
|
7
|
+
{% if page.category %}
|
8
|
+
<div class="content-meta">
|
9
|
+
{%- assign category_slug = page.category | slugify -%}
|
10
|
+
{%- assign category_url = site.jekyll-archives.permalinks.category -%}
|
11
|
+
|
12
|
+
<a
|
13
|
+
href="{{ category_url | replace: ':name', category_slug | relative_url }}"
|
14
|
+
rel="tag"
|
15
|
+
>
|
16
|
+
{{- page.category -}}
|
17
|
+
</a>
|
18
|
+
</div>
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
{% if page.title != "" %}
|
22
|
+
<h1 class="content-title">{{ page.title }}</h1>
|
23
|
+
{% endif %}
|
24
|
+
|
25
|
+
<div class="content-meta">
|
26
|
+
<a class="content-date" href="{{ page.url }}" rel="bookmark">
|
27
|
+
<time datetime="{{ page.date | date_to_xmlschema }}">
|
28
|
+
{{ page.date | date: site.steve.date_formats.post }}
|
29
|
+
</time>
|
30
|
+
</a>
|
31
|
+
|
32
|
+
{% if page.author %}
|
33
|
+
{% assign author = site.data.authors[page.author] %}
|
34
|
+
|
35
|
+
{% if author.url %}
|
36
|
+
<a class="content-author" href="{{ author.url }}" rel="author">
|
37
|
+
{{ author.name }}
|
38
|
+
</a>
|
39
|
+
{% else %}
|
40
|
+
<a
|
41
|
+
class="content-author"
|
42
|
+
href="{{ page.author | prepend: 'https://twitter.com/' }}"
|
43
|
+
rel="author"
|
44
|
+
>
|
45
|
+
{{ page.author }}
|
46
|
+
</a>
|
47
|
+
{% endif %}
|
48
|
+
{% endif %}
|
49
|
+
</div>
|
50
|
+
</header>
|
51
|
+
|
52
|
+
{% if page.image %}
|
53
|
+
<figure class="content-cover">
|
54
|
+
<img
|
55
|
+
src="{{ page.image.url | default: page.image }}"
|
56
|
+
alt="{{ page.image.alt | default: '' }}"
|
57
|
+
/>
|
58
|
+
</figure>
|
59
|
+
{% endif %}
|
60
|
+
|
61
|
+
<div class="content-body">
|
62
|
+
{{ page.content }}
|
63
|
+
</div>
|
64
|
+
|
65
|
+
{% if page.tags.size > 0 %}
|
66
|
+
<footer class="content-footer">
|
67
|
+
<p>{{ site.steve.post.tags }}</p>
|
68
|
+
|
69
|
+
<ul class="content-tags">
|
70
|
+
{% for tag in page.tags %}
|
71
|
+
<li>
|
72
|
+
{%- assign tag_slug = tag | slugify -%}
|
73
|
+
{%- assign tag_url = site.jekyll-archives.permalinks.tag -%}
|
74
|
+
|
75
|
+
<a
|
76
|
+
href="{{ tag_url | replace: ':name', tag_slug | relative_url }}"
|
77
|
+
rel="tag"
|
78
|
+
>
|
79
|
+
{{- tag -}}
|
80
|
+
</a>
|
81
|
+
</li>
|
82
|
+
{% endfor %}
|
83
|
+
</ul>
|
84
|
+
</footer>
|
85
|
+
{% endif %}
|
86
|
+
</article>
|
87
|
+
|
88
|
+
{% include post/comments.html %}
|
89
|
+
|
90
|
+
{% if page.previous or page.next %}
|
91
|
+
<nav class="content-navigation">
|
92
|
+
{% if page.previous %}
|
93
|
+
<a
|
94
|
+
class="nav-link prev-link"
|
95
|
+
href="{{ page.previous.url | relative_url }}"
|
96
|
+
rel="prev"
|
97
|
+
>
|
98
|
+
{{ site.steve.pagination.prev_post }}
|
99
|
+
|
100
|
+
<strong>{{ page.previous.title }}</strong>
|
101
|
+
</a>
|
102
|
+
{% endif %}
|
103
|
+
{% if page.next %}
|
104
|
+
<a
|
105
|
+
class="nav-link next-link"
|
106
|
+
href="{{ page.next.url | relative_url }}"
|
107
|
+
rel="next"
|
108
|
+
>
|
109
|
+
{{ site.steve.pagination.next_post }}
|
110
|
+
|
111
|
+
<strong>{{ page.next.title }}</strong>
|
112
|
+
</a>
|
113
|
+
{% endif %}
|
114
|
+
</nav>
|
115
|
+
{% endif %}
|