Skip to content

Commit

Permalink
new hike, some updates to the styles to handle 2 line album titles an…
Browse files Browse the repository at this point in the history
…d longer descriptions
  • Loading branch information
Duncanma committed Apr 20, 2024
1 parent 12274fc commit bad7b30
Show file tree
Hide file tree
Showing 4 changed files with 342 additions and 4 deletions.
340 changes: 340 additions & 0 deletions content/albums/purisima.md
Original file line number Diff line number Diff line change
@@ -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
}
]
}
]
}
---
2 changes: 0 additions & 2 deletions themes/hello-friend-ng/assets/scss/galleries/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion themes/hello-friend-ng/layouts/albums/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>{{ .Title }}</h1>
<div>
<h2>{{ .Title }}</h2>
<span><span class="featuredIndicator">Featured | </span>{{ $photoCount }} photos</span>
{{ with .Description }}<p>{{ . }}</p>{{ end }}
{{ with .Description }}<p>{{ . | truncate 100 }}</p>{{ end }}
</div>
</a>
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion themes/hello-friend-ng/layouts/partials/albumCard.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div>
<h2 class="albumCardTitle">{{ .Title }}</h2>
<span>{{ $photoCount }} photos</span>
{{ with .Description }}<p>{{ . }}</p>{{ end }}
{{ with .Description }}<p>{{ . | truncate 120 }}</p>{{ end }}
</div>
</a>
{{- end }}

0 comments on commit bad7b30

Please sign in to comment.