Skip to content

Allow selecting documents using tags #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions src/_includes/asides/tags.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<aside class="small-12 recent-posts">
<h2>Tags</h2>
<ul id="tag-list">
<!-- sort tags by name -->
{% capture site_tags %}
{% for tag in site.tags %}
{{ tag | first }}{% unless forloop.last %},{% endunless %}
{% endfor %}
{% endcapture %}
{% assign list_of_tags = site_tags | split:',' | sort_natural %}

<!-- list tags -->
{% for tag in list_of_tags -%}
<li>
<a href="{{ site.baseurl }}/tags#{{ tag | strip }}">{{ tag | strip }}</a>
</li>
{% endfor -%}
</ul>
</aside>
1 change: 1 addition & 0 deletions src/_layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
{% include asides/search.html -%}
{% include asides/recent_posts.html -%}
{% include asides/quick_links.html -%}
{% include asides/tags.html -%}
</section>
</article>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/_layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ <h1>{{ page.title }}</h1>
{% include asides/search.html -%}
{% include asides/recent_posts.html -%}
{% include asides/quick_links.html -%}
{% include asides/tags.html -%}
</section>
</article>
</div>
1 change: 1 addition & 0 deletions src/_layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ <h1 >{{ page.title }}</h1>
{% include asides/search.html -%}
{% include asides/recent_posts.html -%}
{% include asides/quick_links.html -%}
{% include asides/tags.html -%}
</section>
</article>

Expand Down
10 changes: 10 additions & 0 deletions src/_sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,13 @@ pre {
}
}
}

ul#tag-list {
li {
::before {
content: '#';
}
display: inline-block;
margin-right: 1ch;
}
}
2 changes: 2 additions & 0 deletions src/blog/_posts/2021-12-02-ansible-freeipa-1.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2021-12-02T13:48:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in version 1.5.0
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2021-12-15-ansible-freeipa-1.5.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2021-12-15T09:02:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in version 1.5.1
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2021-12-23-ansible-freeipa-1.5.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2021-12-23T14:21:00
author: Thomas Woerner
category: release
tags:
- release
---

Changes since 1.5.1
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2021-12-28-ansible-freeipa-1.5.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2021-12-28T15:26:00
author: Thomas Woerner
category: release
tags:
- release
---

Changes since 1.5.2
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2022-01-17-ansible-freeipa-1.7.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2022-01-17T09:39:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in version 1.6.0
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2022-01-21-ansible-freeipa-1.6.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2022-01-21T16:39:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in version 1.6.1
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2022-01-26-ansible-freeipa-1.6.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2022-01-26T15:22:00
author: Thomas Woerner
category: release
tags:
- release
---

Changes since 1.6.1
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2022-01-27-ansible-freeipa-1.6.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2022-01-27T15:48:00
author: Thomas Woerner
category: release
tags:
- release
---

Changes since 1.6.2
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2022-04-29-ansible-freeipa-1.7.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2022-04-29T15:16:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in version 1.7.0
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2022-06-24-ansible-freeipa-1.8.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2022-06-24T14:19:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in version 1.8.0
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2022-07-07-ansible-freeipa-1.8.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2022-07-07T10:57:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in version 1.8.1
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2022-07-28-ansible-freeipa-1.8.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2022-07-28T14:38:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in version 1.8.2
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2022-08-16-ansible-freeipa-1.8.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2022-08-16T14:43:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlight in version 1.8.3
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2022-09-09-ansible-freeipa-1.8.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2022-09-09T08:05:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in 1.8.4
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2022-12-05-ansible-freeipa-1.9.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2022-12-05T04:21:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in 1.9.0
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2023-01-30-ansible-freeipa-1.9.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2023-01-30T03:54:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in 1.9.1
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2023-01-31-ansible-freeipa-1.9.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2023-01-31T03:35:00
author: Thomas Woerner
category: release
tags:
- release
---

Changes since 1.9.1
Expand Down
2 changes: 2 additions & 0 deletions src/blog/_posts/2023-04-05-ansible-freeipa-1.10.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ section: Blog
date: 2023-04-05T04:30:00
author: Thomas Woerner
category: release
tags:
- release
---

Highlights in 1.10.0
Expand Down
25 changes: 25 additions & 0 deletions src/tags.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: home
title: Tags
---

# {{ page.title }}

<!-- sort tags by name -->
{% capture site_tags %}
{% for tag in site.tags %}
{{ tag | first }}{% unless forloop.last %},{% endunless %}
{% endfor %}
{% endcapture %}
{% assign tags_list = site_tags | split:',' | sort_natural %}

<!-- List all tags with links to docs -->
{% for tag in tags_list %}
{% assign tag_name = tag | strip %}
# {{ tag_name }}
{% assign posts = site.tags[tag_name] %}
{% for post in posts %}* [{{ post.title }}]({{ post.url }})
{% endfor %}

{% endfor %}