kaschber 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/dynamic_title.html +8 -8
- data/_includes/head.html +13 -11
- data/_includes/post-card.html +48 -55
- data/_layouts/author.html +49 -50
- data/_layouts/default.html +99 -96
- data/_layouts/home.html +26 -30
- data/_layouts/page.html +22 -26
- data/_layouts/post.html +94 -91
- data/_layouts/tag.html +37 -40
- data/assets/built/global.css +441 -2
- data/assets/built/kaschber.js +119 -2
- data/assets/built/screen.css +2157 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63b91b1a955fb374d4a7369078b4a0a870acbefbb9536b742971e5ded7776bd3
|
4
|
+
data.tar.gz: 9c63be8fefb9b4fd129e07a48a084578581c3c937701f2a6680ba3854863de49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a549469e15f72cdb5ad340dbaa5c8dcec10c2e628d4fc1f239e8f7bbc0fb419d0ffe9bdaa56769ae200635c19e92fc5d8d4d912d4f43b4a8645da6d2bb7fa8d
|
7
|
+
data.tar.gz: 4d4640dc48a077c639ba380083d59f97b63a8fd722487a0d905c400c35d95bd009da7c02ee7cd75dd37044af24f0a05711f804380cfa0bdbdd091aee490ba6df
|
@@ -1,16 +1,16 @@
|
|
1
1
|
<!-- dynamically fixing the title for tag/author pages -->
|
2
2
|
{% if page.url %}
|
3
3
|
{% if page.url contains "tags/" %}
|
4
|
-
|
4
|
+
{% assign title = page.url | remove: 'tag' | remove: '/' | url_decode | replace: '-', ' ' %}
|
5
5
|
{% elsif page.url contains "authors/" %}
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
{% assign username = page.url | remove: 'author' | remove: '/' | replace: '-', ' ' | remove: ' ' %}
|
7
|
+
{% for author in site.authors %}
|
8
|
+
{% if author.username == username %}
|
9
|
+
{% assign title = author.name %}
|
10
|
+
{% endif %}
|
11
|
+
{% endfor %}
|
12
12
|
{% endif %}
|
13
13
|
{% endif %}
|
14
14
|
{% if title %}
|
15
15
|
{% assign title = title | append: ' - ' | append: site.title %}
|
16
|
-
{% endif %}
|
16
|
+
{% endif %}
|
data/_includes/head.html
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
<head>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
<meta charset="utf-8">
|
3
|
+
{%- include dynamic_title.html -%}
|
4
|
+
|
5
|
+
{%- seo -%}
|
6
|
+
|
7
|
+
{%- feed_meta -%}
|
8
|
+
|
9
|
+
<link rel="stylesheet" type="text/css" href="{{ "/assets/built/global.css" | relative_url }}">
|
10
|
+
<link rel="stylesheet" type="text/css" href="{{ "/assets/built/screen.css" | relative_url }}">
|
11
|
+
|
12
|
+
{%- include custom-head.html -%}
|
13
|
+
|
14
|
+
</head>
|
data/_includes/post-card.html
CHANGED
@@ -1,58 +1,51 @@
|
|
1
1
|
{% assign words_per_minute = site.words_per_minute | default: 200 %}
|
2
2
|
{% assign post = include.post %}
|
3
3
|
|
4
|
-
<article class="post-card {{post_class}}{% if site.feed_layout ==
|
5
|
-
{% if site.
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
<
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
<span class="post-card-meta-length">{{ words | divided_by:words_per_minute }} min read</span>
|
53
|
-
{% endif %}
|
54
|
-
</footer>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
|
58
|
-
</article>
|
4
|
+
<article class="post-card {{post_class}}{% if site.feed_layout == 'Classic' %}{% if page.current == 'home' %}{% if site.posts.first == post %} post-card-large{% elsif site.posts[1] == post or site.posts[2] == post %} dynamic{% endif %}{% endif %}{% endif %}
|
5
|
+
{% if site.feed_layout == 'Grid' %} keep-ratio{% endif %}{% if site.feed_layout == 'List' %}{% if post.current == 'home, paged' %} post-card-large{% endif %}{% endif %}">{% if post.cover %}
|
6
|
+
<a class="post-card-image-link" href="{{ site.baseurl }}{{ post.url | remove_first: '/' }}">
|
7
|
+
|
8
|
+
<img class="post-card-image" src="{{ site.baseurl }}{{ post.cover }}" alt="{% if post.cover_alt %}{{post.cover_alt}}{% else %}{{post.title}}{% endif %}" loading="lazy">
|
9
|
+
</a>
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
<div class="post-card-content">
|
13
|
+
|
14
|
+
<a class="post-card-content-link" href="{{ site.baseurl }}{{ post.url | remove_first: '/' }}">
|
15
|
+
|
16
|
+
<header class="post-card-header">
|
17
|
+
<div class="post-card-tags">
|
18
|
+
{% if post.tags.size > 0 %}
|
19
|
+
<span class="post-card-primary-tag">{{ post.tags | first | capitalize }}</span>
|
20
|
+
{% endif %}
|
21
|
+
{% if post.featured %}
|
22
|
+
<span class="post-card-featured">{% include icons/fire.html %} Featured</span>
|
23
|
+
{% endif %}
|
24
|
+
</div>
|
25
|
+
<h2 class="post-card-title">
|
26
|
+
{{post.title}}
|
27
|
+
</h2>
|
28
|
+
</header>
|
29
|
+
{% if post.custom_excerpt %}
|
30
|
+
<div class="post-card-excerpt">{{post.custom_excerpt}}</div>
|
31
|
+
{% else %}
|
32
|
+
<div class="post-card-excerpt">{{ post.excerpt | strip_html }}</div>
|
33
|
+
{% endif %}
|
34
|
+
</a>
|
35
|
+
|
36
|
+
<footer class="post-card-meta">
|
37
|
+
<time class="post-card-meta-date" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date:'%e %B %Y' }}</time>
|
38
|
+
{% if post.reading_time %}
|
39
|
+
<span class="post-card-meta-length">{{post.reading_time}}</span>
|
40
|
+
{% endif %}
|
41
|
+
{% assign words = post.content | strip_html | number_of_words %}
|
42
|
+
{% if words <= words_per_minute %}
|
43
|
+
<span class="post-card-meta-length">1 min read</span>
|
44
|
+
{% else %}
|
45
|
+
<span class="post-card-meta-length">{{ words | divided_by:words_per_minute }} min read</span>
|
46
|
+
{% endif %}
|
47
|
+
</footer>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</article>
|
data/_layouts/author.html
CHANGED
@@ -3,63 +3,62 @@ layout: default
|
|
3
3
|
---
|
4
4
|
|
5
5
|
<main id="site-main" class="site-main outer">
|
6
|
-
|
7
|
-
|
8
|
-
<section class="post-card post-card-large">
|
9
|
-
{%if page.feature_image %}
|
10
|
-
<div class="post-card-image-link">
|
11
|
-
<img class="post-card-image"
|
12
|
-
src="{{ site.baseurl }}{{ page.feature_image }}" alt="{{ page.name }}"
|
13
|
-
/>
|
14
|
-
</div>
|
15
|
-
{% endif %}
|
6
|
+
<div class="post-feed inner">
|
16
7
|
|
17
|
-
|
18
|
-
|
8
|
+
<section class="post-card post-card-large">
|
9
|
+
{%if page.feature_image %}
|
10
|
+
<div class="post-card-image-link">
|
11
|
+
<img class="post-card-image" src="{{ site.baseurl }}{{ page.feature_image }}" alt="{{ page.name }}">
|
12
|
+
</div>
|
13
|
+
{% endif %}
|
19
14
|
|
20
|
-
|
21
|
-
|
22
|
-
{% endif %}
|
15
|
+
<div class="post-card-content">
|
16
|
+
<div class="post-card-content-link">
|
23
17
|
|
24
|
-
|
25
|
-
|
26
|
-
|
18
|
+
{%if page.picture %}
|
19
|
+
<img class="author-profile-pic" src="{{ site.baseurl }}{{ page.picture }}" alt="{{page.name}}"/>
|
20
|
+
{% endif %}
|
27
21
|
|
28
|
-
|
29
|
-
|
30
|
-
|
22
|
+
<header class="post-card-header">
|
23
|
+
<h2 class="post-card-title">{{page.name}}</h2>
|
24
|
+
</header>
|
31
25
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
{% endif %}
|
36
|
-
<div class="author-profile-meta">
|
37
|
-
{%if page.website %}
|
38
|
-
<a class="author-profile-social-link" href="{{page.website}}" target="_blank" rel="noopener">{{page.website}}</a>
|
39
|
-
{% endif %}
|
40
|
-
{%if page.twitter_url %}
|
41
|
-
<a class="author-profile-social-link" href="{{page.twitter_url}}" target="_blank" rel="noopener">{% include icons/twitter.html %}</a>
|
42
|
-
{% endif %}
|
43
|
-
{%if page.facebook_url %}
|
44
|
-
<a class="author-profile-social-link" href="{{page.facebook_url}}" target="_blank" rel="noopener">{% include icons/facebook.html %}</a>
|
45
|
-
{% endif %}
|
26
|
+
{%if page.bio %}
|
27
|
+
<div class="post-card-excerpt">{{page.bio}}</div>
|
28
|
+
{% endif %}
|
46
29
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
30
|
+
<footer class="author-profile-footer">
|
31
|
+
{%if page.location %}
|
32
|
+
<div class="author-profile-location">{{page.location}}</div>
|
33
|
+
{% endif %}
|
34
|
+
<div class="author-profile-meta">
|
35
|
+
{%if page.website %}
|
36
|
+
<a class="author-profile-social-link" href="{{page.website}}" target="_blank" rel="noopener">{{page.website}}</a>
|
37
|
+
{% endif %}
|
38
|
+
{%if page.twitter_url %}
|
39
|
+
<a class="author-profile-social-link" href="{{page.twitter_url}}" target="_blank" rel="noopener">{% include icons/twitter.html %}</a>
|
40
|
+
{% endif %}
|
41
|
+
{%if page.facebook_url %}
|
42
|
+
<a class="author-profile-social-link" href="{{page.facebook_url}}" target="_blank" rel="noopener">{% include icons/facebook.html %}</a>
|
43
|
+
{% endif %}
|
52
44
|
|
45
|
+
{% if page.location %}
|
46
|
+
<div class="author-location">{{ page.location }}
|
47
|
+
<span class="bull">•</span>
|
48
|
+
</div>
|
49
|
+
{% endif %}
|
53
50
|
</div>
|
54
|
-
|
51
|
+
</footer>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
</section>
|
55
57
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
{% include post-card.html post=post %}
|
61
|
-
{% endfor %}
|
58
|
+
{% assign filtered_posts = site.posts | where: 'author', page.username %}
|
59
|
+
{% for post in filtered_posts %}
|
60
|
+
{% include post-card.html post=post %}
|
61
|
+
{% endfor %}
|
62
62
|
|
63
|
-
|
64
|
-
|
65
|
-
|
63
|
+
</div>
|
64
|
+
</main>
|
data/_layouts/default.html
CHANGED
@@ -1,119 +1,122 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
|
-
<html lang="{{ site.
|
3
|
-
<head>
|
2
|
+
<html lang="{{ page.lang | default: site.lang }}" {% if site.color_scheme == "Dark" %} class="dark-mode"{% elsif site.color_scheme == "Auto" %} class="auto-color"{% endif %}>
|
4
3
|
|
5
|
-
|
6
|
-
<title>{% if title %}{{ title }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
4
|
+
{% include head.html %}
|
7
5
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
<
|
12
|
-
|
13
|
-
<link rel="stylesheet" type="text/css" href="{{ "/assets/built/global.css" | relative_url }}">
|
14
|
-
<link rel="stylesheet" type="text/css" href="{{ "/assets/built/screen.css" | relative_url }}">
|
15
|
-
|
16
|
-
{% include head.html %}
|
17
|
-
|
18
|
-
</head>
|
19
|
-
<body class="{% if paginator.page > 1 %}paged archive-template{% elsif page.class %}{{ page.class }}{% else %}home-template{% endif %}
|
20
|
-
{% if site.title_font == "Elegant serif" %} has-serif-title{% endif %}{% if site.body_font == "Modern sans-serif" %} has-sans-body{% endif %}
|
21
|
-
{% if site.cover or page.cover %} has-cover {% endif %}{% if page.current == "home" %}{% unless site.show_logo_in_navigation %} no-logo{% endunless %}{% endif %}">
|
22
|
-
<div class="viewport">
|
23
|
-
<header id="gh-head" class="gh-head outer">
|
6
|
+
<body class="{% if paginator.page > 1 %}paged archive-template{% elsif page.class %}{{ page.class }}{% else %}home-template{% endif %}
|
7
|
+
{% if site.title_font == 'Elegant serif' %} has-serif-title{% endif %}{% if site.body_font == 'Modern sans-serif' %} has-sans-body{% endif %}
|
8
|
+
{% if site.cover or page.cover %} has-cover {% endif %}{% if page.current == 'home' %}{% unless site.show_logo_in_navigation %} no-logo{% endunless %}{% endif %}">
|
9
|
+
<div class="viewport">
|
10
|
+
<header id="gh-head" class="gh-head outer">
|
24
11
|
<nav class="gh-head-inner inner">
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
</div>
|
38
|
-
</a>
|
12
|
+
<div class="gh-head-brand">
|
13
|
+
<a class="gh-head-logo{% unless site.logo %} no-image{% endunless %}" href="{{ site.url }}{{ site.baseurl }}">
|
14
|
+
{% if site.logo %}
|
15
|
+
<img src="{{ site.baseurl }}{{ site.logo }}" alt="{{ site.title }}">
|
16
|
+
{% else %}
|
17
|
+
{{ site.title }}
|
18
|
+
{% endif %}
|
19
|
+
</a>
|
20
|
+
<div class="gh-head-brand-wrapper">
|
21
|
+
<a class="gh-burger" role="button">
|
22
|
+
<div class="gh-burger-box">
|
23
|
+
<div class="gh-burger-inner"></div>
|
39
24
|
</div>
|
25
|
+
</a>
|
40
26
|
</div>
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
27
|
+
</div>
|
28
|
+
<div class="gh-head-menu">
|
29
|
+
<ul class="nav" role="menu">
|
30
|
+
<li class="nav-home" role="menuitem">
|
31
|
+
<a href="{{site.baseurl}}">Home</a>
|
32
|
+
</li>
|
33
|
+
<li class="nav-about" role="menuitem">
|
34
|
+
<a href="{{site.baseurl}}about/">About</a>
|
35
|
+
</li>
|
36
|
+
<li class="nav-try-ghost" role="menuitem">
|
37
|
+
<a href="{{site.baseurl}}impressum/">Impressum/Datenschutz</a>
|
38
|
+
</li>
|
39
|
+
</ul>
|
40
|
+
</div>
|
41
|
+
<div class="gh-head-actions">
|
42
|
+
<div class="gh-social">
|
43
|
+
{% if site.facebook %}
|
44
|
+
<a href="https://facebook.com/{{ site.facebook }}" target="_blank" rel="noopener" class="gh-social-link gh-social-facebook">Facebook</a>
|
45
|
+
{% endif %}
|
46
|
+
{% if site.twitter %}
|
47
|
+
<a href="https://twitter.com/{{ site.twitter }}" target="_blank" rel="noopener" class="gh-social-link gh-social-twitter">Twitter</a>
|
48
|
+
{% endif %}
|
49
|
+
{% if site.github %}
|
50
|
+
<a href="https://github.com/{{ site.github }}" target="_blank" rel="noopener" class="gh-social-link gh-social-github">{% include icons/github.html %}</a>
|
51
|
+
{% endif %}
|
52
|
+
{% if site.rss %}
|
53
|
+
<a href="{{ site.baseurl }}{% if site.feed.path %}{{site.feed.path}}{% else %}feed.xml{% endif %}" target="_blank" rel="noopener" class="gh-social-link gh-social-rss">{% include icons/rss.html %}</a>
|
54
|
+
{% endif %}
|
47
55
|
</div>
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
56
|
+
<!-- The big email subscribe modal content -->
|
57
|
+
{% if site.subscribers %}
|
58
|
+
<div id="subscribe" class="subscribe-overlay">
|
59
|
+
<a class="subscribe-overlay-close gh-head-button" href="#"></a>
|
60
|
+
<div class="subscribe-overlay-content">
|
61
|
+
{% if site.logo %}
|
62
|
+
<img class="subscribe-overlay-logo" src="{{ site.baseurl }}{{ site.logo }}" alt="{{ site.title }}">
|
63
|
+
{% endif %}
|
64
|
+
<h1 class="subscribe-overlay-title">Subscribe to {{ site.title }}</h1>
|
65
|
+
<p class="subscribe-overlay-description">Stay up to date! Get all the latest & greatest posts delivered straight to your inbox</p>
|
66
|
+
{% include subscribe-form.html placeholder="youremail@example.com" %}
|
54
67
|
</div>
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<a class="subscribe-overlay-close gh-head-button" href="#"></a>
|
59
|
-
<div class="subscribe-overlay-content">
|
60
|
-
{% if site.logo %}
|
61
|
-
<img class="subscribe-overlay-logo" src="{{ site.baseurl }}{{ site.logo }}" alt="{{ site.title }}" />
|
62
|
-
{% endif %}
|
63
|
-
<h1 class="subscribe-overlay-title">Subscribe to {{ site.title }}</h1>
|
64
|
-
<p class="subscribe-overlay-description">Stay up to date! Get all the latest & greatest posts delivered straight to your inbox</p>
|
65
|
-
{% include subscribe-form.html placeholder="youremail@example.com" %}
|
66
|
-
</div>
|
67
|
-
</div>
|
68
|
-
{% endif %}
|
69
|
-
</div>
|
68
|
+
</div>
|
69
|
+
{% endif %}
|
70
|
+
</div>
|
70
71
|
</nav>
|
71
|
-
|
72
|
+
</header>
|
72
73
|
|
73
74
|
|
74
|
-
|
75
|
-
|
76
|
-
|
75
|
+
<div class="site-content">
|
76
|
+
{{ content }}
|
77
|
+
<!-- Previous/next page links - displayed on every page -->
|
77
78
|
|
78
|
-
|
79
|
+
</div>
|
79
80
|
|
80
81
|
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
82
|
+
<footer class="site-footer outer">
|
83
|
+
<div class="inner">
|
84
|
+
<section class="copyright">
|
85
|
+
<a href="{{ site.url }}">{{ site.title }}</a>
|
86
|
+
© {{ site.time | date: '%Y' }}</section>
|
87
|
+
<nav class="site-footer-nav">
|
88
|
+
{% include footer-nav.html %}
|
89
|
+
</nav>
|
90
|
+
<div>Powered by
|
91
|
+
<a href="https://jekyllrb.com/" target="_blank" rel="noopener">Jekyll</a>
|
92
|
+
&
|
93
|
+
<a href="https://github.com/Agraphie/kaschber" target="_blank" rel="noopener">Kaschber</a>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
</footer>
|
91
97
|
</div>
|
92
|
-
</body>
|
93
98
|
|
94
99
|
|
95
100
|
|
96
|
-
<script
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
</script>
|
101
|
+
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
102
|
+
|
103
|
+
<script src="{{ "assets/built/kaschber.js" | relative_url }}"></script>
|
104
|
+
|
101
105
|
|
102
|
-
<script
|
106
|
+
<script>
|
107
|
+
$(document).ready(function() {
|
103
108
|
|
109
|
+
// Mobile Menu Trigger
|
110
|
+
$('.gh-burger').click(function() {
|
111
|
+
$('body').toggleClass('gh-head-open');
|
112
|
+
});
|
104
113
|
|
105
|
-
|
106
|
-
$(
|
107
|
-
|
108
|
-
|
109
|
-
$('body').toggleClass('gh-head-open');
|
110
|
-
});
|
111
|
-
// FitVids - Makes video embeds responsive
|
112
|
-
$(".gh-content").fitVids();
|
113
|
-
});
|
114
|
-
</script>
|
114
|
+
// FitVids - Makes video embeds responsive
|
115
|
+
$(".gh-content").fitVids();
|
116
|
+
});
|
117
|
+
</script>
|
115
118
|
|
116
|
-
{% include custom-js.html %}
|
119
|
+
{% include custom-js.html %}
|
117
120
|
|
118
|
-
</body>
|
119
|
-
</html>
|
121
|
+
</body>
|
122
|
+
</html>
|
data/_layouts/home.html
CHANGED
@@ -4,42 +4,38 @@ current: home
|
|
4
4
|
class: 'home-template'
|
5
5
|
---
|
6
6
|
|
7
|
-
<div class="site-header-content outer{% if site.header_style ==
|
7
|
+
<div class="site-header-content outer{% if site.header_style == 'Left aligned' %} left-aligned{% endif %}{% unless site.cover %}{% if site.header_style == 'Hidden' %} no-content{% endif %}{% endunless %}">
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
style="{% unless page.cover or site.cover %} no-cover {% endunless %}"
|
13
|
-
alt="{{ site.title }}"
|
14
|
-
/>
|
15
|
-
{% endif %}
|
9
|
+
{% if site.cover or page.cover %}
|
10
|
+
<img class="site-header-cover" src="{{ site.baseurl }}{% if page.cover %}{{ page.cover }}{% elsif site.cover %}{{ site.cover }}{% endif %}" style="{% unless page.cover or site.cover %} no-cover {% endunless %}" alt="{{ site.title }}">
|
11
|
+
{% endif %}
|
16
12
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
13
|
+
{% if site.header_style != "Hidden" %}
|
14
|
+
<div class="site-header-inner inner">
|
15
|
+
{% unless site.show_logo_in_navigation %}
|
16
|
+
{% if site.logo %}
|
17
|
+
<img class="site-logo" src="{{ site.logo }}" alt="{{ site.title }}">
|
18
|
+
{% else %}
|
19
|
+
<h1 class="site-title">{{ site.title }}</h1>
|
20
|
+
{% endif %}
|
21
|
+
{% endunless %}
|
22
|
+
{% if site.description %}
|
23
|
+
<p class="site-description">{{ site.description }}</p>
|
24
|
+
{% endif %}
|
25
|
+
</div>
|
26
|
+
{% endif %}
|
31
27
|
|
32
28
|
</div>
|
33
29
|
|
34
30
|
<main id="site-main" class="site-main outer">
|
35
|
-
<div class="inner posts">
|
31
|
+
<div class="inner posts">
|
36
32
|
|
37
|
-
<div class="post-feed">
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
33
|
+
<div class="post-feed">
|
34
|
+
{% assign posts = paginator.posts | default: site.posts %}
|
35
|
+
{% for post in posts %}
|
36
|
+
{% include post-card.html post=post%}
|
37
|
+
{% endfor %}
|
42
38
|
</div>
|
43
39
|
|
44
|
-
</div>
|
45
|
-
</main>
|
40
|
+
</div>
|
41
|
+
</main>
|