-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcategory.html
More file actions
71 lines (66 loc) · 2.83 KB
/
Copy pathcategory.html
File metadata and controls
71 lines (66 loc) · 2.83 KB
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
<div class="hero-body ct-body">
<div class="container">
<div class="columns is-centered">
<div class="column is-four-fifths">
<div class="columns is-mobile">
<div class="column">
<h1 class="title">{{ siteName }}</h1>
<h2 class="subtitle">
{{ siteDes }}
</h2>
</div>
<div class="column is-narrow"><figure class="image is-128x128">
{% if ext_logo_path %}
<img class="is-rounded" src="{{ ext_logo_path }}">
{% /if %}
</figure></div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="ct-body">
<div class="container">
<div class="columns is-variable bd-klmn-columns is-4">
<div class="column is-two-thirds">
{% for p in posts %}
<div class="card">
<a href="{{ p.url }}">
<div class="card-image">
<figure class="random-img">
</figure>
</div>
</a>
<div class="card-content">
<div class="content">
<a href="{{ p.url }}">
<h2 class="title">{{ p.title }}</h2>
</a>
{% if p.ext_excerpt.length %}
<p>{{ p.ext_excerpt }}</p>
{% /if %}
<p>
<a href="{{ p.url }}"><span class="tran-readmore">Read more...</span></a>
<span class="date" style="float: right;"><i class="fa fa-calendar-check-o" aria-hidden="true"></i> {{ p.date }}
{% if p.cats.@count %}<span class="tran-posted-in">posted in</span> {% /if %}
{% for cat in p.cats %}
<span class="posted-in"><a href='{{ cat.url }}'><i class="fa fa-folder" aria-hidden="true"></i> {{ cat.name }}</a></span>
{% /for %}
</span>
</p>
</div>
</div>
</div>
{% /for %}
<nav class="pagination is-centered" role="navigation" aria-label="pagination">
<a class="pagination-previous" {% if prevPageUrl.length %} href="{{ prevPageUrl }}" {% else %} disabled="disabled" {% /if %}><span class="tran-prev-page">« Prev Page</span></a>
<a class="pagination-next" {% if nextPageUrl.length %} href="{{ nextPageUrl }}" {% else %} disabled="disabled" {% /if %}><span class="tran-next-page">Next Page »</span></a>
</nav>
</div><!-- end column -->
<div class="column">
<!-- include(section-cats_tags.html) -->
</div>
</div>
</div>
</section>