New post, new gallery, tweek to config

This commit is contained in:
Don Harper 2019-06-26 21:30:04 -05:00
parent b77e3514d3
commit 98a029bceb
11 changed files with 137 additions and 5 deletions

View file

@ -8,7 +8,8 @@ disqusShortname = ""
googleAnalytics = ""
paginate = 5
Copyright = "All rights reserved - 2006-"
canonifyurls = true
preserveTaxonomyNames = true
#canonifyurls = true
[privacy]
# Google Analytics privacy settings - https://gohugo.io/about/hugo-and-gdpr/index.html#googleanalytics
@ -20,10 +21,6 @@ canonifyurls = true
respectDoNotTrack = false
useSessionStorage = false
[author]
name = "don"
[params]
email = "duck@duckland.org"
slogan = "Random Quacking"

View file

@ -0,0 +1,10 @@
---
title: "Black and White School Park"
date: 2019-07-01T00:25:08-05:00
categories: ["photos"]
image: /photos/Local/Black-and-White-School-Park/20190624183103.jpg
---
The local elementary school as a nice little playground/park next to it, and when I was there the other night, I took a few pictures, this time in B&W.
{{<gallery dir="photos/Local/Black-and-White-School-Park" />}} {{< load-photoswipe >}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

View file

@ -0,0 +1,125 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Black-and-White-School-Park</title>
<meta name="description" content="">
<meta name="author" content="Don Harper">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="../../static/css/normalize.css">
<link rel="stylesheet" href="../../static/themes/classic/galleria.classic.css">
<link rel="stylesheet" href="../../static/css/style.css">
<style>
body::after{
position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
content:url(20190624183103.jpg);
}</style>
</head>
<body>
<div class="container">
<header>
<h1><a href="../../">duckland.org&#39;s photo gallery</a></h1>
<nav id="menu">
<ul>
<li><a href="/photos/">Photos Home</a></li>
<li><a href="/">Home Page</a></li>
</ul>
</nav>
<div class="breadcrumb">
<h2>
<a href="../">Local</a> » <a href=".">Black-and-White-School-Park</a></h2>
</div>
<hr>
</header>
<div id="main" role="main">
<div class="icons">
<a id="fullscreen"><img src="../../static/img/fullscreen.png"
title="Fullscreen" alt="Fullscreen (f)" /></a>
</div>
<div id="gallery"></div>
</div>
<footer>
<p>
<span>&copy; Don Harper</span>
<span>Generated by <a href="https://github.com/saimn/sigal">sigal</a></span>
</p>
</footer> </div>
<script src="../../static/jquery-3.3.1.min.js"></script>
<script src="../../static/galleria.min.js"></script>
<script src="../../static/themes/classic/galleria.classic.min.js"></script>
<script src="../../static/plugins/history/galleria.history.min.js"></script>
<script>
var data = [
{
title: "20190624183103.jpg",
description: "<div class='film-meta'><abbr title='film speed'>100</abbr><abbr title='exposure'>1/100</abbr><abbr title='aperture'>3.3</abbr><abbr title='focal length'>4</abbr></div><a title='location' href='https://www.openstreetmap.org/?mlat=29.7506611&amp;mlon=-95.7710611&amp;zoom=12&amp;layers=M' target='_blank' class='map' >N29.750661W95.771061</a><abbr title='camera make and model'>Panasonic DMC-ZS40</abbr><abbr title='date'>Mon 24 Jun 2019 06:31:03 PM </abbr>",
thumb: "thumbnails/20190624183103.jpg",
image: "20190624183103.jpg"
},
{
title: "20190624183327.jpg",
description: "<div class='film-meta'><abbr title='film speed'>400</abbr><abbr title='exposure'>1/60</abbr><abbr title='aperture'>6.4</abbr><abbr title='focal length'>129</abbr></div><a title='location' href='https://www.openstreetmap.org/?mlat=29.750599983333334&amp;mlon=-95.77103333333334&amp;zoom=12&amp;layers=M' target='_blank' class='map' >N29.750600W95.771033</a><abbr title='camera make and model'>Panasonic DMC-ZS40</abbr><abbr title='date'>Mon 24 Jun 2019 06:33:27 PM </abbr>",
thumb: "thumbnails/20190624183327.jpg",
image: "20190624183327.jpg"
},
{
title: "20190624183345.jpg",
description: "<div class='film-meta'><abbr title='film speed'>400</abbr><abbr title='exposure'>1/60</abbr><abbr title='aperture'>6.4</abbr><abbr title='focal length'>129</abbr></div><a title='location' href='https://www.openstreetmap.org/?mlat=29.7504861&amp;mlon=-95.77108333333334&amp;zoom=12&amp;layers=M' target='_blank' class='map' >N29.750486W95.771083</a><abbr title='camera make and model'>Panasonic DMC-ZS40</abbr><abbr title='date'>Mon 24 Jun 2019 06:33:45 PM </abbr>",
thumb: "thumbnails/20190624183345.jpg",
image: "20190624183345.jpg"
},
{
title: "20190624183911.jpg",
description: "<div class='film-meta'><abbr title='film speed'>100</abbr><abbr title='exposure'>1/60</abbr><abbr title='aperture'>4.0</abbr><abbr title='focal length'>8</abbr></div><a title='location' href='https://www.openstreetmap.org/?mlat=29.750727766666667&amp;mlon=-95.77099443333333&amp;zoom=12&amp;layers=M' target='_blank' class='map' >N29.750728W95.770994</a><abbr title='camera make and model'>Panasonic DMC-ZS40</abbr><abbr title='date'>Mon 24 Jun 2019 06:39:11 PM </abbr>",
thumb: "thumbnails/20190624183911.jpg",
image: "20190624183911.jpg"
},
]
Galleria.ready(function() {
/*
load thumbnails after gallery setup, and download has started
for the main images, but before the loading of map tiles starts
in the background. This ensures visible elements are prioritised
over non-visible elements
The choice to lazy load thumbnails in batches of 50 was not made
scientifically. Other numbers may yield better performance.
*/
this.lazyLoadChunks( 50 );
this.attachKeyboard({
right: this.next,
left: this.prev,
/* Toggle fullscreen display on press of 'f' key */
0x46: this.toggleFullscreen,
});
var gallery = this;
$('#fullscreen').click(function() {
gallery.toggleFullscreen();
});
$('.icons').appendTo(this.$('container'));
});
Galleria.configure({
imageCrop: false,
transition: "fade",
thumbnails: "lazy"
});
Galleria.run("#gallery", {dataSource: data});
</script>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB