jekyll-theme-template 0.0.3 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d438aa98dad4dc088443f251daac3e764c69a02a0ca0855ec428878dd9f6535b
4
- data.tar.gz: 0b4266ab078f14271c6ad56683b328d90272198a1064af81b8ea57f47c1a6ff3
3
+ metadata.gz: 5f342cb08c489718b5ea7ae192f6b691d9cb6fcbb27726ca05002b65c6d1a7e3
4
+ data.tar.gz: cc341cb2cd9a70706ebfad568b35999348e30355312997cb1e4e853d54feb8f6
5
5
  SHA512:
6
- metadata.gz: 9a38ff3d7d6fe2d367b08bf1db7c1a083578d33feb034c6968bc79288e954729cdc6cc41cc6945e0bb709867fafee351cb40b43ca2c38c0f9ab8f5656231d5d2
7
- data.tar.gz: 9e8d4983eefb18e570084290e9fc146a84c5fd100ae2e63dee22c9d026317ad2928c4807a89c696dbf9e49df81bd507fe3d0d96820d9e88a159f690b2b4a37a2
6
+ metadata.gz: e37b8a4c6908f9bc65247b137226c0097e5c18c55eebc6257fd9690de133e6c202196b09e90794c7a50e6862705c790848b6610c0c693f28f0afa43b5a733b62
7
+ data.tar.gz: b28904d9de3094e1c75a7ab3b5e157fd92bc366d435a5a440ed8d6b1cb9538f05365ac4306c91cc499d0b88ae268a373a4197b9ef73a44350902957f757eca22
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  jekyll-theme-template
2
2
  =====================
3
3
 
4
- [![Build Status](https://travis-ci.org/rcvalle/jekyll-theme-template.svg?branch=master)](https://travis-ci.org/rcvalle/jekyll-theme-template)
4
+ ![Build Status](https://github.com/rcvalle/jekyll-theme-template/workflows/build/badge.svg)
5
5
 
6
6
  A Jekyll theme template.
7
7
 
@@ -73,5 +73,5 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
73
73
  License
74
74
  -------
75
75
 
76
- Licensed under the MIT license. See [LICENSE](LICENSE) for license text and
76
+ Licensed under the MIT License. See [LICENSE](LICENSE) for license text and
77
77
  copyright information.
@@ -1,4 +1,5 @@
1
1
  baseurl: /jekyll-theme-template
2
+ excerpts: true
2
3
  exclude:
3
4
  - "*.gemspec"
4
5
  - "CONTRIBUTING*"
@@ -9,3 +9,14 @@
9
9
  ga('send', 'pageview');
10
10
  </script>
11
11
  {% endif %}
12
+ {% if site.gtag %}
13
+ <!-- Global site tag (gtag.js) - Google Analytics -->
14
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
15
+ <script>
16
+ window.dataLayer = window.dataLayer || [];
17
+ function gtag(){dataLayer.push(arguments);}
18
+ gtag('js', new Date());
19
+
20
+ gtag('config', '{{ site.gtag }}');
21
+ </script>
22
+ {% endif %}
@@ -1,8 +1,13 @@
1
1
  <article itemscope itemtype="http://schema.org/BlogPosting">
2
2
  <h1 itemprop="headline"><a href="{{ include.post.url | relative_url }}">{{ include.post.title }}</a></h1>
3
- <p>{% if include.post.author %}By <span itemprop="author">{{ include.post.author }}</span> on {% endif %}<time itemprop="datePublished" datetime="{{ include.post.date | date_to_xmlschema }}">{{ include.post.date | date: "%B %-d, %Y" }}</time>{% if include.post.comments %}. <a href="{{ include.post.url | relative_url }}#disqus_thread" data-disqus-identifier="{{ include.post.url | relative_url }}"></a>{% endif %}</p>
3
+ <p>{% if include.post.author %}By <span itemprop="author">{{ include.post.author }}</span> on {% endif %}<time itemprop="datePublished" datetime="{{ include.post.date | date_to_xmlschema }}">{{ include.post.date | date: "%B %-d, %Y" }}</time>{% if include.post.updated %}. Last updated on <time itemprop="dateModified" datetime="{{ include.post.updated | date_to_xmlschema }}">{{ include.post.updated | date: "%B %-d, %Y" }}</time>{% endif %}{% if include.post.comments %}. <a href="{{ include.post.url | relative_url }}#disqus_thread" data-disqus-identifier="{{ include.post.url | relative_url }}"></a>{% endif %}</p>
4
4
  <div itemprop="articleBody">
5
- {{ include.post.content | markdownify }}
5
+ {% if page.type == "home" and site.excerpts %}
6
+ {{ include.post.excerpt | markdownify }}
7
+ <p><a href="{{ post.url }}">Read more&hellip;</a></p>
8
+ {% else %}
9
+ {{ include.post.content | markdownify }}
10
+ {% endif %}
6
11
  </div>
7
12
  <p>{% include post_tags.html post=include.post %}</p>
8
13
  </article>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramon de C Valle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-27 00:00:00.000000000 Z
11
+ date: 2021-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -131,14 +131,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
131
  requirements:
132
132
  - - ">="
133
133
  - !ruby/object:Gem::Version
134
- version: '0'
134
+ version: 2.3.0
135
135
  required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  requirements: []
141
- rubygems_version: 3.0.8
141
+ rubygems_version: 3.0.3
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: A Jekyll theme template.