jekyll-theme-iamlynnmckay 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{LICENSE.txt → LICENSE} +5 -5
- data/README.md +1 -8
- data/_config.yml +74 -78
- data/_includes/404-template.html +18 -0
- data/_includes/about-template.html +1 -0
- data/_includes/bib-template.html +1 -0
- data/_includes/blog-template.html +11 -0
- data/_includes/contact-template.html +3 -0
- data/_includes/css.html +2 -0
- data/_includes/default-template.html +17 -0
- data/_includes/disqus-comments.html +0 -2
- data/_includes/footer.html +27 -112
- data/_includes/google-analytics.html +10 -12
- data/_includes/head.html +9 -6
- data/_includes/header.html +25 -24
- data/_includes/home-template.html +23 -0
- data/_includes/js.html +1 -0
- data/_includes/list-of-homepage-links.html +8 -0
- data/_includes/page-template.html +8 -0
- data/_includes/post-categories.html +5 -0
- data/_includes/post-date.html +5 -0
- data/_includes/post-item-proxy.html +1 -0
- data/_includes/post-item.html +6 -0
- data/_includes/post-meta.html +12 -0
- data/_includes/post-tags.html +6 -0
- data/_includes/post-template.html +16 -0
- data/_includes/posts-by-category.html +1 -0
- data/_includes/posts-by-date-top-three.html +2 -0
- data/_includes/posts-by-date.html +1 -0
- data/_includes/posts-by-tag.html +1 -0
- data/_includes/posts-list-nested.html +14 -0
- data/_includes/posts-list.html +8 -0
- data/_includes/social.html +73 -0
- data/_layouts/404.html +5 -0
- data/_layouts/bib.html +1 -1
- data/_layouts/default.html +1 -15
- data/_layouts/home.html +1 -57
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +1 -43
- data/_sass/_minima-custom.scss +699 -0
- data/_sass/iamlynnmckay.scss +282 -0
- data/assets/css/main.scss +4 -0
- data/assets/js/bouncing-ball-in-canvas-element.js +41 -0
- data/assets/js/main.js +13 -0
- data/assets/js/random-color-for-font-awesome-icons.js +5 -0
- metadata +52 -51
- data/_includes/scripts.html +0 -73
- data/_includes/tailwind.config.js +0 -12
- data/_layouts/about.html +0 -7
- data/_layouts/posts.html +0 -36
- data/_sass/syntax-highlighting.scss +0 -71
- data/assets/_files/.gitignore +0 -14
- data/assets/_files/_bibliography/references.bib +0 -13
- data/assets/_files/_config.yml +0 -78
- data/assets/_files/_includes/tailwind.config.js +0 -12
- data/assets/_files/about.html +0 -6
- data/assets/_files/index.html +0 -3
- data/assets/_files/package.json +0 -10
- data/assets/_files/postcss.config.js +0 -21
- data/assets/_files/posts.html +0 -4
- data/assets/_scripts/build.sh +0 -34
- data/assets/_scripts/run.sh +0 -7
- data/assets/images/logo.svg +0 -1
- data/assets/main.scss +0 -204
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32a588ef73fc73a2b1d7ce9b34dee7e64edf155b979aa4f7efe22df201856881
|
4
|
+
data.tar.gz: cc2e1e18c434de2212a79de693642e57e6ee27a8282acd67020369f61a562aca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 377e99e9fbc804d549823049f21c05ac0948a64518493340d81e73a481d00338a3ac1f9ef77d4748ff4f9acfb5fdaabcce531b240e4afb1d1719e9a42b5222da
|
7
|
+
data.tar.gz: 9438fd0a07a920ba612782b6fe6ae36edeedbf609caa1c8f85fec731b7b1f7dc3897868e23b1b8e1c787af43b512f8a00ead89b132f1af1ecf77fe8b3b4e979d
|
data/{LICENSE.txt → LICENSE}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
3
|
Copyright (c) 2021 Lynn McKay
|
4
4
|
|
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
9
|
copies of the Software, and to permit persons to whom the Software is
|
10
10
|
furnished to do so, subject to the following conditions:
|
11
11
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
14
|
|
15
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -1,8 +1 @@
|
|
1
|
-
# jekyll-theme-iamlynnmckay
|
2
|
-
|
3
|
-
Jekyll theme for [iamlynnmckay.com](http://iamlynnmckay.com).
|
4
|
-
|
5
|
-
## Notes
|
6
|
-
|
7
|
-
- To show a demo of the theme, do `make pre-commit`.
|
8
|
-
- To publish a new verion, update `jekyll-theme-iamlynnmckay.gemspec` and do `make pre-commit` followed by `make post-commit`.
|
1
|
+
# jekyll-theme-iamlynnmckay
|
data/_config.yml
CHANGED
@@ -1,78 +1,74 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
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
|
-
|
53
|
-
|
54
|
-
|
55
|
-
-
|
56
|
-
- jekyll-
|
57
|
-
-
|
58
|
-
|
59
|
-
|
60
|
-
-
|
61
|
-
- .
|
62
|
-
-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
-
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
- vendor/cache/
|
76
|
-
- vendor/gems/
|
77
|
-
- vendor/ruby/
|
78
|
-
- yarn.lock
|
1
|
+
|
2
|
+
# jekyll-theme-iamlynnmckay
|
3
|
+
show_coming_soon: false
|
4
|
+
show_email: false
|
5
|
+
show_excerpts: true
|
6
|
+
show_tags: true
|
7
|
+
show_header: true
|
8
|
+
show_footer: true
|
9
|
+
show_categories: true
|
10
|
+
show_homepage_links: true
|
11
|
+
homepage_links:
|
12
|
+
- 'about'
|
13
|
+
- 'contact'
|
14
|
+
- 'blog'
|
15
|
+
show_links_in_header: false
|
16
|
+
show_posts: true
|
17
|
+
|
18
|
+
theme: jekyll-theme-iamlynnmckay
|
19
|
+
|
20
|
+
# minima
|
21
|
+
email: iamlynnmckay@gmail.com
|
22
|
+
baseurl: ""
|
23
|
+
twitter_username: iamlynnmckay
|
24
|
+
github_username: iamlynnmckay
|
25
|
+
|
26
|
+
# jekyll-seo-tag
|
27
|
+
author: "Lynn McKay"
|
28
|
+
url: "https://iamlynnmckay.com"
|
29
|
+
title: "@iamlynnmckay"
|
30
|
+
description: "Lynn's things and stuff."
|
31
|
+
twitter:
|
32
|
+
username: "iamlynnmckay"
|
33
|
+
card: "site.twitter.card"
|
34
|
+
logo: "assets/images/logo.svg"
|
35
|
+
|
36
|
+
# jekyll-scholar
|
37
|
+
scholar:
|
38
|
+
style: apa
|
39
|
+
|
40
|
+
# plugins
|
41
|
+
plugins:
|
42
|
+
- jekyll-feed
|
43
|
+
- jekyll-seo-tag
|
44
|
+
- jekyll-sitemap
|
45
|
+
# - jekyll-scholar
|
46
|
+
# - jekyll-postcss
|
47
|
+
|
48
|
+
include:
|
49
|
+
- '_pages'
|
50
|
+
- 'assets/pages'
|
51
|
+
- 'assets/posts'
|
52
|
+
|
53
|
+
# exclude
|
54
|
+
exclude:
|
55
|
+
- .gitignore
|
56
|
+
- .jekyll-cache/
|
57
|
+
- .sass-cache/
|
58
|
+
- Gemfile
|
59
|
+
- Gemfile.lock
|
60
|
+
- Makefile
|
61
|
+
- README.md
|
62
|
+
- _test/
|
63
|
+
- assets/posts
|
64
|
+
- gemfiles/
|
65
|
+
- netlify.toml
|
66
|
+
- node_modules/
|
67
|
+
- package-lock.json
|
68
|
+
- vendor/bundle/
|
69
|
+
- vendor/cache/
|
70
|
+
- vendor/gems/
|
71
|
+
- vendor/ruby/
|
72
|
+
- yarn.lock
|
73
|
+
# - postcss.config.js
|
74
|
+
# - purgecss.config.js
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<style type="text/css" media="screen">
|
2
|
+
.container {
|
3
|
+
margin: 10px auto;
|
4
|
+
max-width: 600px;
|
5
|
+
text-align: center;
|
6
|
+
}
|
7
|
+
main > div > h1 {
|
8
|
+
margin: 30px 0;
|
9
|
+
font-size: 4em;
|
10
|
+
line-height: 1;
|
11
|
+
letter-spacing: -1px;
|
12
|
+
}
|
13
|
+
</style>
|
14
|
+
<div class="x-text-align-center">
|
15
|
+
<h1 class="x-font-size-4x-base">404</h1>
|
16
|
+
<p><strong>Page not found :(</strong></p>
|
17
|
+
<p>The requested page could not be found.</p>
|
18
|
+
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
{{ site.data.user.about }}
|
@@ -0,0 +1 @@
|
|
1
|
+
<li>{{ reference }}</li>
|
data/_includes/css.html
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
{%- include head.html -%}
|
4
|
+
<body>
|
5
|
+
{% if site.show_header -%}
|
6
|
+
{%- include header.html -%}
|
7
|
+
{%- endif -%}
|
8
|
+
<main aria-label="Content">
|
9
|
+
<div>
|
10
|
+
{{ content }}
|
11
|
+
</div>
|
12
|
+
</main>
|
13
|
+
{% if site.show_footer -%}
|
14
|
+
{%- include footer.html -%}
|
15
|
+
{%- endif -%}
|
16
|
+
</body>
|
17
|
+
</html>
|
data/_includes/footer.html
CHANGED
@@ -1,115 +1,30 @@
|
|
1
|
-
<footer>
|
2
|
-
<
|
3
|
-
|
4
|
-
|
1
|
+
<footer class="site-footer h-card">
|
2
|
+
<data class="u-url" href="{{ " /" | relative_url }}"></data>
|
3
|
+
<div>
|
4
|
+
<h2 class="footer-heading">{{ site.title | escape }}</h2>
|
5
|
+
<div class="footer-col-wrapper">
|
6
|
+
<div class="footer-col footer-col-1">
|
7
|
+
<ul class="x-contact-list">
|
8
|
+
<li class="rss-subscribe">
|
9
|
+
<i class="fas fa-rss"></i>
|
10
|
+
Subscribe <a href="{{ " /feed.xml" | relative_url }}">via RSS</a>
|
11
|
+
</li>
|
12
|
+
<li>
|
13
|
+
<i class="fab fa-twitter"></i>
|
14
|
+
Find me on
|
15
|
+
<a href="https://twitter.com/{{ site.twitter.username }}"></i>Twitter</a>
|
16
|
+
</li>
|
17
|
+
</ul>
|
18
|
+
</div>
|
19
|
+
<div class="footer-col footer-col-2">
|
20
|
+
<br/>
|
21
|
+
</div>
|
22
|
+
<div class="footer-col footer-col-3">
|
23
|
+
<ul>
|
24
|
+
<li>{%- include social.html -%}</li>
|
25
|
+
<li><a class="x-sitemap-link" href="/sitemap.xml">sitemap.xml</a></li>
|
26
|
+
</ul>
|
27
|
+
</div>
|
5
28
|
</div>
|
6
|
-
<div class="text-sm m-2">
|
7
|
-
{{- site.description | escape -}}
|
8
|
-
</div>
|
9
|
-
</div>
|
10
|
-
<div class="flex flex-wrap justify-center m-2">
|
11
|
-
<div class="m-2">
|
12
|
-
<a href="{{ " /feed.xml" | relative_url }}">
|
13
|
-
<i class="fas fa-rss"></i>
|
14
|
-
</a>
|
15
|
-
</div>
|
16
|
-
{% if site.bandcamp.username %}
|
17
|
-
<div class="m-2">
|
18
|
-
<a href="https://bandcamp.com/{{ site.bandcamp.username }}">
|
19
|
-
<i class="fab fa-bandcamp"></i>
|
20
|
-
</a>
|
21
|
-
</div>
|
22
|
-
{% endif %}
|
23
|
-
{% if site.facebook.username %}
|
24
|
-
<div class="m-2">
|
25
|
-
<a href="https://facebook.com/{{ site.facebook.username }}">
|
26
|
-
<i class="fab fa-facebook"></i>
|
27
|
-
</a>
|
28
|
-
</div>
|
29
|
-
{% endif %}
|
30
|
-
{% if site.github.username %}
|
31
|
-
<div class="m-2">
|
32
|
-
<a href="https://github.com/{{ site.github.username }}">
|
33
|
-
<i class="fab fa-github"></i>
|
34
|
-
</a>
|
35
|
-
</div>
|
36
|
-
{% endif %}
|
37
|
-
{% if site.instagram.username %}
|
38
|
-
<div class="m-2">
|
39
|
-
<a href="https://instagram.com/{{ site.instagram.username }}">
|
40
|
-
<i class="fab fa-instagram"></i>
|
41
|
-
</a>
|
42
|
-
</div>
|
43
|
-
{% endif %}
|
44
|
-
{% if site.patreon.username %}
|
45
|
-
<div class="m-2">
|
46
|
-
<a href="https://patreon.com/{{ site.patreon.username }}">
|
47
|
-
<i class="fab fa-patreon"></i>
|
48
|
-
</a>
|
49
|
-
</div>
|
50
|
-
{% endif %}
|
51
|
-
{% if site.pinterest.username %}
|
52
|
-
<div class="m-2">
|
53
|
-
<a href="https://pinterest.com/{{ site.pinterest.username }}">
|
54
|
-
<i class="fab fa-pinterest"></i>
|
55
|
-
</a>
|
56
|
-
</div>
|
57
|
-
{% endif %}
|
58
|
-
{% if site.reddit.username %}
|
59
|
-
<div class="m-2">
|
60
|
-
<a href="https://reddit.com/{{ site.reddit.username }}">
|
61
|
-
<i class="fab fa-reddit"></i>
|
62
|
-
</a>
|
63
|
-
</div>
|
64
|
-
{% endif %}
|
65
|
-
{% if site.soundcloud.username %}
|
66
|
-
<div class="m-2">
|
67
|
-
<a href="https://soundcloud.com/{{ site.soundcloud.username }}">
|
68
|
-
<i class="fab fa-soundcloud"></i>
|
69
|
-
</a>
|
70
|
-
</div>
|
71
|
-
{% endif %}
|
72
|
-
{% if site.stack-overflow.username %}
|
73
|
-
<div class="m-2">
|
74
|
-
<a href="https://stack-overflow.com/{{ site.stack-overflow.username }}">
|
75
|
-
<i class="fab fa-stack-overflow"></i>
|
76
|
-
</a>
|
77
|
-
</div>
|
78
|
-
{% endif %}
|
79
|
-
{% if site.twitch.username %}
|
80
|
-
<div class="m-2">
|
81
|
-
<a href="https://twitch.com/{{ site.twitch.username }}">
|
82
|
-
<i class="fab fa-twitch"></i>
|
83
|
-
</a>
|
84
|
-
</div>
|
85
|
-
{% endif %}
|
86
|
-
{% if site.twitter.username %}
|
87
|
-
<div class="m-2">
|
88
|
-
<a href="https://twitter.com/{{ site.twitter.username }}">
|
89
|
-
<i class="fab fa-twitter"></i>
|
90
|
-
</a>
|
91
|
-
</div>
|
92
|
-
{% endif %}
|
93
|
-
{% if site.venmo.username %}
|
94
|
-
<div class="m-2">
|
95
|
-
<a href="https://venmo.com/u/{{ site.venmo.username }}">
|
96
|
-
<i class="fab fa-paypal"></i>
|
97
|
-
</a>
|
98
|
-
</div>
|
99
|
-
{% endif %}
|
100
|
-
{% if site.wikipedia.username %}
|
101
|
-
<div class="m-2">
|
102
|
-
<a href="https://wikipedia.com/{{ site.wikipedia.username }}">
|
103
|
-
<i class="fab fa-wikipedia-w"></i>
|
104
|
-
</a>
|
105
|
-
</div>
|
106
|
-
{% endif %}
|
107
|
-
{% if site.youtube.username %}
|
108
|
-
<div class="m-2">
|
109
|
-
<a href="https://youtube.com/{{ site.youtube.username }}">
|
110
|
-
<i class="fab fa-youtube"></i>
|
111
|
-
</a>
|
112
|
-
</div>
|
113
|
-
{% endif %}
|
114
29
|
</div>
|
115
30
|
</footer>
|
@@ -1,13 +1,11 @@
|
|
1
1
|
<script>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
}
|
13
|
-
</script>
|
2
|
+
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
7
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
8
|
+
ga('send', 'pageview');
|
9
|
+
}
|
10
|
+
</script>
|
11
|
+
|
data/_includes/head.html
CHANGED
@@ -3,12 +3,15 @@
|
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
5
|
{%- seo -%}
|
6
|
-
|
7
|
-
|
8
|
-
<link rel="stylesheet" href="{{ 'assets/main.css' | relative_url }}">
|
6
|
+
{%- include css.html -%}
|
7
|
+
{%- include js.html -%}
|
9
8
|
{%- feed_meta -%}
|
10
9
|
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
11
|
-
|
10
|
+
{%- include google-analytics.html -%}
|
12
11
|
{%- endif -%}
|
13
|
-
{%-
|
14
|
-
|
12
|
+
{%- if page.redirect -%}
|
13
|
+
<link rel="canonical" href="{{ page.redirect }}"/>
|
14
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
15
|
+
<meta http-equiv="refresh" content="0;url={{ page.redirect }}" />
|
16
|
+
{%- endif -%}
|
17
|
+
</head>
|
data/_includes/header.html
CHANGED
@@ -1,26 +1,27 @@
|
|
1
|
-
<header role="banner">
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
<header class="site-header" role="banner">
|
2
|
+
|
3
|
+
<div class="wrapper">
|
4
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
5
|
+
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
6
|
+
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
|
7
|
+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
8
|
+
|
9
|
+
{%- if site.homepage_links.size > 0 -%}
|
10
|
+
<nav class="site-nav">
|
11
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
12
|
+
<label for="nav-trigger">
|
13
|
+
<span class="menu-icon">
|
14
|
+
<i class="fas fa-bars"></i>
|
15
|
+
</span>
|
16
|
+
</label>
|
17
|
+
|
18
|
+
<div class="trigger">
|
19
|
+
{%- for link in site.homepage_links -%}
|
20
|
+
<a class="page-link" href="{{ link | relative_url }}">{{ link | escape }}</a>
|
21
|
+
{%- endfor -%}
|
9
22
|
</div>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
<div>
|
15
|
-
<span class="m-2">
|
16
|
-
<i class="fa fa-caret-right"></i>
|
17
|
-
<a href="/about">about</a>
|
18
|
-
</span>
|
19
|
-
<span class="m-2">
|
20
|
-
<i class="fa fa-caret-right"></i>
|
21
|
-
<a href="/posts">posts</a>
|
22
|
-
</span>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
</nav>
|
23
|
+
</nav>
|
24
|
+
{%- endif -%}
|
25
|
+
</div>
|
26
|
+
|
26
27
|
</header>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{%- if page.title -%}
|
2
|
+
<h1>{{ page.title }}</h1>
|
3
|
+
{%- endif -%}
|
4
|
+
<div class="x-home-template-image">
|
5
|
+
<div class="x-home-template-description">{{site.description}}</div>
|
6
|
+
</div>
|
7
|
+
{%- if site.show_coming_soon -%}
|
8
|
+
<h2 class="x-coming-soon">
|
9
|
+
more coming soon...
|
10
|
+
</h2>
|
11
|
+
{%- else -%}
|
12
|
+
<div class="x-home-template-pages">
|
13
|
+
{%- if site.show_homepage_links -%}
|
14
|
+
{%- include list-of-homepage-links.html -%}
|
15
|
+
{%- endif -%}
|
16
|
+
{{ content }}
|
17
|
+
</div>
|
18
|
+
<hr>
|
19
|
+
<div class="x-home-template-posts">
|
20
|
+
{%- include posts-by-date-top-three.html -%}
|
21
|
+
<a href="/blog">more...</a>
|
22
|
+
</div>
|
23
|
+
{%- endif -%}
|
data/_includes/js.html
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<script src="/assets/js/main.js"></script>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{%- if site.homepage_links.size > 0 -%}
|
2
|
+
{% assign ul_class = include.ul_class | default: "x-page-list" %}
|
3
|
+
<ul class="{{ ul_class }}">
|
4
|
+
{%- for link in site.homepage_links -%}
|
5
|
+
<li><a href="/{{ link }}">/{{ link }}</a></li>
|
6
|
+
{%- endfor -%}
|
7
|
+
</ul>
|
8
|
+
{%- endif -%}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<span class="post-meta">
|
2
|
+
{% capture _categories %}{% for category in include.categories %}{{ category }}{% endfor %}{% endcapture %}
|
3
|
+
{% capture _link %}./blog#category-{{ _categories }}{% endcapture %}
|
4
|
+
<a href="{{ _link | relative_url }}">/{{ _categories }}</a>
|
5
|
+
</span>
|
@@ -0,0 +1 @@
|
|
1
|
+
{% include post-item.html title=include.post.title url=include.post.url date=include.post.date categories=include.post.categories tags=include.post.tags excerpt=include.post.excerpt %}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<div class="x-post-meta">
|
2
|
+
{% include post-date.html date=include.date %}
|
3
|
+
<br />
|
4
|
+
{% include post-categories.html categories=include.categories %}
|
5
|
+
<br />
|
6
|
+
{% include post-tags.html tags=include.tags %}
|
7
|
+
{%- if include.excerpt != '' -%}
|
8
|
+
<p>
|
9
|
+
{{ include.excerpt }}
|
10
|
+
</p>
|
11
|
+
{%- endif -%}
|
12
|
+
</div>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
2
|
+
<header class="post-header">
|
3
|
+
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
4
|
+
{% include post-meta.html date=page.date categories=page.categories tags=page.tags excerpt=page.excerpt %}
|
5
|
+
</header>
|
6
|
+
<section class="post-content e-content" itemprop="articleBody">
|
7
|
+
{{ content }}
|
8
|
+
</div>
|
9
|
+
{%- if site.disqus.shortname -%}
|
10
|
+
{%- include disqus-comments.html -%}
|
11
|
+
{%- endif -%}
|
12
|
+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
13
|
+
<!--ul>
|
14
|
+
{--% bibliography --file references --cited %--}
|
15
|
+
</ul-->
|
16
|
+
</article>
|
@@ -0,0 +1 @@
|
|
1
|
+
{% include posts-list-nested.html nested_posts=site.categories ul_class="list-style-none" size="large" id_prefix="category" text_prefix="/" %}
|
@@ -0,0 +1 @@
|
|
1
|
+
{% include posts-list.html posts=site.posts ul_class="x-post-list x-posts-by-date" %}
|
@@ -0,0 +1 @@
|
|
1
|
+
{% include posts-list-nested.html nested_posts=site.tags id_prefix="tag" text_prefix="#" %}
|