-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (37 loc) · 1.19 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
layout: home
title: Spoločenstvo urbariát Dulova Ves pozemkové spoločenstvo
list_title: Najnovšie oznamy
description: Prehľad oznamov spoločenstva
pagination:
enabled: true
---
Vyhľadávanie v oznamoch: <!-- Search Input --> <input type="text" id="search-input" placeholder="Search...">
<!-- Results Display -->
<ul id="search-results"></ul>
<!-- Initialization Script -->
<script>
SimpleJekyllSearch({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('search-results'),
json: '/search.json',
searchResultTemplate: '<li><a href="{url}" title="{title}">{title}</a></li>',
noResultsText: 'No results found'
});
</script>
{% assign all_tags = '' | split: ',' %}
{% for post in site.posts %}
{% for tags in post.tags %}
{% for tag in tags %}
{% assign all_tags = all_tags | push: tag %}
{% endfor %}
{% endfor %}
{% endfor %}
{% assign all_tags = all_tags | sort %}
{% assign all_tags = all_tags | uniq %}
### Témy:
<ul class="tag-list">
{% for tag in all_tags %}
<li><a href="{{ site.tag_dir | prepend: '/' }}/{{ tag | uri_escape }}">{{ tag }}</a></li>
{% endfor %}
</ul>