jekyll-theme-template 0.0.7 → 0.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6de1ba6025f77dd4a40f90540364c9b3cd384a143f9c54cc47123fa9652fc0c
4
- data.tar.gz: b37eb7bf0caa11d2f628d4a6a1d9f23fe0965e3c207ff8ff0ff12f0c43e363bb
3
+ metadata.gz: 7114ba129efee066b3bfa96269a598f0768f5aabfa4dd557e598f88eab939878
4
+ data.tar.gz: a66a4b07cd015b09c2c512a9e512faeecc89bcbc153e9b7fe4b1c3cee57b3a55
5
5
  SHA512:
6
- metadata.gz: 57e179cd3aad6f633d5161a1b6e5dbd6fa719402c74f9250f2038c99f643eda4991fbb0c7f069a4880caac9d38191559dc11de78d7886cfaa9a955a6f0aee9bb
7
- data.tar.gz: bb2077ef42a27cdebdcf72d9f82922674ed20af86e3347d46e63cea69cde5ca7e6db236eba88753411b0d6c27c6b80a15ffa20fa053e4581169ed119be11e653
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 }}
@@ -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
@@ -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.7
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-02-09 00:00:00.000000000 Z
11
+ date: 2021-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler