Introduced gallery category for full-size printing of images in the absence of text
This commit is contained in:
parent
5eb5c4e64c
commit
bb9f07c377
@ -1,12 +1,11 @@
|
|||||||
Title: Construction
|
Title: Construction
|
||||||
Date: 2020-04-24 17:01
|
Date: 2020-04-24 17:01
|
||||||
Modified: 2020-04-24 17:01
|
Modified: 2020-04-24 17:01
|
||||||
Category: public
|
Category: gallery
|
||||||
Tags: article
|
Tags: article
|
||||||
Slug: construction
|
Slug: construction
|
||||||
Authors: felicie
|
Authors: felicie
|
||||||
|
|
||||||
|
|
||||||
<audio controls="controls"
|
<audio controls="controls"
|
||||||
src="sounds/construction.wav"
|
src="sounds/construction.wav"
|
||||||
autoplay loop
|
autoplay loop
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Title: Sunday
|
Title: Sunday
|
||||||
Date: 2020-04-24 17:01
|
Date: 2020-04-24 17:01
|
||||||
Modified: 2020-04-24 17:01
|
Modified: 2020-04-24 17:01
|
||||||
Category: public
|
Category: gallery
|
||||||
Tags: article
|
Tags: article
|
||||||
Slug: sunday
|
Slug: sunday
|
||||||
Authors: felicie
|
Authors: felicie
|
||||||
|
0
output/category/gallery.html
Normal file
0
output/category/gallery.html
Normal file
@ -15,24 +15,23 @@
|
|||||||
|
|
||||||
<div class='content'>
|
<div class='content'>
|
||||||
<script src="/theme/js/slideshow.js"></script>
|
<script src="/theme/js/slideshow.js"></script>
|
||||||
|
|
||||||
<h1 class='article-title'>Construction</h1>
|
<h1 class='article-title'>Construction</h1>
|
||||||
<div class="article">
|
|
||||||
<div class='article-img column'>
|
<div class="gallery">
|
||||||
<img alt="" onclick="showSlide('img-1')" src="/images/Construction/Construction-1.jpg">
|
<!-- If there are only images, print them full-width. -->
|
||||||
<img alt="" onclick="showSlide('img-2')" src="/images/Construction/Construction-2.jpg">
|
<img class= "gallery-img" alt="" onclick="showSlide('img-1')" src="/images/Construction/Construction-1.jpg">
|
||||||
<img alt="" onclick="showSlide('img-3')" src="/images/Construction/Construction-3.jpg">
|
<br>
|
||||||
<img alt="" onclick="showSlide('img-4')" src="/images/Construction/Construction-4.jpg">
|
<img class= "gallery-img" alt="" onclick="showSlide('img-2')" src="/images/Construction/Construction-2.jpg">
|
||||||
<img alt="" onclick="showSlide('img-5')" src="/images/Construction/Construction-5.jpg">
|
<br>
|
||||||
</div>
|
<img class= "gallery-img" alt="" onclick="showSlide('img-3')" src="/images/Construction/Construction-3.jpg">
|
||||||
<div class='article-content column'> <p><audio controls="controls"
|
<br>
|
||||||
src="sounds/construction.wav"
|
<img class= "gallery-img" alt="" onclick="showSlide('img-4')" src="/images/Construction/Construction-4.jpg">
|
||||||
autoplay loop
|
<br>
|
||||||
class='audio'>
|
<img class= "gallery-img" alt="" onclick="showSlide('img-5')" src="/images/Construction/Construction-5.jpg">
|
||||||
Your browser does not support the HTML5 Audio element.
|
<br>
|
||||||
</audio></p></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Slides used for slideshow -->
|
||||||
<div id="slide-container">
|
<div id="slide-container">
|
||||||
<div id="close-modal" onclick="closeModal()">X</div>
|
<div id="close-modal" onclick="closeModal()">X</div>
|
||||||
<div id="slides" class="modal">
|
<div id="slides" class="modal">
|
||||||
|
@ -15,8 +15,9 @@
|
|||||||
|
|
||||||
<div class='content'>
|
<div class='content'>
|
||||||
<script src="/theme/js/slideshow.js"></script>
|
<script src="/theme/js/slideshow.js"></script>
|
||||||
|
|
||||||
<h1 class='article-title'>Courtyard</h1>
|
<h1 class='article-title'>Courtyard</h1>
|
||||||
|
|
||||||
|
<!-- If there is a text, print two columns -->
|
||||||
<div class="article">
|
<div class="article">
|
||||||
<div class='article-img column'>
|
<div class='article-img column'>
|
||||||
<img alt="" onclick="showSlide('img-1')" src="/images/Courtyard/Courtyard-1.jpg">
|
<img alt="" onclick="showSlide('img-1')" src="/images/Courtyard/Courtyard-1.jpg">
|
||||||
@ -44,6 +45,7 @@ He also comments with either self-pity or candid interest everything he undertak
|
|||||||
He can hear neighbors laughing out loud, as they always had in peaceful sunny spring afternoon. They started to watch an old TV show last week. He knows the ending and can even tell some lines.</p></div>
|
He can hear neighbors laughing out loud, as they always had in peaceful sunny spring afternoon. They started to watch an old TV show last week. He knows the ending and can even tell some lines.</p></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Slides used for slideshow -->
|
||||||
<div id="slide-container">
|
<div id="slide-container">
|
||||||
<div id="close-modal" onclick="closeModal()">X</div>
|
<div id="close-modal" onclick="closeModal()">X</div>
|
||||||
<div id="slides" class="modal">
|
<div id="slides" class="modal">
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
autoplay loop
|
autoplay loop
|
||||||
class='audio'>
|
class='audio'>
|
||||||
Your browser does not support the HTML5 Audio element.
|
Your browser does not support the HTML5 Audio element.
|
||||||
</audio></p></content><category term="public"></category><category term="article"></category></entry><entry><title>Courtyard</title><link href="https://fel.theo-lem.org/courtyard.html" rel="alternate"></link><published>2020-04-24T17:01:00+02:00</published><updated>2020-04-24T17:01:00+02:00</updated><author><name>felicie</name></author><id>tag:fel.theo-lem.org,2020-04-24:/courtyard.html</id><summary type="html"><p>A man and a building.</p></summary><content type="html"><p><audio controls="controls"
|
</audio></p></content><category term="gallery"></category><category term="article"></category></entry><entry><title>Courtyard</title><link href="https://fel.theo-lem.org/courtyard.html" rel="alternate"></link><published>2020-04-24T17:01:00+02:00</published><updated>2020-04-24T17:01:00+02:00</updated><author><name>felicie</name></author><id>tag:fel.theo-lem.org,2020-04-24:/courtyard.html</id><summary type="html"><p>A man and a building.</p></summary><content type="html"><p><audio controls="controls"
|
||||||
src="sounds/courtyard.wav"
|
src="sounds/courtyard.wav"
|
||||||
autoplay loop
|
autoplay loop
|
||||||
class='audio'>
|
class='audio'>
|
||||||
@ -25,4 +25,4 @@ He can hear neighbors laughing out loud, as they always had in peaceful sunny sp
|
|||||||
autoplay loop
|
autoplay loop
|
||||||
class='audio'>
|
class='audio'>
|
||||||
Your browser does not support the HTML5 Audio element.
|
Your browser does not support the HTML5 Audio element.
|
||||||
</audio></p></content><category term="public"></category><category term="article"></category></entry></feed>
|
</audio></p></content><category term="gallery"></category><category term="article"></category></entry></feed>
|
12
output/feeds/gallery.atom.xml
Normal file
12
output/feeds/gallery.atom.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<feed xmlns="http://www.w3.org/2005/Atom"><title>Better days - gallery</title><link href="https://fel.theo-lem.org/" rel="alternate"></link><link href="https://fel.theo-lem.org/feeds/gallery.atom.xml" rel="self"></link><id>https://fel.theo-lem.org/</id><updated>2020-04-24T17:01:00+02:00</updated><entry><title>Construction</title><link href="https://fel.theo-lem.org/construction.html" rel="alternate"></link><published>2020-04-24T17:01:00+02:00</published><updated>2020-04-24T17:01:00+02:00</updated><author><name>felicie</name></author><id>tag:fel.theo-lem.org,2020-04-24:/construction.html</id><content type="html"><p><audio controls="controls"
|
||||||
|
src="sounds/construction.wav"
|
||||||
|
autoplay loop
|
||||||
|
class='audio'>
|
||||||
|
Your browser does not support the HTML5 Audio element.
|
||||||
|
</audio></p></content><category term="gallery"></category><category term="article"></category></entry><entry><title>Sunday</title><link href="https://fel.theo-lem.org/sunday.html" rel="alternate"></link><published>2020-04-24T17:01:00+02:00</published><updated>2020-04-24T17:01:00+02:00</updated><author><name>felicie</name></author><id>tag:fel.theo-lem.org,2020-04-24:/sunday.html</id><content type="html"><p><audio controls="controls"
|
||||||
|
src="sounds/sunday.wav"
|
||||||
|
autoplay loop
|
||||||
|
class='audio'>
|
||||||
|
Your browser does not support the HTML5 Audio element.
|
||||||
|
</audio></p></content><category term="gallery"></category><category term="article"></category></entry></feed>
|
@ -1,10 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom"><title>Better days - public</title><link href="https://fel.theo-lem.org/" rel="alternate"></link><link href="https://fel.theo-lem.org/feeds/public.atom.xml" rel="self"></link><id>https://fel.theo-lem.org/</id><updated>2020-04-24T17:01:00+02:00</updated><entry><title>Construction</title><link href="https://fel.theo-lem.org/construction.html" rel="alternate"></link><published>2020-04-24T17:01:00+02:00</published><updated>2020-04-24T17:01:00+02:00</updated><author><name>felicie</name></author><id>tag:fel.theo-lem.org,2020-04-24:/construction.html</id><content type="html"><p><audio controls="controls"
|
<feed xmlns="http://www.w3.org/2005/Atom"><title>Better days - public</title><link href="https://fel.theo-lem.org/" rel="alternate"></link><link href="https://fel.theo-lem.org/feeds/public.atom.xml" rel="self"></link><id>https://fel.theo-lem.org/</id><updated>2020-04-24T17:01:00+02:00</updated><entry><title>Courtyard</title><link href="https://fel.theo-lem.org/courtyard.html" rel="alternate"></link><published>2020-04-24T17:01:00+02:00</published><updated>2020-04-24T17:01:00+02:00</updated><author><name>felicie</name></author><id>tag:fel.theo-lem.org,2020-04-24:/courtyard.html</id><summary type="html"><p>A man and a building.</p></summary><content type="html"><p><audio controls="controls"
|
||||||
src="sounds/construction.wav"
|
|
||||||
autoplay loop
|
|
||||||
class='audio'>
|
|
||||||
Your browser does not support the HTML5 Audio element.
|
|
||||||
</audio></p></content><category term="public"></category><category term="article"></category></entry><entry><title>Courtyard</title><link href="https://fel.theo-lem.org/courtyard.html" rel="alternate"></link><published>2020-04-24T17:01:00+02:00</published><updated>2020-04-24T17:01:00+02:00</updated><author><name>felicie</name></author><id>tag:fel.theo-lem.org,2020-04-24:/courtyard.html</id><summary type="html"><p>A man and a building.</p></summary><content type="html"><p><audio controls="controls"
|
|
||||||
src="sounds/courtyard.wav"
|
src="sounds/courtyard.wav"
|
||||||
autoplay loop
|
autoplay loop
|
||||||
class='audio'>
|
class='audio'>
|
||||||
@ -20,9 +15,4 @@ At sunset, he starts to think that the angle of the light on the stretch of eart
|
|||||||
<p>He laughs out loud more regularly, and it sounds odd. Both liberated and self-aware at the same time. As if he was in actual social exchange, it is often followed by the need to express, out loud again, what was so funny that he couldn’t hold it in. The toothbrush on the side of the sink seems confused but if that is what it takes to be at peace with himself, it is happy to help.
|
<p>He laughs out loud more regularly, and it sounds odd. Both liberated and self-aware at the same time. As if he was in actual social exchange, it is often followed by the need to express, out loud again, what was so funny that he couldn’t hold it in. The toothbrush on the side of the sink seems confused but if that is what it takes to be at peace with himself, it is happy to help.
|
||||||
He also comments with either self-pity or candid interest everything he undertakes. He even talks back to himself sometimes, which he always assumed was the point of no return. But having the last word has become a matter of principle.</p>
|
He also comments with either self-pity or candid interest everything he undertakes. He even talks back to himself sometimes, which he always assumed was the point of no return. But having the last word has become a matter of principle.</p>
|
||||||
<p>He goes to the balcony twice a day to smoke a cigarette. It overlooks the courtyard, so it is just outside enough to give himself the impression that he is going somewhere. The junk and the dust lingering on the other balconies have made space to allow a chair and a reading person to get a bit of sunlight.
|
<p>He goes to the balcony twice a day to smoke a cigarette. It overlooks the courtyard, so it is just outside enough to give himself the impression that he is going somewhere. The junk and the dust lingering on the other balconies have made space to allow a chair and a reading person to get a bit of sunlight.
|
||||||
He can hear neighbors laughing out loud, as they always had in peaceful sunny spring afternoon. They started to watch an old TV show last week. He knows the ending and can even tell some lines.</p></content><category term="public"></category></entry><entry><title>Sunday</title><link href="https://fel.theo-lem.org/sunday.html" rel="alternate"></link><published>2020-04-24T17:01:00+02:00</published><updated>2020-04-24T17:01:00+02:00</updated><author><name>felicie</name></author><id>tag:fel.theo-lem.org,2020-04-24:/sunday.html</id><content type="html"><p><audio controls="controls"
|
He can hear neighbors laughing out loud, as they always had in peaceful sunny spring afternoon. They started to watch an old TV show last week. He knows the ending and can even tell some lines.</p></content><category term="public"></category></entry></feed>
|
||||||
src="sounds/sunday.wav"
|
|
||||||
autoplay loop
|
|
||||||
class='audio'>
|
|
||||||
Your browser does not support the HTML5 Audio element.
|
|
||||||
</audio></p></content><category term="public"></category><category term="article"></category></entry></feed>
|
|
@ -15,24 +15,23 @@
|
|||||||
|
|
||||||
<div class='content'>
|
<div class='content'>
|
||||||
<script src="/theme/js/slideshow.js"></script>
|
<script src="/theme/js/slideshow.js"></script>
|
||||||
|
|
||||||
<h1 class='article-title'>Sunday</h1>
|
<h1 class='article-title'>Sunday</h1>
|
||||||
<div class="article">
|
|
||||||
<div class='article-img column'>
|
<div class="gallery">
|
||||||
<img alt="" onclick="showSlide('img-1')" src="/images/Sunday/Sunday-1.jpg">
|
<!-- If there are only images, print them full-width. -->
|
||||||
<img alt="" onclick="showSlide('img-2')" src="/images/Sunday/Sunday-2.jpg">
|
<img class= "gallery-img" alt="" onclick="showSlide('img-1')" src="/images/Sunday/Sunday-1.jpg">
|
||||||
<img alt="" onclick="showSlide('img-3')" src="/images/Sunday/Sunday-3.jpg">
|
<br>
|
||||||
<img alt="" onclick="showSlide('img-4')" src="/images/Sunday/Sunday-4.jpg">
|
<img class= "gallery-img" alt="" onclick="showSlide('img-2')" src="/images/Sunday/Sunday-2.jpg">
|
||||||
<img alt="" onclick="showSlide('img-5')" src="/images/Sunday/Sunday-5.jpg">
|
<br>
|
||||||
</div>
|
<img class= "gallery-img" alt="" onclick="showSlide('img-3')" src="/images/Sunday/Sunday-3.jpg">
|
||||||
<div class='article-content column'> <p><audio controls="controls"
|
<br>
|
||||||
src="sounds/sunday.wav"
|
<img class= "gallery-img" alt="" onclick="showSlide('img-4')" src="/images/Sunday/Sunday-4.jpg">
|
||||||
autoplay loop
|
<br>
|
||||||
class='audio'>
|
<img class= "gallery-img" alt="" onclick="showSlide('img-5')" src="/images/Sunday/Sunday-5.jpg">
|
||||||
Your browser does not support the HTML5 Audio element.
|
<br>
|
||||||
</audio></p></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Slides used for slideshow -->
|
||||||
<div id="slide-container">
|
<div id="slide-container">
|
||||||
<div id="close-modal" onclick="closeModal()">X</div>
|
<div id="close-modal" onclick="closeModal()">X</div>
|
||||||
<div id="slides" class="modal">
|
<div id="slides" class="modal">
|
||||||
|
@ -78,7 +78,7 @@ header{
|
|||||||
display: flex;
|
display: flex;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
max-width: 50%;
|
max-width: 70%;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,6 +158,11 @@ p a {
|
|||||||
max-width: 70%;
|
max-width: 70%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gallery-img {
|
||||||
|
width: 100%;
|
||||||
|
padding-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
.audio {
|
.audio {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -177,6 +182,11 @@ p a {
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gallery {
|
||||||
|
display: block;
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
.article::after {
|
.article::after {
|
||||||
content: "";
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -78,7 +78,7 @@ header{
|
|||||||
display: flex;
|
display: flex;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
max-width: 50%;
|
max-width: 70%;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,6 +158,11 @@ p a {
|
|||||||
max-width: 70%;
|
max-width: 70%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gallery-img {
|
||||||
|
width: 100%;
|
||||||
|
padding-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
.audio {
|
.audio {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -177,6 +182,11 @@ p a {
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gallery {
|
||||||
|
display: block;
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
.article::after {
|
.article::after {
|
||||||
content: "";
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -6,8 +6,18 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<script src="{{ SITE_URL }}/theme/js/slideshow.js"></script>
|
<script src="{{ SITE_URL }}/theme/js/slideshow.js"></script>
|
||||||
|
|
||||||
<h1 class='article-title'>{{ article.title }}</h1>
|
<h1 class='article-title'>{{ article.title }}</h1>
|
||||||
|
|
||||||
|
{% if article.category == 'gallery' %}
|
||||||
|
<div class="gallery">
|
||||||
|
<!-- If there are only images, print them full-width. -->
|
||||||
|
{% for i in [1, 2, 3, 4, 5] %}
|
||||||
|
<img class= "gallery-img" alt="" onclick="showSlide('img-{{ i }}')" src="{{ SITE_URL }}/images/{{article.title}}/{{ article.title }}-{{ i }}.jpg">
|
||||||
|
<br>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
{% else %}
|
||||||
|
<!-- If there is a text, print two columns -->
|
||||||
<div class="article">
|
<div class="article">
|
||||||
<div class='article-img column'>
|
<div class='article-img column'>
|
||||||
{% for i in [1, 2, 3, 4, 5] %}
|
{% for i in [1, 2, 3, 4, 5] %}
|
||||||
@ -16,7 +26,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class='article-content column'> {{ article.content }}</div>
|
<div class='article-content column'> {{ article.content }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif%}
|
||||||
|
|
||||||
|
<!-- Slides used for slideshow -->
|
||||||
<div id="slide-container">
|
<div id="slide-container">
|
||||||
<div id="close-modal" onclick="closeModal()">X</div>
|
<div id="close-modal" onclick="closeModal()">X</div>
|
||||||
<div id="slides" class="modal">
|
<div id="slides" class="modal">
|
||||||
|
Loading…
Reference in New Issue
Block a user