-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (73 loc) · 2.89 KB
/
index.html
File metadata and controls
74 lines (73 loc) · 2.89 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
71
72
73
74
---
---
<!DOCTYPE html>
<html class="notranslate" translate="no">
{% include head.html %}
<body>
{% assign target = "target" %} {% if site.env.HEADER_ENABLED == "1" %}
{% assign headerbgcolor = 'background-color: ' | append:
site.env.HEADER_BACKGROUND_COLOR | append: ';' %}
<header id="page-title" style="{{ headerbgcolor }}">
{{ site.env.TITLE }}
</header>
{% endif %}
<main>
<ul class="grid" id="{{ target }}">
{% if site.env.DEFAULT_REVERSE_SORT == "1" %} {% assign images =
page.images | default: site.static_files | photo_filter |
reverse %} {% else %} {% assign images = page.images | default:
site.static_files | photo_filter %} {% endif %} {% include
photos.html %}
</ul>
<ul class="links bottom">
{% if site.env.ALLOW_ORDER_SORT_CHANGE == "1" %}
<li class="sort">
<a rel="me" href="#" title="Reverse sort order">Sort</a>
</li>
{% endif %} {% if site.env.GITHUB_USERNAME != "" %}
<li class="github">
<a
rel="me"
href="https://github.com/{{ site.env.GITHUB_USERNAME }}"
title="@{{ site.env.GITHUB_USERNAME }} on Github"
>Github</a
>
</li>
{% endif %} {% if site.env.INSTAGRAM_USERNAME != "" %}
<li class="instagram">
<a
rel="me"
href="https://instagram.com/{{ site.env.INSTAGRAM_USERNAME }}"
title="@{{ site.env.INSTAGRAM_USERNAME }} on Instagram"
>Instagram</a
>
</li>
{% endif %} {% if site.env.CUSTOM_LINK_URL != "" and
site.env.CUSTOM_LINK_NAME != "" %}
<li class="link">
<a
rel="me"
href="{{ site.env.CUSTOM_LINK_URL }}"
title="{{ site.env.CUSTOM_LINK_NAME }}"
>{{ site.env.CUSTOM_LINK_NAME }}</a
>
</li>
{% endif %}
</ul>
</main>
{% include javascript.html %} {% if site.env.ALLOW_IMAGE_SHARING == "1"
%}
<script
type="text/javascript"
src="{{ '/js/toastify.js' | relative_url }}"
></script>
{% endif %} {% if page.image_slug %}
<script
src="{{ '/js/photos.js' | relative_url }}"
data-photo-id="{{ page.image_slug }}"
data-photo-url="{{ page.image_slug | relative_url }}"
data-target-id="{{ target }}"
></script>
{% endif %}
</body>
</html>