Add photography section
@ -1,9 +1,7 @@
|
||||
---
|
||||
title: Blog
|
||||
sort_by: date
|
||||
extra:
|
||||
section_embed_mode: blog_posts
|
||||
# redir_to: /timeline
|
||||
template: "blog-timeline.html"
|
||||
---
|
||||
|
||||
The following is a list of articles I've written. This is also available in [RSS](/rss.xml) format.
|
||||
|
8
content/photos/2017-06-21-old-quebec.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Old Quebec
|
||||
date: 2017-06-21
|
||||
extra:
|
||||
cover_image: /photos/2017-06-21-old-quebec.jpeg
|
||||
---
|
||||
|
||||

|
8
content/photos/2017-06-21-stormy-quebec-street.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Stormy Street in Quebec
|
||||
date: 2017-06-21
|
||||
extra:
|
||||
cover_image: /photos/2017-06-21-stormy-quebec-street.jpeg
|
||||
---
|
||||
|
||||

|
8
content/photos/2017-06-22-montmorency-falls.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Montmorency Falls
|
||||
date: 2017-06-22
|
||||
extra:
|
||||
cover_image: /photos/2017-06-22-montmorency-falls.jpeg
|
||||
---
|
||||
|
||||

|
8
content/photos/2017-08-04-rocky-shore-halifax.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Rocky Shore
|
||||
date: 2017-08-04
|
||||
extra:
|
||||
cover_image: /photos/2017-08-04-rocky-shore-halifax.jpeg
|
||||
---
|
||||
|
||||

|
10
content/photos/2019-08-04-halifax-port.md
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Halifax Port
|
||||
date: 2019-08-04
|
||||
extra:
|
||||
cover_image: /photos/2019-08-04-halifax-port.jpeg
|
||||
---
|
||||
|
||||

|
||||
|
||||
*Shot at [PSA International](https://www.globalpsa.com/)'s Halifax port.*
|
10
content/photos/2019-08-09-jacobs-ladder.md
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Jacob's Ladder
|
||||
date: 2019-08-09
|
||||
extra:
|
||||
cover_image: /photos/2019-08-09-jacobs-ladder.jpeg
|
||||
---
|
||||
|
||||

|
||||
|
||||
*Shot at Jacob's Ladder, a stairway in Victoria Park, Truro, Nova Scotia.*
|
8
content/photos/2020-07-19-my-desk.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: My Desk
|
||||
date: 2020-07-19
|
||||
extra:
|
||||
cover_image: /photos/2020-07-19-my-desk.png
|
||||
---
|
||||
|
||||

|
8
content/photos/2020-07-23-two-cars.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Two Cars
|
||||
date: 2020-07-23
|
||||
extra:
|
||||
cover_image: /photos/2020-07-23-two-cars.png
|
||||
---
|
||||
|
||||

|
8
content/photos/2022-01-18-snow-day-in-space.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Snow Day in Space
|
||||
date: 2022-01-18
|
||||
extra:
|
||||
cover_image: /photos/2022-01-18-snow-day-in-space.jpg
|
||||
---
|
||||
|
||||

|
6
content/photos/_index.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Photography
|
||||
sort_by: date
|
||||
template: "photo-timeline.html"
|
||||
---
|
||||
|
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 3.7 MiB |
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 3.9 MiB After Width: | Height: | Size: 3.9 MiB |
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
Before Width: | Height: | Size: 3.5 MiB After Width: | Height: | Size: 3.5 MiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
BIN
static/photos/2020-07-19-my-desk.png
Normal file
After Width: | Height: | Size: 3.0 MiB |
BIN
static/photos/2020-07-23-two-cars.png
Normal file
After Width: | Height: | Size: 20 MiB |
BIN
static/photos/2022-01-18-snow-day-in-space.jpg
Normal file
After Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 4.6 MiB |
Before Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 689 KiB |
Before Width: | Height: | Size: 6.9 MiB |
Before Width: | Height: | Size: 5.0 MiB |
Before Width: | Height: | Size: 985 KiB |
Before Width: | Height: | Size: 4.3 MiB |
Before Width: | Height: | Size: 2.5 MiB |
Before Width: | Height: | Size: 2.4 MiB |
Before Width: | Height: | Size: 5.0 MiB |
Before Width: | Height: | Size: 4.9 MiB |
@ -108,6 +108,7 @@
|
||||
<li><a href="/blog">Blog</a></li>
|
||||
<li><a href="/radio">Radio</a></li>
|
||||
<li><a href="/music">Music</a></li>
|
||||
<li><a href="/photos">Photos</a></li>
|
||||
<li><a href="/contact">Contact</a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
|
28
templates/blog-timeline.html
Normal file
@ -0,0 +1,28 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
||||
{{super()}}
|
||||
|
||||
{# Posts shall be broken down by year #}
|
||||
{% set title_year = "3000" %}
|
||||
{% for page in section.pages %}
|
||||
{% if not page.extra.hidden %}
|
||||
{% set page_year = page.date | date(format="%Y")%}
|
||||
{% if page_year != title_year %}
|
||||
{% set_global title_year = page_year %}
|
||||
|
||||
</ul>
|
||||
<h2>{{title_year}}</h2>
|
||||
<ul class="blog-post-list">
|
||||
{% endif %}
|
||||
<li>
|
||||
<span class="date" {% if page.draft %}data-draft="true" {% endif %}>{{page.date}}:</span>
|
||||
<a href="{{page.path | safe}}">{{page.title}}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endblock content %}
|
23
templates/photo-timeline.html
Normal file
@ -0,0 +1,23 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
||||
{{super()}}
|
||||
|
||||
{% for page in section.pages %}
|
||||
{% if not page.extra.hidden %}
|
||||
|
||||
<a href="{{page.path | safe}}" style="color:black !important;">
|
||||
<img src="{{page.extra.cover_image | safe}}" alt="{{page.title}}" style="width:100%;" loading="lazy">
|
||||
<div style="display:flex;justify-content:space-between;">
|
||||
<span><strong>{{page.title}}</strong></span>
|
||||
<span class="gray">{{page.date}}</span>
|
||||
</div>
|
||||
</a>
|
||||
<br>
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endblock content %}
|
@ -5,29 +5,4 @@
|
||||
|
||||
{{super()}}
|
||||
|
||||
{# Blog posts page gets special treatment #}
|
||||
{% if section.path == "/blog/" %}
|
||||
|
||||
|
||||
{# Posts shall be broken down by year #}
|
||||
{% set title_year = "3000" %}
|
||||
{% for page in section.pages %}
|
||||
{% if not page.extra.hidden %}
|
||||
{% set page_year = page.date | date(format="%Y")%}
|
||||
{% if page_year != title_year %}
|
||||
{% set_global title_year = page_year %}
|
||||
|
||||
</ul>
|
||||
<h2>{{title_year}}</h2>
|
||||
<ul class="blog-post-list">
|
||||
{% endif %}
|
||||
<li>
|
||||
<span class="date" {% if page.draft %}data-draft="true" {% endif %}>{{page.date}}:</span>
|
||||
<a href="{{page.path | safe}}">{{page.title}}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% endblock content %}
|