From bad7b300fcbd4045965dc5e723351bece9e9d19d Mon Sep 17 00:00:00 2001 From: Duncan Mackenzie Date: Sat, 20 Apr 2024 06:23:53 -0700 Subject: [PATCH] new hike, some updates to the styles to handle 2 line album titles and longer descriptions --- content/albums/purisima.md | 340 ++++++++++++++++++ .../assets/scss/galleries/_styles.scss | 2 - .../hello-friend-ng/layouts/albums/list.html | 2 +- .../layouts/partials/albumCard.html | 2 +- 4 files changed, 342 insertions(+), 4 deletions(-) create mode 100644 content/albums/purisima.md diff --git a/content/albums/purisima.md b/content/albums/purisima.md new file mode 100644 index 00000000..5ef9387b --- /dev/null +++ b/content/albums/purisima.md @@ -0,0 +1,340 @@ +--- +{ + "Title": "Purisima trail hike", + "Description": "In August of 2023, I went down to San Francisco for work, but I had some time on the Sunday and I wanted to get out into the woods. I was trying to figure out the best way to get to the Muir woods, but my local friends told me to head over to this Purisima trail instead. Close by where I was staying and an amazing little walk!", + "BaseURL": "https://photos.duncanmackenzie.net/images/purisima", + "Featured": 5, + "Pictures": [ + { + "Title": "Sign at the trailhead starting my hike", + "Caption": "Sign says \u0022Purisima Open Space Grabtown Gulch Trail\u0022", + "Latitude": "", + "Longitude": "", + "Camera": "FUJIFILM X-T5", + "Lens": "FUJIFILM XF18-55mm F2.8-4 R LM OIS", + "FocalLength": "18", + "fStop": "4", + "DateTimeOriginal": "2023-08-27T07:07:37-07:00", + "Links": [ + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-01-2160.jpg", + "Width": 2160, + "Height": 1440 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-01-1080.jpg", + "Width": 1080, + "Height": 720 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-01-540.jpg", + "Width": 540, + "Height": 360 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-01-220.jpg", + "Width": 220, + "Height": 147 + } + ] + }, + { + "Title": "Sunlight through the trees", + "Caption": "", + "Latitude": "", + "Longitude": "", + "Camera": "FUJIFILM X-T5", + "Lens": "FUJIFILM XF16mm F1.4 R WR", + "FocalLength": "", + "fStop": "16", + "DateTimeOriginal": "2023-08-27T07:34:06-07:00", + "Links": [ + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-02-2160.jpg", + "Width": 2160, + "Height": 1440 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-02-1080.jpg", + "Width": 1080, + "Height": 720 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-02-540.jpg", + "Width": 540, + "Height": 360 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-02-220.jpg", + "Width": 220, + "Height": 147 + } + ] + }, + { + "Title": "Sunlight through the trees", + "Caption": "", + "Latitude": "", + "Longitude": "", + "Camera": "FUJIFILM X-T5", + "Lens": "FUJIFILM XF16mm F1.4 R WR", + "FocalLength": "", + "fStop": "16", + "DateTimeOriginal": "2023-08-27T07:34:15-07:00", + "Links": [ + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-03-2160.jpg", + "Width": 2160, + "Height": 1440 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-03-1080.jpg", + "Width": 1080, + "Height": 720 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-03-540.jpg", + "Width": 540, + "Height": 360 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-03-220.jpg", + "Width": 220, + "Height": 147 + } + ] + }, + { + "Title": "Heading along the deeply wooded trail", + "Caption": "", + "Latitude": "", + "Longitude": "", + "Camera": "FUJIFILM X-T5", + "Lens": "FUJIFILM XF16mm F1.4 R WR", + "FocalLength": "", + "fStop": "2.8", + "DateTimeOriginal": "2023-08-27T07:45:41-07:00", + "Links": [ + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-04-2160.jpg", + "Width": 2160, + "Height": 1440 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-04-1080.jpg", + "Width": 1080, + "Height": 720 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-04-540.jpg", + "Width": 540, + "Height": 360 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-04-220.jpg", + "Width": 220, + "Height": 147 + } + ] + }, + { + "Title": "My first banana slug sighting!", + "Caption": "", + "Latitude": "", + "Longitude": "", + "Camera": "FUJIFILM X-T5", + "Lens": "FUJIFILM XF16mm F1.4 R WR", + "FocalLength": "", + "fStop": "3.2", + "DateTimeOriginal": "2023-08-27T08:04:50-07:00", + "Links": [ + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-05-2160.jpg", + "Width": 2160, + "Height": 1440 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-05-1080.jpg", + "Width": 1080, + "Height": 720 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-05-540.jpg", + "Width": 540, + "Height": 360 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-05-220.jpg", + "Width": 220, + "Height": 147 + } + ] + }, + { + "Title": "Had to stop and take a few pictures of the sun rays peaking out ", + "Caption": "", + "Latitude": "", + "Longitude": "", + "Camera": "FUJIFILM X-T5", + "Lens": "FUJIFILM XF16mm F1.4 R WR", + "FocalLength": "", + "fStop": "1.4", + "DateTimeOriginal": "2023-08-27T08:17:55-07:00", + "Links": [ + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-06-2160.jpg", + "Width": 2160, + "Height": 1440 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-06-1080.jpg", + "Width": 1080, + "Height": 720 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-06-540.jpg", + "Width": 540, + "Height": 360 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-06-220.jpg", + "Width": 220, + "Height": 147 + } + ] + }, + { + "Title": "Straight on sunray shots", + "Caption": "", + "Latitude": "", + "Longitude": "", + "Camera": "FUJIFILM X-T5", + "Lens": "FUJIFILM XF16mm F1.4 R WR", + "FocalLength": "", + "fStop": "1.4", + "DateTimeOriginal": "2023-08-27T08:18:25-07:00", + "Links": [ + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-07-2160.jpg", + "Width": 2160, + "Height": 1440 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-07-1080.jpg", + "Width": 1080, + "Height": 720 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-07-540.jpg", + "Width": 540, + "Height": 360 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-07-220.jpg", + "Width": 220, + "Height": 147 + } + ] + }, + { + "Title": "Straight on sunray shots", + "Caption": "", + "Latitude": "", + "Longitude": "", + "Camera": "FUJIFILM X-T5", + "Lens": "FUJIFILM XF16mm F1.4 R WR", + "FocalLength": "", + "fStop": "1.4", + "DateTimeOriginal": "2023-08-27T08:18:30-07:00", + "Links": [ + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-08-2160.jpg", + "Width": 2160, + "Height": 3240 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-08-1080.jpg", + "Width": 1080, + "Height": 1620 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-08-540.jpg", + "Width": 540, + "Height": 810 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-08-220.jpg", + "Width": 220, + "Height": 330 + } + ] + }, + { + "Title": "Straight on sunray shots", + "Caption": "", + "Latitude": "", + "Longitude": "", + "Camera": "FUJIFILM X-T5", + "Lens": "FUJIFILM XF16mm F1.4 R WR", + "FocalLength": "", + "fStop": "1.4", + "DateTimeOriginal": "2023-08-27T08:18:42-07:00", + "Links": [ + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-09-2160.jpg", + "Width": 2160, + "Height": 1440 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-09-1080.jpg", + "Width": 1080, + "Height": 720 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-09-540.jpg", + "Width": 540, + "Height": 360 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-09-220.jpg", + "Width": 220, + "Height": 147 + } + ] + }, + { + "Title": "Different view, back to more normal sun through the trees", + "Caption": "", + "Latitude": "", + "Longitude": "", + "Camera": "FUJIFILM X-T5", + "Lens": "FUJIFILM XF16mm F1.4 R WR", + "FocalLength": "", + "fStop": "5.6", + "DateTimeOriginal": "2023-08-27T08:19:15-07:00", + "Links": [ + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-10-2160.jpg", + "Width": 2160, + "Height": 1440 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-10-1080.jpg", + "Width": 1080, + "Height": 720 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-10-540.jpg", + "Width": 540, + "Height": 360 + }, + { + "Url": "https://photos.duncanmackenzie.net/images/purisima/purisima-10-220.jpg", + "Width": 220, + "Height": 147 + } + ] + } + ] +} +--- \ No newline at end of file diff --git a/themes/hello-friend-ng/assets/scss/galleries/_styles.scss b/themes/hello-friend-ng/assets/scss/galleries/_styles.scss index 47e919fd..716bb086 100644 --- a/themes/hello-friend-ng/assets/scss/galleries/_styles.scss +++ b/themes/hello-friend-ng/assets/scss/galleries/_styles.scss @@ -201,7 +201,6 @@ section.featured .card { & > h2 { font-weight: 600; font-size: 1.125rem; - line-height: 0.875rem; margin: 0.5rem 0 0.3rem 0; } @@ -256,7 +255,6 @@ section.featured .card { & > h2 { font-weight: 600; font-size: 1.125rem; - line-height: 0.875rem; margin: 0.5rem 0 0.3rem 0; } diff --git a/themes/hello-friend-ng/layouts/albums/list.html b/themes/hello-friend-ng/layouts/albums/list.html index 91ecbda2..3f2476ba 100644 --- a/themes/hello-friend-ng/layouts/albums/list.html +++ b/themes/hello-friend-ng/layouts/albums/list.html @@ -15,7 +15,7 @@

{{ .Title }}

{{ .Title }}

Featured | {{ $photoCount }} photos - {{ with .Description }}

{{ . }}

{{ end }} + {{ with .Description }}

{{ . | truncate 100 }}

{{ end }}
{{- end }} diff --git a/themes/hello-friend-ng/layouts/partials/albumCard.html b/themes/hello-friend-ng/layouts/partials/albumCard.html index 0d10484e..5fe0204b 100644 --- a/themes/hello-friend-ng/layouts/partials/albumCard.html +++ b/themes/hello-friend-ng/layouts/partials/albumCard.html @@ -9,7 +9,7 @@

{{ .Title }}

{{ $photoCount }} photos - {{ with .Description }}

{{ . }}

{{ end }} + {{ with .Description }}

{{ . | truncate 120 }}

{{ end }}
{{- end }}