diff --git a/bin/copy_latest_slug.sh b/bin/copy_latest_slug.sh new file mode 100755 index 0000000..cb68b44 --- /dev/null +++ b/bin/copy_latest_slug.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# This script is useful for copying the slug name of the latest blog post. +# +# Usage: (from the project root) +# bin/copy_latest_slug +# +# Example output: (from clipboard) +# 2024-11-21-fall-family-photos + +# Get the directory of the script +SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) + +# Navigate to the content/articles directory relative to the script's location +cd "$SCRIPT_DIR/../content/articles" || { + echo "ERROR: Could not navigate to content/articles directory." + exit 1 +} + +# Get the newest markdown file, remove the extension, strip newline, and copy to clipboard +eza -s newest -r -- *.md | head -n 1 | sed 's/\.md$//' | tr -d '\n' | pbcopy diff --git a/content/articles/2024-11-21-fall-family-photos.md b/content/articles/2024-11-21-fall-family-photos.md new file mode 100644 index 0000000..f9c5847 --- /dev/null +++ b/content/articles/2024-11-21-fall-family-photos.md @@ -0,0 +1,46 @@ +--- +title: 'Fall Family Photos' +date: '2024-11-21' +author: 'Joshua Steele' +cover: 'https://res.cloudinary.com/dnkvsijzu/image/upload/v1732215246/OFReport/2024-11-21-fall-family-photos/family-2024-1200x630_quqqn8.jpg' +caption: > + The Steele family, fall 2024: Joshua, Kelsie, Abigail, Rebekah, Hosanna, + Kathryn, David, Mia +preview: > + If you’ve been following my Facebook updates this month, you know we’ve had + some exciting days of ministry in central and southern Ukraine. I’m working on + a more detailed report about all that, but in the meantime, I thought I’d + share something a bit lighter: our latest family photos! +tags: + - family + - photos +--- + +If you’ve been following my +[Facebook updates](https://www.facebook.com/1040006553/videos/3854627231471825/) +this month, you know we’ve had some exciting days of ministry in central and +southern Ukraine. I’m working on a more detailed report about all that, but in +the meantime, I thought I’d share something a bit lighter: our latest family +photos! + +Abigail visited us in October, so we decided to take some new family photos in a +nearby park. We were so happy with how they turned out, and it reminded us again +of how blessed we are to have a family. God is good! + + + + + + + + + + + + + + + + + + diff --git a/pages/family.vue b/pages/family.vue index 3f0d5b0..417a090 100644 --- a/pages/family.vue +++ b/pages/family.vue @@ -29,7 +29,7 @@ export default { description: 'Joshua and Kelsie are missionaries enjoying life as best friends, serving their Savior, and raising up their children to honor Him.', image: - 'https://res.cloudinary.com/dnkvsijzu/image/upload/c_fill,f_auto,h_630,q_auto:best,w_1200/v1572346054/OFReport/assets/steele-family-2018-12-6_sdixdx.jpg', + 'https://res.cloudinary.com/dnkvsijzu/image/upload/c_fill,f_auto,h_630,q_auto:best,w_1200/v1732215040/OFReport/assets/family-2024-cropped_inq8ir.jpg', title: 'The Steele Family', }; }, @@ -66,24 +66,24 @@ export default { } .family { - background-image: url('https://res.cloudinary.com/dnkvsijzu/image/upload/c_scale,f_auto,q_auto:best,w_768/v1607358340/OFReport/assets/steeles-fall-2020_mcp242.jpg'); + background-image: url('https://res.cloudinary.com/dnkvsijzu/image/upload/c_scale,f_auto,q_auto:best,w_768/v1732215040/OFReport/assets/family-2024-cropped_inq8ir.jpg'); } @screen xs { .family { - background-image: url('https://res.cloudinary.com/dnkvsijzu/image/upload/c_scale,f_auto,q_auto:best,w_1024/v1607358340/OFReport/assets/steeles-fall-2020_mcp242.jpg'); + background-image: url('https://res.cloudinary.com/dnkvsijzu/image/upload/c_scale,f_auto,q_auto:best,w_1024/v1732215040/OFReport/assets/family-2024-cropped_inq8ir.jpg'); } } @screen md { .family { - background-image: url('https://res.cloudinary.com/dnkvsijzu/image/upload/c_scale,f_auto,q_auto:best,w_1500/v1607358340/OFReport/assets/steeles-fall-2020_mcp242.jpg'); + background-image: url('https://res.cloudinary.com/dnkvsijzu/image/upload/c_scale,f_auto,q_auto:best,w_1500/v1732215040/OFReport/assets/family-2024-cropped_inq8ir.jpg'); } } @screen lg { .family { - background-image: url('https://res.cloudinary.com/dnkvsijzu/image/upload/c_scale,f_auto,q_auto:best,w_2000/v1607358340/OFReport/assets/steeles-fall-2020_mcp242.jpg'); + background-image: url('https://res.cloudinary.com/dnkvsijzu/image/upload/c_scale,f_auto,q_auto:best,w_2000/v1732215040/OFReport/assets/family-2024-cropped_inq8ir.jpg'); } }