New post : bournemouth-2019 + a mess of config fixes

This commit is contained in:
Don Harper 2019-06-15 21:49:35 -05:00
parent 696707d81c
commit 2b4f06ab55
32 changed files with 82 additions and 10 deletions

View file

@ -2,33 +2,90 @@ baseURL = "https://www.duckland.org/"
languageCode = "en-us" languageCode = "en-us"
title = "duckland.org" title = "duckland.org"
theme = "nederburg" theme = "nederburg"
# Enable comments by entering your Disqus shortname
disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""
paginate = 5 paginate = 5
Copyright = "All rights reserved - 2006-" Copyright = "All rights reserved - 2006-"
canonifyurls = true canonifyurls = true
[privacy]
# Google Analytics privacy settings - https://gohugo.io/about/hugo-and-gdpr/index.html#googleanalytics
[privacy.googleAnalytics]
# set to true to disable service
disable = false
# set to true to meet General Data Protection Regulation (GDPR)
anonymizeIP = false
respectDoNotTrack = false
useSessionStorage = false
[author] [author]
name = "don" name = "don"
[params] [params]
email = "duck@duckland.org" email = "duck@duckland.org"
slogan = "Random Quacking"
description = "Random Quacking" description = "Random Quacking"
cover = "images/user.jpg" cover = "images/user.jpg"
author = "don" author = "Don Harper"
authorlink = "https://www.duckland.org/"
bio = [
"Don is a computer guy stumbling through life trying to raise his kids and take some pictures"
]
copyright = [
"© 2006-2019 Don Harper"
]
authorlocation = "" authorlocation = ""
authorwebsite = "https://www.duckland.org" authorwebsite = "https://www.duckland.org"
logo = "images/user.png" logo = "images/user.png"
# Optional RSS-Link, if not provided it defaults to the standard index.xml
RSSLink = ""
githubName = "duckunix" githubName = "duckunix"
twitterName = "duckunix" twitterName = "duckunix"
# set true if you are not proud of using Hugo (true will hide the footer note "Proudly published with HUGO.....") # set true if you are not proud of using Hugo (true will hide the footer note "Proudly published with HUGO.....")
hideHUGOSupport = false hideHUGOSupport = false
showtoc = false showtoc = false
# Nav links in the side bar
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[outputs] [[menu.main]]
home = [ "RSS", "HTML"] name = "About"
url = "/stories/about/"
weight = 2
[outputFormats] [[menu.main]]
[outputFormats.RSS] name = "Privacy"
mediatype = "application/rss" url = "/stories/privacy/"
path = "feed" weight = 3
[[menu.main]]
name = "Photo Galleries"
url = "photos/"
weight = 4
[[menu.main]]
name = "Get in touch"
url = "contact/"
weight = 5
# this will also be in author bio if there is no writer.
[params.social]
email = "duck@duckland.org"
twitter = "https://twitter.com/duckunix"
linkedin = "https://www.linkedin.com/in/donaldharper"
#stackoverflow = "full profile url in stackoverflow"
instagram = "https://www.instagram.com/duckunix/"
github = "https://github.com/duckunix"
rss = true
#[outputs]
# home = [ "RSS", "HTML"]
#
#[outputFormats]
# [outputFormats.RSS]
# mediatype = "application/rss"
# path = "feed"

View file

@ -0,0 +1,15 @@
---
title: "Photos from Bournemouth 2019-06"
date: 2019-06-15T00:25:08-05:00
categories: ["photos","travel","work"]
image: /photos/bournemouth-201906/20190603161426546845.jpg
---
Another trip to the UK to meet with the team and do some planning.
I took the 'big' camera, as well as the smaller Panasonic DCM-ZS50, and my phone. Interestingly enough, out of the 29 'keepers' I have from the trip, 20 of them are from my phone, 7 from the Panasonic, and only 2 from the Olympia.
Not sure why, but it seem that it was the style I did which was more documentary vs. art, so the bigger camera only got in the way. And, the Panasonic does a good enough job for me when I want something more than a snap-shot.
{{<gallery dir="photos/bournemouth-201906" />}} {{< load-photoswipe >}}
On a more technical, geeky note, I am trying something different with these photos. I am publishing them in 'webp' format instead of my normal 'jpeg' format. Much smaller size, and the quality of the images look the same to me.

View file

@ -14,7 +14,7 @@ Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
<!-- skip files that aren't images, or that inlcude the thumb suffix in their name --> <!-- skip files that aren't images, or that inlcude the thumb suffix in their name -->
{{- $thumbext := $.Get "thumb" | default "-thumb" }} {{- $thumbext := $.Get "thumb" | default "-thumb" }}
{{- $isthumb := .Name | findRE ($thumbext | printf "%s\\.") }}<!-- is the current file a thumbnail image? --> {{- $isthumb := .Name | findRE ($thumbext | printf "%s\\.") }}<!-- is the current file a thumbnail image? -->
{{- $isimg := lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp)" }}<!-- is the current file an image? --> {{- $isimg := lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp|webp)" }}<!-- is the current file an image? -->
{{- if and $isimg (not $isthumb) }} {{- if and $isimg (not $isthumb) }}
{{- $caption := .Name | replaceRE "\\..*" "" | humanize }}<!-- humanized filename without extension --> {{- $caption := .Name | replaceRE "\\..*" "" | humanize }}<!-- humanized filename without extension -->
{{- $linkURL := print $baseURL ($.Get "dir") "/" .Name | absURL }}<!-- absolute URL to hi-res image --> {{- $linkURL := print $baseURL ($.Get "dir") "/" .Name | absURL }}<!-- absolute URL to hi-res image -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB