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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/{LICENSE.txt → LICENSE} +5 -5
  3. data/README.md +1 -8
  4. data/_config.yml +74 -78
  5. data/_includes/404-template.html +18 -0
  6. data/_includes/about-template.html +1 -0
  7. data/_includes/bib-template.html +1 -0
  8. data/_includes/blog-template.html +11 -0
  9. data/_includes/contact-template.html +3 -0
  10. data/_includes/css.html +2 -0
  11. data/_includes/default-template.html +17 -0
  12. data/_includes/disqus-comments.html +0 -2
  13. data/_includes/footer.html +27 -112
  14. data/_includes/google-analytics.html +10 -12
  15. data/_includes/head.html +9 -6
  16. data/_includes/header.html +25 -24
  17. data/_includes/home-template.html +23 -0
  18. data/_includes/js.html +1 -0
  19. data/_includes/list-of-homepage-links.html +8 -0
  20. data/_includes/page-template.html +8 -0
  21. data/_includes/post-categories.html +5 -0
  22. data/_includes/post-date.html +5 -0
  23. data/_includes/post-item-proxy.html +1 -0
  24. data/_includes/post-item.html +6 -0
  25. data/_includes/post-meta.html +12 -0
  26. data/_includes/post-tags.html +6 -0
  27. data/_includes/post-template.html +16 -0
  28. data/_includes/posts-by-category.html +1 -0
  29. data/_includes/posts-by-date-top-three.html +2 -0
  30. data/_includes/posts-by-date.html +1 -0
  31. data/_includes/posts-by-tag.html +1 -0
  32. data/_includes/posts-list-nested.html +14 -0
  33. data/_includes/posts-list.html +8 -0
  34. data/_includes/social.html +73 -0
  35. data/_layouts/404.html +5 -0
  36. data/_layouts/bib.html +1 -1
  37. data/_layouts/default.html +1 -15
  38. data/_layouts/home.html +1 -57
  39. data/_layouts/page.html +5 -0
  40. data/_layouts/post.html +1 -43
  41. data/_sass/_minima-custom.scss +699 -0
  42. data/_sass/iamlynnmckay.scss +282 -0
  43. data/assets/css/main.scss +4 -0
  44. data/assets/js/bouncing-ball-in-canvas-element.js +41 -0
  45. data/assets/js/main.js +13 -0
  46. data/assets/js/random-color-for-font-awesome-icons.js +5 -0
  47. metadata +52 -51
  48. data/_includes/scripts.html +0 -73
  49. data/_includes/tailwind.config.js +0 -12
  50. data/_layouts/about.html +0 -7
  51. data/_layouts/posts.html +0 -36
  52. data/_sass/syntax-highlighting.scss +0 -71
  53. data/assets/_files/.gitignore +0 -14
  54. data/assets/_files/_bibliography/references.bib +0 -13
  55. data/assets/_files/_config.yml +0 -78
  56. data/assets/_files/_includes/tailwind.config.js +0 -12
  57. data/assets/_files/about.html +0 -6
  58. data/assets/_files/index.html +0 -3
  59. data/assets/_files/package.json +0 -10
  60. data/assets/_files/postcss.config.js +0 -21
  61. data/assets/_files/posts.html +0 -4
  62. data/assets/_scripts/build.sh +0 -34
  63. data/assets/_scripts/run.sh +0 -7
  64. data/assets/images/logo.svg +0 -1
  65. data/assets/main.scss +0 -204
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e328a17784683446f10caccd1a164a6748c41208204040ea8ceacf2b306f71b0
4
- data.tar.gz: eefd9fad027ecc95fdd73d9c0a1c90ec9e5514ea453dc395f2dde4c877dd543b
3
+ metadata.gz: 32a588ef73fc73a2b1d7ce9b34dee7e64edf155b979aa4f7efe22df201856881
4
+ data.tar.gz: cc2e1e18c434de2212a79de693642e57e6ee27a8282acd67020369f61a562aca
5
5
  SHA512:
