activating tags, finishing categories
This commit is contained in:
parent
0e39c749bf
commit
ef31064b85
|
@ -2,17 +2,21 @@
|
||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
<header id="post-header">
|
<article class="page">
|
||||||
<h1 id="post-title">{{ page.tag }}</h1>
|
<h1>{{page.title}}</h1>
|
||||||
<h4 id="post-subtitle">Articles by tag</h4>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<div id="post-content">
|
<p class='info'>
|
||||||
|
<span>Articles by tag</span>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<hr/>
|
||||||
|
|
||||||
|
<div id="post-content">
|
||||||
{% if site.tags[page.tag] %}
|
{% if site.tags[page.tag] %}
|
||||||
{% for post in site.tags[page.tag] %}
|
{% for post in site.tags[page.tag] %}
|
||||||
{% capture post_year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
{% capture post_year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
||||||
{% if forloop.first %}
|
{% if forloop.first %}
|
||||||
<h3>{{ post_year }}</h3><div class="list-group">
|
<h3>{{ post_year }}</h3><ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if forloop.first == false %}
|
{% if forloop.first == false %}
|
||||||
|
@ -23,15 +27,18 @@ layout: default
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<a href="{{ post.url }}/" class="list-group-item">
|
<li>
|
||||||
<h4 class="list-group-item-heading">{{ post.title }}</h4>
|
<a href="{{ post.url }}/" class="read-more">
|
||||||
|
{{ post.title }}
|
||||||
</a>
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
{% if forloop.last %}
|
{% if forloop.last %}
|
||||||
</div>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>There are no posts for this tag.</p>
|
<p>There are no posts for this tag.</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
</article>
|
6
meta/category/api.md
Normal file
6
meta/category/api.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
layout: post_by_category
|
||||||
|
title: API
|
||||||
|
category: api
|
||||||
|
permalink: /meta/category/api/
|
||||||
|
---
|
6
meta/category/conference.md
Normal file
6
meta/category/conference.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
layout: post_by_category
|
||||||
|
title: Conference
|
||||||
|
category: conference
|
||||||
|
permalink: /meta/category/conference/
|
||||||
|
---
|
6
meta/category/howto.md
Normal file
6
meta/category/howto.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
layout: post_by_category
|
||||||
|
title: Howto
|
||||||
|
category: howto
|
||||||
|
permalink: /meta/category/howto/
|
||||||
|
---
|
6
meta/category/product.md
Normal file
6
meta/category/product.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
layout: post_by_category
|
||||||
|
title: Product
|
||||||
|
category: product
|
||||||
|
permalink: /meta/category/product/
|
||||||
|
---
|
6
meta/tag/docker.md
Normal file
6
meta/tag/docker.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
layout: post_by_tag
|
||||||
|
title: Docker
|
||||||
|
tag: docker
|
||||||
|
permalink: /meta/tag/docker/
|
||||||
|
---
|
6
meta/tag/security.md
Normal file
6
meta/tag/security.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
layout: post_by_tag
|
||||||
|
title: Security
|
||||||
|
tag: security
|
||||||
|
permalink: /meta/tag/security/
|
||||||
|
---
|
Loading…
Reference in a new issue