jekyll-theme-template 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/post.html +1 -1
- data/_plugins/category_filter.rb +1 -1
- data/_plugins/tag_filter.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7114ba129efee066b3bfa96269a598f0768f5aabfa4dd557e598f88eab939878
|
4
|
+
data.tar.gz: a66a4b07cd015b09c2c512a9e512faeecc89bcbc153e9b7fe4b1c3cee57b3a55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24538de4758d6099e371442c905ccb631b2643bb2302df71584b453dd23b83454652252cef05b6a467e4d7f5cda580d923ae9815ca529f28f0827e711b98489a
|
7
|
+
data.tar.gz: c98dad85762ae3d1a1addf8420daffd5fcc882cebeb1ae603f8c840bfffa153d4b0ad347b433e02dd4463bf5bee42d5e740697f945d94b419591ae107205011b
|
data/_includes/post.html
CHANGED
@@ -1,6 +1,6 @@
|
|
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.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>
|
3
|
+
<p itemprop="description">{% 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
5
|
{% if page.type == "home" and site.excerpts %}
|
6
6
|
{{ include.post.excerpt | markdownify }}
|
data/_plugins/category_filter.rb
CHANGED
@@ -6,7 +6,7 @@ module Jekyll
|
|
6
6
|
"#{site.config['url']}/#{site.config['baseurl']}/#{site.config['categories_dir']}/#{category.tr(' ', '-')}/"
|
7
7
|
else
|
8
8
|
"#{site.config['url']}/#{site.config['baseurl']}/categories/#{category.tr(' ', '-')}/"
|
9
|
-
end
|
9
|
+
end.gsub(/\/\/+/).with_index { |_, i| i.zero? ? '//' : '/' }
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
data/_plugins/tag_filter.rb
CHANGED
@@ -6,7 +6,7 @@ module Jekyll
|
|
6
6
|
"#{site.config['url']}/#{site.config['baseurl']}/#{site.config['tags_dir']}/#{tag.tr(' ', '-')}/"
|
7
7
|
else
|
8
8
|
"#{site.config['url']}/#{site.config['baseurl']}/tags/#{tag.tr(' ', '-')}/"
|
9
|
-
end
|
9
|
+
end.gsub(/\/\/+/).with_index { |_, i| i.zero? ? '//' : '/' }
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
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.
|
4
|
+
version: 0.0.8
|
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: 2021-
|
11
|
+
date: 2021-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|