Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5603a44ae | ||
|
|
3f31c09342 | ||
|
|
d3c4b6a131 | ||
|
|
99bfa05bed | ||
|
|
455efc9c3c |
@@ -1,34 +1,34 @@
|
||||
{% if paginator.posts %}
|
||||
|
||||
<ul class="list list--posts">
|
||||
{% for page in paginator.posts %}
|
||||
<li class="item item--post">
|
||||
<article class="article article--post typeset">
|
||||
<ul class="list list--posts">
|
||||
{% for page in paginator.posts %}
|
||||
<li class="item item--post">
|
||||
<article class="article article--post typeset">
|
||||
|
||||
<h2><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h2>
|
||||
{% include post-meta.html %}
|
||||
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
||||
<h2><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h2>
|
||||
{% include post-meta.html %}
|
||||
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
||||
|
||||
</article>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% include post-pagination.html %}
|
||||
</article>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% include post-pagination.html %}
|
||||
|
||||
{% else %}
|
||||
|
||||
<ul class="list list--posts">
|
||||
{% for page in site.posts %}
|
||||
<li class="item item--post">
|
||||
<article class="article article--post typeset">
|
||||
<ul class="list list--posts">
|
||||
{% for page in site.posts %}
|
||||
<li class="item item--post">
|
||||
<article class="article article--post typeset">
|
||||
|
||||
<h2><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h2>
|
||||
{% include post-meta.html %}
|
||||
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
||||
<h2><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h2>
|
||||
{% include post-meta.html %}
|
||||
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
||||
|
||||
</article>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</article>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
{% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" or item.url contains "/feed." %}
|
||||
<li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
|
||||
{% if item.collectionpage %}
|
||||
{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
|
||||
<a href="{{ site.baseurl }}{{ item.url }}">{{ collectiondata.title }}</a>
|
||||
{% else %}
|
||||
{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
|
||||
<a href="{{ site.baseurl }}{{ item.url }}">{{ collectiondata.title }}</a>
|
||||
{% else %}
|
||||
<a href="{{ site.baseurl }}{{ item.url }}">{{ item.title }}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "garth-jekyll-theme"
|
||||
spec.version = "1.0.4"
|
||||
spec.version = "1.0.5"
|
||||
spec.authors = ["David Darnes"]
|
||||
spec.email = ["me@daviddarnes.com"]
|
||||
|
||||
@@ -15,8 +15,8 @@ Gem::Specification.new do |spec|
|
||||
|
||||
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(assets|_layouts|_includes|_sass|LICENSE|README)}i) }
|
||||
|
||||
spec.add_runtime_dependency "jekyll", "~> 3.6"
|
||||
spec.add_runtime_dependency "jekyll", ">= 3.6", "< 5.0"
|
||||
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
|
||||
|
||||
spec.add_development_dependency "bundler", "~> 1.14"
|
||||
spec.add_development_dependency "bundler", ">= 1.14", "< 3.0"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user