This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
post-photos.html
68 lines (68 loc) · 2.33 KB
/
post-photos.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
---
layout: layout.html
---
<div class="container is-max-desktop">
<section class="hero">
<div class="hero-body no-padding-mobile">
<!-- card and card again -->
<div class="card no-border-radius-mobile">
<!-- navbar -->
<div class="card-content has-no-padding-top-bottom">
<div class="navbar-brand">
<a aria-label="Back" class="navbar-item hoverable" href="/photos/">{% feather "grid" %}</a>
<a aria-label="Home" class="navbar-item hoverable" href="/">{% feather "home" %}</a>
<div class="item-nav-end">
<a aria-label="Share" class="navbar-item hoverable fix-width modal-trigger" href="#share">{% feather "share-2" %}</a>
</div>
</div>
</div>
<!-- cover page -->
<div class="card-image">
<figure class="image">
<img class="card-no-border-radius-mobile" src={{ cover }} alt="cover">
</figure>
</div>
<div class="card-content">
<div class="content">
<p class="title is-4 margin-bottom-1">{{ title | default: "My Blog" }}</p>
<p class="is-size-7">{{ date | date: "%a, %d %b %Y" }}</p>
<p>
{{ content }}
</p>
</div>
</div>
<!-- next prev -->
{%- if collections.photos %}
{%- assign previousPhotos = collections.photos | getPreviousCollectionItem %}
{%- assign nextPhotos = collections.photos | getNextCollectionItem %}
{%- if nextPhotos or previousPhotos %}
<div class="card-content" style="padding-top: 0;">
<div class="navbar-brand">
{%- if nextPhotos %}
<a class="navbar-item hoverable" href="{{ nextPhotos.url }}">{% feather "arrow-left-circle" %}</a>
{% endif %}
<div class="item-nav-end">
{%- if previousPhotos %}
<a class="navbar-item hoverable" href="{{ previousPhotos.url }}">{% feather "arrow-right-circle" %}</a>
{% endif %}
</div>
</div>
</div>
{% endif %}
{% endif %}
<!-- here is footer -->
<footer class="card-footer">
<div class="card-footer-item has-text-centered">
<p class="is-size-7 has-text-weight-semibold">
© 2024 <a href="https://instagram.com/apoxicam">Apoxicam</a><br>
All photos are licenced under
<a href="https://creativecommons.org/licenses/by-nc-nd/4.0/?ref=chooser-v1">
CC BY-NC-ND 4.0
</a>
</p>
</div>
</footer>
</div>
</div>
</section>
</div>