summaryrefslogtreecommitdiff
path: root/design/templates/lib
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
committerlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
commitd9f51299809bfb6b3ac589b7c42016d0ef240299 (patch)
treeaa5f945e82fdbf1b66aca82fe5122f6ff5a12eb9 /design/templates/lib
parentdde9914dbbc6cda18ba59024065727c8dc6bcdf4 (diff)
moved templates to top level directory
Diffstat (limited to 'design/templates/lib')
-rw-r--r--design/templates/lib/breadcrumbs.html14
-rw-r--r--design/templates/lib/breadcrumbs_detail.html14
-rw-r--r--design/templates/lib/friends_featured_img.html6
-rw-r--r--design/templates/lib/img_archive.html7
-rw-r--r--design/templates/lib/img_blok.html9
-rw-r--r--design/templates/lib/img_cluster.html6
-rw-r--r--design/templates/lib/img_pic960.html9
-rw-r--r--design/templates/lib/img_picfull.html10
-rw-r--r--design/templates/lib/img_pictall.html9
-rw-r--r--design/templates/lib/img_picwide.html7
-rw-r--r--design/templates/lib/img_product.html10
11 files changed, 0 insertions, 101 deletions
diff --git a/design/templates/lib/breadcrumbs.html b/design/templates/lib/breadcrumbs.html
deleted file mode 100644
index 025b8e4..0000000
--- a/design/templates/lib/breadcrumbs.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<nav class="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList">
- <span class="nav-item" itemprop="item">
- <a href="/" itemprop="name">Home</a>
- <meta itemprop="position" content="1" />
- </span>{% for crumb in breadcrumbs %}{% if crumb_url %}
- <span class="nav-item" itemprop="item">
- <a href="{{crumb_url}}" itemprop="name">{{crumb}}</a>
- <meta itemprop="position" content="{{ forloop.counter|add:"+1" }}" />
- </span>{% else %}
- <span class="nav-item" itemprop="item">
- <span itemprop="name">{{crumb}}</span>
- <meta itemprop="position" content="2" />
- </span>{% endif %}{%endfor%}
- </nav>
diff --git a/design/templates/lib/breadcrumbs_detail.html b/design/templates/lib/breadcrumbs_detail.html
deleted file mode 100644
index 170c53a..0000000
--- a/design/templates/lib/breadcrumbs_detail.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<ol class="bl" id="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList">
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
- <a itemprop="item" href="/"><span itemprop="name">Home</span></a> &rarr;
- <meta itemprop="position" content="1" />
- </li>
- {% for crumb in breadcrumbs %}<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">{% if forloop.last %}
- <span itemprop="item">
- <span itemprop="name" class="faint">{{crumb}}</span>
- </span>
- <meta itemprop="position" content="{{ forloop.counter|add:"+1"}}" />{%else%}
- <a href="{{crumb_url}}" itemprop="item"><span itemprop="name">{{crumb}}</span></a> &rarr;
- <meta itemprop="position" content="{{ forloop.counter|add:"+1" }}" />{% endif %}
- </li>{%endfor%}
- </ol>
diff --git a/design/templates/lib/friends_featured_img.html b/design/templates/lib/friends_featured_img.html
deleted file mode 100644
index 999c780..0000000
--- a/design/templates/lib/friends_featured_img.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% load get_image_by_size %}
-<img sizes="(max-width: 728px) 100vw, (min-width: 729px) 520px"
- srcset="{% get_image_by_size image 'featured_jrnl'%} 520w, {% get_image_by_size image 'picwide-sm'%} 720w"
- src="{% get_image_by_size image 'picwide-sm'%}"
- alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}"
- style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;max-width:94%; border:40px solid #f4f2f0;" />
diff --git a/design/templates/lib/img_archive.html b/design/templates/lib/img_archive.html
deleted file mode 100644
index 4ff8e8a..0000000
--- a/design/templates/lib/img_archive.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{% load get_image_by_size %}
-{% get_image_by_size image 'featured_jrnl' as featured %}
-<img sizes="(max-width: 728px) 100vw, (min-width: 729px) 520px"
- srcset="{{featured}} 520w, {%get_image_by_size image 'picwide-sm'%} 720w"
- src="{{featured}}"
- alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}"
- {% if not nolightbox %}data-jslghtbx="{{image.get_image_by_size}}" data-jslghtbx-group="group" {% if caption%}data-jslghtbx-caption="{{image.caption}}"{%endif%}{%endif%}>
diff --git a/design/templates/lib/img_blok.html b/design/templates/lib/img_blok.html
deleted file mode 100644
index 2d0e947..0000000
--- a/design/templates/lib/img_blok.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% load get_image_by_size %}
-{% if caption or exif or image.photo_credit_source %}
-<figure{%if not is_cluster %} class="blokwide"{%endif%}>{%else%}{%if not is_cluster %}<div class="blokwide">{%endif%}{%endif%}
- <a itemscope itemtype="http://schema.org/ImageObject" href="{%get_image_by_size image "original"%} " title="view larger image">
- <img class="u-photo" itemprop="contentUrl" sizes="(max-width: 1439px) 100vw, (min-width: 1440px) 1440px" srcset="{% for size in image.sizes.all%}{% get_image_by_size image size.slug %} {{size.width}}w{% if forloop.last%}"{%else%}, {%endif%}{%endfor%}{% for size in image.sizes.all%}{%if not forloop.first and not forloop.last%} src="{% get_image_by_size image size.slug %}"{%endif%}{%endfor%} alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}" data-jslghtbx="{%get_image_by_size image "original"%}" data-jslghtbx-group="group" {% if caption%}data-jslghtbx-caption="{{image.caption}}"{%endif%}>
- </a>
-{% if caption or exif or image.photo_credit_source %}<figcaption>{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | <small>Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}</small>{% endif %}{% if image.photo_credit_source %}{%if caption or exif %} | {%endif%}image by {% if image.photo_credit_url %}<a href="{{image.photo_credit_url}}" itemprop="author">{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}</a>{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}</figcaption>
-</figure>{%else%}{%if not is_cluster %}</div>{%endif%}
-{% endif %}
diff --git a/design/templates/lib/img_cluster.html b/design/templates/lib/img_cluster.html
deleted file mode 100644
index 9e7d8a3..0000000
--- a/design/templates/lib/img_cluster.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% load get_image_by_size %}{% if caption or exif %}<figure {%if cluster_class != "picwide"%}class="{{cluster_class}}"{%endif%}>{%endif%}
- <a href="{%get_image_by_size image "original"%}" title="view larger image {% if image.photo_credit_source%}(photo by {{image.photo_credit_source}}){%endif%}">
- <img class="{% if caption or exif %}{%else%}{%if cluster_class != "picwide"%}{{cluster_class}}{%endif%}{%endif%} {%if extra%}{{extra}}{%endif%}" {%if cluster_class == "picwide"%} sizes="(max-width: 1439px) 100vw, (min-width: 1440px) 1440px" srcset="{% for size in image.sizes.all%}{% get_image_by_size image size.slug %} {{size.width}}w{% if forloop.last%}"{%else%}, {%endif%}{%endfor%}{% for size in image.sizes.all%}{%if not forloop.first and not forloop.last%} src="{% get_image_by_size image size.slug%}"{%endif%}{%endfor%}{%else%} src="{% get_image_by_size image cluster_class %}"{%endif%} alt="{%if image.alt %}{{image.alt}}{%else%}{{image.title}}{%endif%} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}"></a>
-{% if caption or exif %}<figcaption>{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | <small>Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}</small>{% endif %}{% if caption or exif %}</figcaption>
-</figure>
-{% endif %}
diff --git a/design/templates/lib/img_pic960.html b/design/templates/lib/img_pic960.html
deleted file mode 100644
index 1915ce6..0000000
--- a/design/templates/lib/img_pic960.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% load get_image_by_size %}
-{% if caption or exif or image.photo_credit_source %}
-<figure{%if not is_cluster %} class="pic960"{%endif%}>{%else%}{%if not is_cluster %}<div class="pic960">{%endif%}{%endif%}
- <a itemscope itemtype="http://schema.org/ImageObject" href="{%get_image_by_size image "original"%} " title="view larger image">
- <img class="u-photo" itemprop="contentUrl" sizes="(max-width: 959px) 100vw, (min-width: 960px) 960px" srcset="{% for size in image.sizes.all%}{% get_image_by_size image size.slug %} {{size.width}}w{% if forloop.last%}"{%else%}, {%endif%}{%endfor%}{% for size in image.sizes.all%}{%if not forloop.first and not forloop.last%} src="{% get_image_by_size image size.slug %}"{%endif%}{%endfor%} alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}" data-jslghtbx="{%get_image_by_size image "original"%}" data-jslghtbx-group="group" {% if caption%}data-jslghtbx-caption="{{image.caption}}"{%endif%}>
- </a>
-{% if caption or exif or image.photo_credit_source %}<figcaption>{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | <small>Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}</small>{% endif %}{% if image.photo_credit_source %}{%if caption or exif %} | {%endif%}image by {% if image.photo_credit_url %}<a href="{{image.photo_credit_url}}" itemprop="author">{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}</a>{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}</figcaption>
-</figure>{%else%}{%if not is_cluster %}</div>{%endif%}
-{% endif %}
diff --git a/design/templates/lib/img_picfull.html b/design/templates/lib/img_picfull.html
deleted file mode 100644
index 15dd5f6..0000000
--- a/design/templates/lib/img_picfull.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{% load get_image_by_size %}
-{% load get_image_width %}
-{% if caption or exif or image.photo_credit_source %}
-<figure{%if not is_cluster %} class="picfull"{%endif%}>{%else%}{%if not is_cluster %}<div class="picfull">{%endif%}{%endif%}
- <a itemscope itemtype="http://schema.org/ImageObject" href="{%get_image_by_size image "original"%} " title="view larger image">
- <img class="u-photo" itemprop="contentUrl" sizes="(max-width: 750px) 100vw, (min-width: 751) 750px" srcset="{% for size in image.sizes.all%}{% get_image_by_size image size.slug %} {{size.width}}w{% if forloop.last%}"{%else%}, {%endif%}{%endfor%}{% for size in image.sizes.all%}{%if not forloop.first and not forloop.last%} src="{% get_image_by_size image size.slug %}"{%endif%}{%endfor%} alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}" data-jslghtbx="{%get_image_by_size image "original"%}" data-jslghtbx-group="group" {% if caption%}data-jslghtbx-caption="{{image.caption}}"{%endif%}>
- </a>
-{% if caption or exif or image.photo_credit_source %}<figcaption>{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | <small>Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}</small>{% endif %}{% if image.photo_credit_source %}{%if caption or exif %} | {%endif%}image by {% if image.photo_credit_url %}<a href="{{image.photo_credit_url}}" itemprop="author">{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}</a>{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}</figcaption>
-</figure>{%else%}{%if not is_cluster %}</div>{%endif%}
-{% endif %}
diff --git a/design/templates/lib/img_pictall.html b/design/templates/lib/img_pictall.html
deleted file mode 100644
index 7d539e8..0000000
--- a/design/templates/lib/img_pictall.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% load get_image_by_size %}
-{% load get_image_width %}
-{% if caption %}
-<figure class="picfull">{%endif%}
-<a href="{%get_image_by_size image "original"%} " title="view larger image"><img class="picfull" sizes="(max-width: 680px) 100vw, (min-width: 681) 680px" srcset="{% for size in image.sizes.all%}{% get_image_by_size image size.slug %} {% if image.is_portait %}{% get_image_width image size.height %}w{%else%}{{size.width}}w{%endif%}{% if forloop.last%}"{%else%}, {%endif%}{%endfor%}
- {% for size in image.sizes.all%}{%if forloop.first %} src="{% get_image_by_size image size.slug%}"{%endif%}{%endfor%} alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}" data-jslghtbx="{%get_image_by_size image "original"%}" data-jslghtbx-group="group" {% if caption%}data-jslghtbx-caption="{{image.caption}}"{%endif%}></a>
-{% if caption %}<figcaption>{{image.caption|safe}}</figcaption>
-</figure>
-{% endif %}
diff --git a/design/templates/lib/img_picwide.html b/design/templates/lib/img_picwide.html
deleted file mode 100644
index 9f98020..0000000
--- a/design/templates/lib/img_picwide.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{% load get_image_by_size %}{% if caption or exif or image.photo_credit_source %}<figure{%if not is_cluster %} class="picwide"{%endif%}>{%else%}{%if not is_cluster %}<div class="picwide">{%endif%}{%endif%}
- <a itemscope itemtype="http://schema.org/ImageObject" href="{%get_image_by_size image "original"%} " title="view larger image">
- <img class="u-photo" itemprop="contentUrl" sizes="(max-width: 1439px) 100vw, (min-width: 1440px) 1440px" srcset="{% for size in image.sizes.all%}{% get_image_by_size image size.slug %} {{size.width}}w{% if forloop.last%}"{%else%}, {%endif%}{%endfor%}{% for size in image.sizes.all%}{%if not forloop.first and not forloop.last%} src="{% get_image_by_size image size.slug %}"{%endif%}{%endfor%} alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}" data-jslghtbx="{%get_image_by_size image "original"%}" data-jslghtbx-group="group" {% if caption%}data-jslghtbx-caption="{{image.caption}}"{%endif%}>
- </a>
-{% if caption or exif or image.photo_credit_source %}<figcaption>{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | <small>Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}</small>{% endif %}{% if image.photo_credit_source %}{%if caption or exif %} | {%endif%}image by {% if image.photo_credit_url %}<a href="{{image.photo_credit_url}}" itemprop="author">{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}</a>{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}</figcaption>
-</figure>{%else%}{%if not is_cluster %}</div>{%endif%}
-{% endif %}
diff --git a/design/templates/lib/img_product.html b/design/templates/lib/img_product.html
deleted file mode 100644
index 58dd43e..0000000
--- a/design/templates/lib/img_product.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{% load get_image_by_size %}
-{% load get_image_width %}
-{% if caption or exif or image.photo_credit_source %}
-<figure{%if not is_cluster %} class="picfull"{%endif%}>{%else%}{%if not is_cluster %}<div class="picfull">{%endif%}{%endif%}
- <a itemscope itemtype="http://schema.org/ImageObject" href="{%get_image_by_size image "original"%} " title="view larger image">
- <img class="u-photo" itemprop="contentUrl" sizes="(max-width: 750px) 100vw, (min-width: 751) 750px" srcset="{% for size in image.sizes.all%}{% get_image_by_size image size.slug%} {{size.width}}w{% if forloop.last%}"{%else%}, {%endif%}{%endfor%}{% for size in image.sizes.all%}{%if not forloop.first and not forloop.last%} src="{% get_image_by_size image size.slug %}"{%endif%}{%endfor%} alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}" data-jslghtbx="{%get_image_by_size image "original"%}" data-jslghtbx-group="group" {% if caption%}data-jslghtbx-caption="{{image.caption}}"{%endif%}>
- </a>
-{% if caption or exif or image.photo_credit_source %}<figcaption>{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | <small>Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}</small>{% endif %}{% if image.photo_credit_source %}{%if caption or exif %} | {%endif%}image by {% if image.photo_credit_url %}<a href="{{image.photo_credit_url}}" itemprop="author">{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}</a>{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}</figcaption>
-</figure>{%else%}{%if not is_cluster %}</div>{%endif%}
-{% endif %}