garth-jekyll-theme 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/favicons.html +18 -0
- data/_includes/footer.html +9 -0
- data/_includes/header.html +15 -0
- data/_includes/pagination.html +17 -0
- data/_includes/posts.html +22 -0
- data/_layouts/default.html +19 -6
- data/_layouts/front.html +21 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +22 -0
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6c0258f1b17705a4347c0b5716b697cec667e40
|
4
|
+
data.tar.gz: 3634c6b85a31e342f902fd04d3a8a8e6b8c66eba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be8d3200df5bdb8ad0b1c70814d0bf0d07c940aca1e92970b65dae91485be946ee8a8393ddbc7a6490a02e89e333dee95469ab11f0e1a239e52020466e9cd951
|
7
|
+
data.tar.gz: 947fcf04f53622b0deb46eb4262fd61bbed70509b39465930ea54c6f453fca1b492aa9851e376d394a58f077745366553f201c654555b7917a522b4995f3a9b5
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<link rel="apple-touch-icon" sizes="57x57" href="{{ site.logo | replace: "300", "57" }}">
|
2
|
+
<link rel="apple-touch-icon" sizes="60x60" href="{{ site.logo | replace: "300", "60" }}">
|
3
|
+
<link rel="apple-touch-icon" sizes="72x72" href="{{ site.logo | replace: "300", "72" }}">
|
4
|
+
<link rel="apple-touch-icon" sizes="76x76" href="{{ site.logo | replace: "300", "76" }}">
|
5
|
+
<link rel="apple-touch-icon" sizes="114x114" href="{{ site.logo | replace: "300", "114" }}">
|
6
|
+
<link rel="apple-touch-icon" sizes="120x120" href="{{ site.logo | replace: "300", "120" }}">
|
7
|
+
<link rel="apple-touch-icon" sizes="144x144" href="{{ site.logo | replace: "300", "144" }}">
|
8
|
+
<link rel="apple-touch-icon" sizes="152x152" href="{{ site.logo | replace: "300", "152" }}">
|
9
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ site.logo | replace: "300", "180" }}">
|
10
|
+
<link rel="icon" type="image/png" href="{{ site.logo | replace: "300", "32" }}" sizes="32x32">
|
11
|
+
<link rel="icon" type="image/png" href="{{ site.logo | replace: "300", "194" }}" sizes="194x194">
|
12
|
+
<link rel="icon" type="image/png" href="{{ site.logo | replace: "300", "96" }}" sizes="96x96">
|
13
|
+
<link rel="icon" type="image/png" href="{{ site.logo | replace: "300", "192" }}" sizes="192x192">
|
14
|
+
<link rel="icon" type="image/png" href="{{ site.logo | replace: "300", "16" }}" sizes="16x16">
|
15
|
+
<link rel="shortcut icon" href="{{ site.logo }}">
|
16
|
+
<meta name="msapplication-TileColor" content="{{ site.color }}">
|
17
|
+
<meta name="msapplication-TileImage" content="{{ site.logo | replace: "300", "144" }}">
|
18
|
+
<meta name="theme-color" content="{{ site.color }}">
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<header class="header">
|
2
|
+
|
3
|
+
<a href="{{ page.url }}" title="{{ page.title }}">
|
4
|
+
|
5
|
+
<img class="avatar" src="{{ site.logo | replace: "300", "72" }}" alt="{{ site.title }}" srcset="{{ site.logo | replace: "300", "72" }} 72w, {{ site.logo | replace: "300", "144" }} 144w">
|
6
|
+
|
7
|
+
</a>
|
8
|
+
|
9
|
+
<div class="container">
|
10
|
+
|
11
|
+
<h1>{{ page.title }}</h1>
|
12
|
+
|
13
|
+
</div>
|
14
|
+
|
15
|
+
</header>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<aside class="container">
|
2
|
+
|
3
|
+
{% if paginator.previous_page %}
|
4
|
+
<a href="{{ paginator.previous_page_path }}" class="pagination pagination--previous">← Previous</a>
|
5
|
+
{% else %}
|
6
|
+
<span class="pagination pagination--previous">← Previous</span>
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
<span class="pagination pagination--divider">•</span>
|
10
|
+
|
11
|
+
{% if paginator.next_page %}
|
12
|
+
<a href="{{ paginator.next_page_path }}" class="pagination pagination--next">Next →</a>
|
13
|
+
{% else %}
|
14
|
+
<span class="pagination pagination--next">Next →</span>
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
</aside>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<ul class="posts">
|
2
|
+
{% for item in paginator.posts %}
|
3
|
+
|
4
|
+
<li class="post">
|
5
|
+
|
6
|
+
<article class="container">
|
7
|
+
|
8
|
+
<h2>
|
9
|
+
<a href="{{ item.url }}" title="{{ item.title }}">{{ item.title }}</a>
|
10
|
+
</h2>
|
11
|
+
|
12
|
+
<small class="small">
|
13
|
+
<time datetime="{{ item.date | date_to_xmlschema }}" class="time">{{ item.date | date_to_string }}</time>
|
14
|
+
</small>
|
15
|
+
|
16
|
+
{{ item.excerpt | markdownify }}
|
17
|
+
|
18
|
+
</article>
|
19
|
+
</li>
|
20
|
+
|
21
|
+
{% endfor %}
|
22
|
+
</ul>
|
data/_layouts/default.html
CHANGED
@@ -1,8 +1,21 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
<
|
6
|
-
|
7
|
-
|
2
|
+
<html lang="en-GB">
|
3
|
+
<head>
|
4
|
+
<!-- General meta -->
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
+
|
8
|
+
{% seo %}
|
9
|
+
|
10
|
+
{% if site.logo %}
|
11
|
+
{% include favicons.html %}
|
12
|
+
{% endif %}
|
13
|
+
|
14
|
+
<link href="/css/styles.css" media="all" rel="stylesheet" type="text/css">
|
15
|
+
</head>
|
16
|
+
<body>
|
17
|
+
|
18
|
+
{{ content }}
|
19
|
+
|
20
|
+
</body>
|
8
21
|
</html>
|
data/_layouts/front.html
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<main class="container">
|
6
|
+
|
7
|
+
{% include header.html %}
|
8
|
+
|
9
|
+
<article class="content">
|
10
|
+
|
11
|
+
{{ content }}
|
12
|
+
|
13
|
+
</article>
|
14
|
+
|
15
|
+
{% include posts.html %}
|
16
|
+
|
17
|
+
{% include pagination.html %}
|
18
|
+
|
19
|
+
{% include footer.html %}
|
20
|
+
|
21
|
+
</main>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<main class="container">
|
6
|
+
|
7
|
+
{% include header.html %}
|
8
|
+
|
9
|
+
<article class="content">
|
10
|
+
|
11
|
+
<small class="small">
|
12
|
+
{% assign words = content | number_of_words %}
|
13
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" class="time">{{ page.date | date_to_string }}</time> – <span class="time time--reading">{{ words | divided_by:180 }} minute read</span>
|
14
|
+
</small>
|
15
|
+
|
16
|
+
{{ content }}
|
17
|
+
|
18
|
+
</article>
|
19
|
+
|
20
|
+
{% include footer.html %}
|
21
|
+
|
22
|
+
</main>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: garth-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Darnes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: An experimental theme for Jekyll, just to test this out
|
14
14
|
email: me@daviddarnes.com
|
@@ -16,7 +16,15 @@ executables: []
|
|
16
16
|
extensions: []
|
17
17
|
extra_rdoc_files: []
|
18
18
|
files:
|
19
|
+
- _includes/favicons.html
|
20
|
+
- _includes/footer.html
|
21
|
+
- _includes/header.html
|
22
|
+
- _includes/pagination.html
|
23
|
+
- _includes/posts.html
|
19
24
|
- _layouts/default.html
|
25
|
+
- _layouts/front.html
|
26
|
+
- _layouts/page.html
|
27
|
+
- _layouts/post.html
|
20
28
|
- _sass/theme.scss
|
21
29
|
homepage: https://github.com/daviddarnes/garth-jekyll-theme
|
22
30
|
licenses:
|