jekyll-yamt 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +23 -21
- data/README.md +11 -8
- data/_includes/categories.html +10 -13
- data/_includes/head.html +36 -36
- data/_includes/header.html +24 -24
- data/_includes/pages.html +2 -2
- data/_includes/related-posts.html +35 -35
- data/_layouts/archive.html +14 -14
- data/_layouts/contact.html +16 -16
- data/_layouts/home.html +47 -45
- data/_sass/contact.scss +0 -9
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daebf52bf91960f78ee136c43af72a0c6dcec48c0bdbdbcbe42c47d2cae0a484
|
4
|
+
data.tar.gz: a43139cb9a03ca64ec6bec39962438aff45d3b460987792ef8f9861475c44a3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aa53a5426197002c3c74de6b33a49ae06fc94ba3c7509811e7e188951820c6ddfd30e1269428afa4216cf4a9be13f67ee0348cbdc6f18c5ee986f2633a5842a
|
7
|
+
data.tar.gz: bd7e01be24246041252ad0f41fd02374ad1d8c53546e16975b2a92e136e771d83732ebdb9dca18d018952ffe134a2d0a6bbe869ded1834627f2f50c5059ea64e
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,23 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2020 PandaSekh
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 PandaSekh
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
Leave the name of the author of this theme in the footer.
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
15
|
+
all copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
23
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -51,6 +51,9 @@ Minimal:
|
|
51
51
|
|
52
52
|
There are four way to use YAMT: Netlify (suggested, as this theme has a contact module built-in working only on Netlify), Github Pages, as a gem-based theme, by forking this repo or by copying all the files into your directory.
|
53
53
|
|
54
|
+
### Download the files
|
55
|
+
You can [download the files](https://github.com/PandaSekh/Jekyll-YAMT/releases/latest) and add them in your directory to start working.
|
56
|
+
|
54
57
|
### Netlify
|
55
58
|
|
56
59
|
1. [Fork this repo](https://github.com/PandaSekh/Jekyll-YAMT/generate). You can copy only master, set it to private or public and name it however you want.
|
@@ -98,27 +101,27 @@ Github Pages uses the [--safe flag](https://jekyllrb.com/docs/configuration/opti
|
|
98
101
|
|
99
102
|
## Customize
|
100
103
|
|
101
|
-
YAMT is easily customizable. If you don't need a functionality, just deactivate it in _data/settings.yml
|
102
|
-
Most of the customizable things are self-explanatory and found in the _data folder and in the _config.yml
|
104
|
+
YAMT is easily customizable. If you don't need a functionality, just deactivate it in `_data/settings.yml`.
|
105
|
+
Most of the customizable things are self-explanatory and found in the `_data` folder and in the `_config.yml`.
|
103
106
|
|
104
107
|
### Basics
|
105
108
|
|
106
|
-
Under the _data folder there are three files: pages, settings and social.
|
109
|
+
Under the `_data` folder there are three files: pages, settings and social.
|
107
110
|
In pages you can add other pages that will show up in the nav-
|
108
111
|
In social you can add your socials that will show up in the nav. To add a social, find a suitable icon on [FontAwesome](https://fontawesome.com/) and add it's name in the name tag.
|
109
112
|
Brand defines Font Awesome's font type (fas is solid, fab is brand).
|
110
113
|
Out of the box this theme has support colors for a bunch of social. If your social isn't supported, just add the color in the header.css
|
111
114
|
|
112
|
-
In settings.yml you can activate or deactivate various functions of the theme, like analytics, disqus comments, related posts and so on.
|
115
|
+
In `settings.yml` you can activate or deactivate various functions of the theme, like analytics, disqus comments, related posts and so on.
|
113
116
|
|
114
117
|
### Header
|
115
|
-
In _data/settings.yml you can choose to hide or show the subtitle, the page navigation or the social icons.
|
118
|
+
In `_data/settings.yml` you can choose to hide or show the subtitle, the page navigation or the social icons.
|
116
119
|
|
117
120
|
### Home
|
118
|
-
In _data/settings.yml you can choose to hide or show the posts infos (date and read-time) and the featured image.
|
121
|
+
In `_data/settings.yml` you can choose to hide or show the posts infos (date and read-time) and the featured image.
|
119
122
|
|
120
123
|
### Post
|
121
|
-
In _data/settings.yml you can choose to hide or show the post infos, categories, related posts and comments.
|
124
|
+
In `_data/settings.yml` you can choose to hide or show the post infos, categories, related posts and comments.
|
122
125
|
Note that by removing categories the Categories Archives will no longer be reachable.
|
123
126
|
|
124
127
|
### Contact Form
|
@@ -142,4 +145,4 @@ Also great help from [this blog](https://blog.webjeda.com/), I've used this even
|
|
142
145
|
Images from [Unsplash](https://unsplash.com/).
|
143
146
|
|
144
147
|
## License
|
145
|
-
The theme is available as open source under the terms of the [MIT License](https://
|
148
|
+
The theme is available as open source under the terms of the [MIT License](https://github.com/PandaSekh/Jekyll-YAMT/blob/master/LICENSE.txt).
|
data/_includes/categories.html
CHANGED
@@ -1,13 +1,10 @@
|
|
1
|
-
<div class="categories">
|
2
|
-
<span><p>Categories:</p>
|
3
|
-
{%
|
4
|
-
|
5
|
-
|
6
|
-
{
|
7
|
-
|
8
|
-
{%
|
9
|
-
|
10
|
-
|
11
|
-
{% endfor %}
|
12
|
-
</span>
|
13
|
-
</div>
|
1
|
+
<div class="categories">
|
2
|
+
<span><p>Categories:</p>
|
3
|
+
{% assign categories = page.categories %}
|
4
|
+
{% for category in categories %}
|
5
|
+
<a href="{% capture url %}/categories/#{{ category | slugify }}{% endcapture %}
|
6
|
+
{{ url | relative_url }}">{{category}}</a>
|
7
|
+
{% unless forloop.last %} {% endunless %}
|
8
|
+
{% endfor %}
|
9
|
+
</span>
|
10
|
+
</div>
|
data/_includes/head.html
CHANGED
@@ -1,37 +1,37 @@
|
|
1
|
-
<html lang="en-US">
|
2
|
-
<meta charset="UTF-8">
|
3
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
4
|
-
|
5
|
-
<title>
|
6
|
-
{% if page.title == "Home" %}
|
7
|
-
{{ site.title }} | {{ site.description }}
|
8
|
-
{% else %}
|
9
|
-
{{ page.title }} | {{ site.title }}
|
10
|
-
{% endif %}
|
11
|
-
</title>
|
12
|
-
<meta name="description" content="
|
13
|
-
{% if page.description %}{{ page.description }}
|
14
|
-
{% else %}{{ site.description }}
|
15
|
-
{% endif %}">
|
16
|
-
|
17
|
-
<link rel="icon" href="
|
18
|
-
<link rel="shortcut icon" href="
|
19
|
-
|
20
|
-
<!-- CSS -->
|
21
|
-
<link rel="stylesheet" href="{{ "/assets/css/main.css" |
|
22
|
-
<link rel="stylesheet" href="{{ "/assets/css/syntax.css" |
|
23
|
-
|
24
|
-
<!-- Icons -->
|
25
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
|
26
|
-
|
27
|
-
<!-- Fonts -->
|
28
|
-
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=PT+Serif&display=swap" rel="stylesheet">
|
29
|
-
|
30
|
-
<!-- SEO Plugin -->
|
31
|
-
{% seo %}
|
32
|
-
|
33
|
-
<!-- Google Analytics -->
|
34
|
-
{% if site.data.settings.analytics-id%}
|
35
|
-
{%- include analytics.html -%}
|
36
|
-
{% endif %}
|
1
|
+
<html lang="en-US">
|
2
|
+
<meta charset="UTF-8">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
4
|
+
|
5
|
+
<title>
|
6
|
+
{% if page.title == "Home" %}
|
7
|
+
{{ site.title }} | {{ site.description }}
|
8
|
+
{% else %}
|
9
|
+
{{ page.title }} | {{ site.title }}
|
10
|
+
{% endif %}
|
11
|
+
</title>
|
12
|
+
<meta name="description" content="
|
13
|
+
{% if page.description %}{{ page.description }}
|
14
|
+
{% else %}{{ site.description }}
|
15
|
+
{% endif %}">
|
16
|
+
|
17
|
+
<link rel="icon" href="{{"assets/favicon.ico" | relative_url }}" type="image/x-icon">
|
18
|
+
<link rel="shortcut icon" href="{{"assets/favicon.ico" | relative_url }}" type="image/x-icon">
|
19
|
+
|
20
|
+
<!-- CSS -->
|
21
|
+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
22
|
+
<link rel="stylesheet" href="{{ "/assets/css/syntax.css" | relative_url }}">
|
23
|
+
|
24
|
+
<!-- Icons -->
|
25
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
|
26
|
+
|
27
|
+
<!-- Fonts -->
|
28
|
+
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=PT+Serif&display=swap" rel="stylesheet">
|
29
|
+
|
30
|
+
<!-- SEO Plugin -->
|
31
|
+
{% seo %}
|
32
|
+
|
33
|
+
<!-- Google Analytics -->
|
34
|
+
{% if site.data.settings.analytics-id%}
|
35
|
+
{%- include analytics.html -%}
|
36
|
+
{% endif %}
|
37
37
|
<!-- End Google Analytics -->
|
data/_includes/header.html
CHANGED
@@ -1,25 +1,25 @@
|
|
1
|
-
<header id="header">
|
2
|
-
<div id = site_title>
|
3
|
-
<a href="{{
|
4
|
-
<h1>{{site.title}}</h1>
|
5
|
-
</a>
|
6
|
-
{% if site.data.settings.subtitle.active %}
|
7
|
-
<h2>
|
8
|
-
{{ site.data.settings.subtitle.text }}
|
9
|
-
</h2>
|
10
|
-
{% endif %}
|
11
|
-
</div>
|
12
|
-
|
13
|
-
<div id="subheader">
|
14
|
-
{% if site.data.settings.nav.pages.active %}
|
15
|
-
<nav class="pages">
|
16
|
-
{%- include pages.html -%}
|
17
|
-
</nav>
|
18
|
-
{% endif %}
|
19
|
-
{% if site.data.settings.nav.social.active %}
|
20
|
-
<nav class="social">
|
21
|
-
{% include social.html %}
|
22
|
-
</nav>
|
23
|
-
{% endif %}
|
24
|
-
</div>
|
1
|
+
<header id="header">
|
2
|
+
<div id = site_title>
|
3
|
+
<a href="{{ "/" | absolute_url }}">
|
4
|
+
<h1>{{site.title}}</h1>
|
5
|
+
</a>
|
6
|
+
{% if site.data.settings.subtitle.active %}
|
7
|
+
<h2>
|
8
|
+
{{ site.data.settings.subtitle.text }}
|
9
|
+
</h2>
|
10
|
+
{% endif %}
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<div id="subheader">
|
14
|
+
{% if site.data.settings.nav.pages.active %}
|
15
|
+
<nav class="pages">
|
16
|
+
{%- include pages.html -%}
|
17
|
+
</nav>
|
18
|
+
{% endif %}
|
19
|
+
{% if site.data.settings.nav.social.active %}
|
20
|
+
<nav class="social">
|
21
|
+
{% include social.html %}
|
22
|
+
</nav>
|
23
|
+
{% endif %}
|
24
|
+
</div>
|
25
25
|
</header>
|
data/_includes/pages.html
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
{% for item in site.data.pages.pages %}
|
2
|
-
<a href="{{
|
1
|
+
{% for item in site.data.pages.pages %}
|
2
|
+
<a href="{{ item.url | relative_url}}">{{ item.name }}</a>
|
3
3
|
{% endfor %}
|
@@ -1,36 +1,36 @@
|
|
1
|
-
<div class="related">
|
2
|
-
|
3
|
-
<h4>{{site.data.settings.related-posts.title}}</h4>
|
4
|
-
|
5
|
-
{% assign maxRelated = 4 %}
|
6
|
-
{% assign minCommonTags = 1 %}
|
7
|
-
{% assign maxRelatedCounter = 0 %}
|
8
|
-
|
9
|
-
{% for post in site.posts %}
|
10
|
-
|
11
|
-
{% assign sameTagCount = 0 %}
|
12
|
-
{% assign commonTags = '' %}
|
13
|
-
|
14
|
-
{% for category in post.categories %}
|
15
|
-
{% if post.url != page.url %}
|
16
|
-
{% if page.categories contains category %}
|
17
|
-
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
18
|
-
{% capture tagmarkup %} <span class="label label-default">{{ category }}</span> {% endcapture %}
|
19
|
-
{% assign commonTags = commonTags | append: tagmarkup %}
|
20
|
-
{% endif %}
|
21
|
-
{% endif %}
|
22
|
-
{% endfor %}
|
23
|
-
|
24
|
-
{% if sameTagCount >= minCommonTags %}
|
25
|
-
<div class = "related-posts">
|
26
|
-
<h5><a href="{{
|
27
|
-
</div>
|
28
|
-
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
29
|
-
{% if maxRelatedCounter >= maxRelated %}
|
30
|
-
{% break %}
|
31
|
-
{% endif %}
|
32
|
-
{% endif %}
|
33
|
-
|
34
|
-
{% endfor %}
|
35
|
-
|
1
|
+
<div class="related">
|
2
|
+
|
3
|
+
<h4>{{site.data.settings.related-posts.title}}</h4>
|
4
|
+
|
5
|
+
{% assign maxRelated = 4 %}
|
6
|
+
{% assign minCommonTags = 1 %}
|
7
|
+
{% assign maxRelatedCounter = 0 %}
|
8
|
+
|
9
|
+
{% for post in site.posts %}
|
10
|
+
|
11
|
+
{% assign sameTagCount = 0 %}
|
12
|
+
{% assign commonTags = '' %}
|
13
|
+
|
14
|
+
{% for category in post.categories %}
|
15
|
+
{% if post.url != page.url %}
|
16
|
+
{% if page.categories contains category %}
|
17
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
18
|
+
{% capture tagmarkup %} <span class="label label-default">{{ category }}</span> {% endcapture %}
|
19
|
+
{% assign commonTags = commonTags | append: tagmarkup %}
|
20
|
+
{% endif %}
|
21
|
+
{% endif %}
|
22
|
+
{% endfor %}
|
23
|
+
|
24
|
+
{% if sameTagCount >= minCommonTags %}
|
25
|
+
<div class = "related-posts">
|
26
|
+
<h5><a href="{{ post.url | relative_url}}">• {{ post.title }}</a></h5>
|
27
|
+
</div>
|
28
|
+
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
29
|
+
{% if maxRelatedCounter >= maxRelated %}
|
30
|
+
{% break %}
|
31
|
+
{% endif %}
|
32
|
+
{% endif %}
|
33
|
+
|
34
|
+
{% endfor %}
|
35
|
+
|
36
36
|
</div>
|
data/_layouts/archive.html
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Archive
|
4
|
-
---
|
5
|
-
|
6
|
-
{% assign postsByDate =
|
7
|
-
site.posts | group_by_exp:"post", "post.date | date: '%B %Y'" %}
|
8
|
-
{% for year in postsByDate %}
|
9
|
-
<h2 class = "archive-date" id = "date-{{post.date | date: "%B %Y"}}">{{ year.name }}</h1>
|
10
|
-
<ul>
|
11
|
-
{% for post in year.items %}
|
12
|
-
<li><a class = "archive-link" href="{{ post.url }}">{{ post.title }}</a></li>
|
13
|
-
{% endfor %}
|
14
|
-
</ul>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Archive
|
4
|
+
---
|
5
|
+
|
6
|
+
{% assign postsByDate =
|
7
|
+
site.posts | group_by_exp:"post", "post.date | date: '%B %Y'" %}
|
8
|
+
{% for year in postsByDate %}
|
9
|
+
<h2 class = "archive-date" id = "date-{{post.date | date: "%B %Y"}}">{{ year.name }}</h1>
|
10
|
+
<ul>
|
11
|
+
{% for post in year.items %}
|
12
|
+
<li><a class = "archive-link" href="{{ post.url | relative_url}}">{{ post.title }}</a></li>
|
13
|
+
{% endfor %}
|
14
|
+
</ul>
|
15
15
|
{% endfor %}
|
data/_layouts/contact.html
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Contact
|
4
|
-
---
|
5
|
-
|
6
|
-
<h2>Contact Form</h2>
|
7
|
-
<div class = "form">
|
8
|
-
<form name = "contact-form" action="/contact-successful.html" method = "POST" data-netlify="true">
|
9
|
-
<input class = "form-input" type="text" name="name" id="name" placeholder="Name" required><br>
|
10
|
-
|
11
|
-
<input class = "form-input"type="mail" name="mail" id="mail" placeholder="Email" required><br>
|
12
|
-
|
13
|
-
<textarea class = "form-input" name="message" id="message" cols="30" rows="10" placeholder="Message" required></textarea><br>
|
14
|
-
|
15
|
-
<input class = "form-button" type="submit" value="Submit"><br>
|
16
|
-
</form>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Contact
|
4
|
+
---
|
5
|
+
|
6
|
+
<h2>Contact Form</h2>
|
7
|
+
<div class = "form">
|
8
|
+
<form name = "contact-form" action="{{"/contact-successful.html" | relative_url}}" method = "POST" data-netlify="true">
|
9
|
+
<input class = "form-input" type="text" name="name" id="name" placeholder="Name" required><br>
|
10
|
+
|
11
|
+
<input class = "form-input"type="mail" name="mail" id="mail" placeholder="Email" required><br>
|
12
|
+
|
13
|
+
<textarea class = "form-input" name="message" id="message" cols="30" rows="10" placeholder="Message" required></textarea><br>
|
14
|
+
|
15
|
+
<input class = "form-button" type="submit" value="Submit"><br>
|
16
|
+
</form>
|
17
17
|
</div>
|
data/_layouts/home.html
CHANGED
@@ -1,45 +1,47 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Home
|
4
|
-
---
|
5
|
-
{% for post in paginator.posts %}
|
6
|
-
|
7
|
-
<div class="post">
|
8
|
-
<h2 id = "post-title"><a href="{
|
9
|
-
|
10
|
-
{% if site.data.settings.date-under-post.active %}
|
11
|
-
<div class = "post-info">
|
12
|
-
<span>
|
13
|
-
<i class="far fa-calendar" aria-hidden="true"></i>
|
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
|
-
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Home
|
4
|
+
---
|
5
|
+
{% for post in paginator.posts %}
|
6
|
+
|
7
|
+
<div class="post">
|
8
|
+
<h2 id = "post-title"><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
|
9
|
+
|
10
|
+
{% if site.data.settings.date-under-post.active %}
|
11
|
+
<div class = "post-info">
|
12
|
+
<span>
|
13
|
+
<i class="far fa-calendar" aria-hidden="true"></i>
|
14
|
+
<time datetime="{{ post.date | date_to_xmlschema }}" class="by-line">{{ post.date | date_to_string }}</time> - <i class="far fa-clock"></i>
|
15
|
+
{% include reading_time.html %}
|
16
|
+
</span>
|
17
|
+
</div>
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
{% if post.image and site.data.settings.featured-img.active%}
|
21
|
+
<div class = "featured-img-container">
|
22
|
+
<a href="{{ post.url | relative_url }}"><img src="{{ post.image | relative_url }}"/></a>
|
23
|
+
</div>
|
24
|
+
{% endif %}
|
25
|
+
|
26
|
+
<p>
|
27
|
+
{% if post.customexcerpt %}
|
28
|
+
{{post.customexcerpt | strip_html | truncatewords:50}}
|
29
|
+
{% else %}
|
30
|
+
{{ post.content | strip_html | truncatewords:50 }}
|
31
|
+
{% endif %}
|
32
|
+
<span class = "continue-reading"><a href="{{ post.url | relative_url }}">Continue reading...</a></span>
|
33
|
+
</p>
|
34
|
+
</div>
|
35
|
+
{% endfor %}
|
36
|
+
|
37
|
+
<!-- Pagination links -->
|
38
|
+
<div class = "paginator">
|
39
|
+
{% if paginator.total_pages > 1 %}
|
40
|
+
{% if paginator.next_page %}
|
41
|
+
<a class = "older paginate-button" href="{{ paginator.next_page_path | relative_url }}">Older Posts</a>
|
42
|
+
{% endif %}
|
43
|
+
{% if paginator.previous_page %}
|
44
|
+
<a class = "newer paginate-button" href="{{ paginator.previous_page_path | relative_url }}">Newer Posts</a>
|
45
|
+
{% endif %}
|
46
|
+
{% endif %}
|
47
|
+
</div>
|
data/_sass/contact.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-yamt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PandaSekh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -182,5 +182,5 @@ requirements: []
|
|
182
182
|
rubygems_version: 3.0.3
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
|
-
summary: Yet Another Minimal Theme
|
185
|
+
summary: Yet Another Minimal Theme for Jekyll
|
186
186
|
test_files: []
|