-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
71 lines (70 loc) · 3.1 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
layout: mosaic
---
<div uk-filter="target: .js-filter">
<div class="uk-container-fluid" uk-sticky="bottom: #offset;media: @m; cls-active: select-shadow">
<div class="uk-container uk-container-xlarge uk-background-muted" >
<div id="topic-selector" style="padding-bottom: 2ex; padding-top: 1ex;">
<div class="uk-grid-small uk-child-width-auto" uk-grid>
<div>
<ul class="uk-subnav uk-subnav-pill" uk-margin>
<li class="uk-active" uk-filter-control><a href="#">Alles</a></li>
</ul>
</div>
<div class="uk-text-nowrap ">
<span class="uk-active" uk-filter-control="sort: data-date; order: desc"><a href="#"
uk-icon="icon: arrow-down"></a></span>
<span uk-filter-control="sort: data-date;"><a class="uk-icon-link" href="#"
uk-icon="icon: arrow-up"></a></span>
</div>
<div id="topic-list">
<ul class="uk-subnav uk-subnav-pill" uk-margin>
{% for tag in site.data.tags %}
{% if tag[1].hide != true %}
<li uk-filter-control="filter: [data-tags*='{{ tag[0] }}']; group: data-tag">
<a href="#"><i class="{{ tag[1].icon }}"></i> {{ tag[1].titl }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="uk-container uk-container-xlarge">
<ul class="js-filter uk-child-width-1-1 uk-child-width-1-2@s uk-child-width-1-3@m uk-child-width-1-4@l"
uk-grid="masonry: true" uk-scrollspy="cls: uk-animation-slide-bottom; target: .uk-card; delay: 100;">
{% for link_hash in site.data.links %}
{% assign file = link_hash[0] %}
{% assign link = link_hash[1] %}
<li data-tags="{% for tag in link.tags %}{{ tag }} {% endfor %}" data-date="{{ link.date }}"">
<div class=" uk-card uk-card-default">
<a href="{{ link.href }}" class="uk-link-reset" target="_blank">
<div class="uk-card-body">
<div class="uk-text-large uk-margin-small-top">{{ link.titl }}</div>
<div class="uk-text-meta uk-margin-small-top uk-margin-bottom">{{ link.date | date: "%d.%m.%Y" }}</div>
<div>{{ link.desc }}</div>
</div>
<div class="uk-position-top-right uk-padding-small">
{% for tag in link.tags %}
<i class="{{ site.data.tags[tag].icon }}"></i>
{% endfor %}
</div>
{% if link.pict %}
<div class="uk-card-media-bottom">
<img data-src="{{"/assets/bg/" | append: file | append: ".jpeg" | relative_url }}" alt="" uk-img/>
</div>
{% endif %}
</a>
<div class="uk-position-bottom-right uk-padding-small">
<a style="color: rgba(128,128,128,0.2)"
href="{{ "https://github.com/heimschulung/heimschulung.github.io/edit/master/_data/links/" | append: file | append: ".yaml" }}"
target="_blank"><i class="fas fa-pencil-alt"></i></a>
</div>
</div>
</li>
{% endfor %}
</ul>
</div>
</div>