6
- metadata.gz: 8a7dc97ea96666a49ca9458ca6ac84aafc6eb4198351bd36b9eb3d9dacde4c979869c48be62a91ae290ce847319d571b51cd3f69837b082b7ff612d2d3141151
7
- data.tar.gz: f8ac383965db270a1a1d4d9321ef2a994d5f67eb96f6e0178f192d96a5ea5d7606b2ceb20a50330b30835a965ffa06c6cc2a03d0ff305e1cea74f9e999410b6f
6
+ metadata.gz: 377e99e9fbc804d549823049f21c05ac0948a64518493340d81e73a481d00338a3ac1f9ef77d4748ff4f9acfb5fdaabcce531b240e4afb1d1719e9a42b5222da
7
+ data.tar.gz: 9438fd0a07a920ba612782b6fe6ae36edeedbf609caa1c8f85fec731b7b1f7dc3897868e23b1b8e1c787af43b512f8a00ead89b132f1af1ecf77fe8b3b4e979d
@@ -1,4 +1,4 @@
1
- The MIT License (MIT)
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
- all copies or substantial portions of the Software.
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
- THE SOFTWARE.
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
- # minima
2
-
3
- email: site.email@example.com
4
- baseurl: ""
5
-
6
- # jekyll-seo-tag
7
- author: "Site.Author"
8
- url: "https://site.url"
9
- title: "site.title"
10
- description: "This is the value of site.description."
11
- descriptions:
12
- posts: "posts..."
13
- about: "about..."
14
- twitter:
15
- username: "site.twitter.username"
16
- card: "site.twitter.card"
17
- logo: "assets/images/logo.svg"
18
-
19
- # jekyll-scholar
20
- scholar:
21
- style: apa
22
-
23
- # custom social links
24
- bandcamp:
25
- username: site.?.username
26
- github:
27
- username: site.?.username
28
- instagram:
29
- username: site.?.username
30
- patreon:
31
- username: site.?.username
32
- pinterest:
33
- username: site.?.username
34
- reddit:
35
- username: site.?.username
36
- soundcloud:
37
- username: site.?.username
38
- stack-overflow:
39
- username: site.?.username
40
- twitch:
41
- username: site.?.username
42
- venmo:
43
- username: site.?.username
44
- wikipedia:
45
- username: site.?.username
46
- youtube:
47
- username: site.?.username
48
-
49
- # Build settings
50
- theme: jekyll-theme-iamlynnmckay
51
-
52
- plugins:
53
- - jekyll-feed
54
- - jekyll-seo-tag
55
- - jekyll-sitemap
56
- - jekyll-postcss
57
- - jekyll-scholar
58
-
59
- exclude:
60
- - .gitignore
61
- - .jekyll-cache/
62
- - .sass-cache/
63
- - .todo
64
- - Gemfile
65
- - Gemfile.lock
66
- - README.md
67
- - bin
68
- - gemfiles/
69
- - netlify.toml
70
- - node_modules/
71
- - package-lock.json
72
- - postcss.config.js
73
- - purgecss.config.js
74
- - vendor/bundle/
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>
@@ -0,0 +1,11 @@
1
+ <h3>posts by date</h3>
2
+
3
+ {% include posts-by-date.html %}
4
+
5
+ <h3>posts by category</h3>
6
+
7
+ {% include posts-by-category.html %}
8
+
9
+ <h3>posts by tag</h3>
10
+
11
+ {% include posts-by-tag.html %}
@@ -0,0 +1,3 @@
1
+ <div class="contact-template">
2
+ <iframe src="https://docs.google.com/forms/d/e/1FAIpQLScFRq89o_AfXLRbFQyrm_2sMEu5CWKXkMIkp3pMB5uWWzp85g/viewform?embedded=true" width="640" height="542" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>
3
+ </div>
@@ -0,0 +1,2 @@
1
+ <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
2
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.3/css/all.min.css">
@@ -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>
@@ -7,9 +7,7 @@
7
7
  };
8
8
  (function () {
9
9
  var d = document, s = d.createElement('script');
10
-
11
10
  s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
12
-
13
11
  s.setAttribute('data-timestamp', +new Date());
14
12
  (d.head || d.body).appendChild(s);
15
13
  })();
@@ -1,115 +1,30 @@
1
- <footer>
2
- <div class="text-center">
3
- <div class="text-lg">
4
- {{ site.title | escape }}
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
- if (!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
3
- (function (i, s, o, g, r, a, m) {
4
- i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
5
- (i[r].q = i[r].q || []).push(arguments)
6
- }, i[r].l = 1 * new Date(); a = s.createElement(o),
7
- m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
8
- })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
9
-
10
- ga('create', '{{ site.google_analytics }}', 'auto');
11
- ga('send', 'pageview');
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
- <!-- TODO: build this with the page source -->
7
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.3/css/all.min.css">
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
- {%- include google-analytics.html -%}
10
+ {%- include google-analytics.html -%}
12
11
  {%- endif -%}
13
- {%- include scripts.html -%}
14
- </head>
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>
@@ -1,26 +1,27 @@
1
- <header role="banner">
2
- <nav>
3
- <div class="flex place-items-center">
4
- <div class="flex flex-auto place-items-center m-2">
5
- <div class="mr-2">
6
- <a href="/">
7
- <img width="54" height="54" viewBox="0 0 54 54" src="/{{ site.logo }}" />
8
- </a>
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
- <div>
11
- <a href="/" class="hover:underline">{{ site.title | escape }}</a>
12
- </div>
13
- </div>
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,8 @@
1
+ <article>
2
+ <header>
3
+ <h1>{{ page.title | escape }}</h1>
4
+ </header>
5
+ <div>
6
+ {{ content }}
7
+ </div>
8
+ </article>
@@ -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,5 @@
1
+ <span>
2
+ <time class="dt-published" datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">
3
+ {{ include.date | date: "%b %-d, %Y" }}
4
+ </time>
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,6 @@
1
+ <li>
2
+ <a class="x-post-link" href="{{ include.url | relative_url }}">
3
+ <span>{{ include.title | escape }}</span>
4
+ </a>
5
+ {% include post-meta.html date=include.date categories=include.categories tags=include.tags excerpt=include.excerpt %}
6
+ </li>
@@ -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,6 @@
1
+ <span>
2
+ {% for tag in include.tags %}
3
+ {% capture _link %}./blog#tag-{{ tag }}{% endcapture %}
4
+ <a href="{{ _link | relative_url }}">#{{ tag }}</a>
5
+ {% endfor %}
6
+ </span>
@@ -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,2 @@
1
+ {% assign _posts = site.posts | slice: 0, 3 %}
2
+ {% include posts-list.html posts=_posts ul_class="x-post-list margin-left-0" size="large" %}
@@ -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="#" %}