Compare commits

...

9 commits

6 changed files with 1360 additions and 2 deletions

View file

@ -38,6 +38,21 @@ jobs:
tar -xvzf hugo.tar.gz
sudo mv hugo /usr/local/bin
- name: Install Rust
run: |
sudo apt update
sudo apt install -y rustc cargo
- name: Build Website-Toots
run: |
cd content/toots/.scripts
cargo build --release
- name: Pre-build script
run: |
./build.sh
- name: Build Hugo Website
id: build
run: |

17
build.sh Executable file
View file

@ -0,0 +1,17 @@
#!/usr/bin/env bash
# Generate toot markdown files
pushd content/toots/.scripts > /dev/null
generate_exe="./target/release/generate_md"
# Check if the file exists and is executable
if [ -e "$generate_exe" ] && [ -x "$generate_exe" ]; then
./target/release/generate_md
else
echo "The executable '$generate_exe' does not exist."
echo "Perhaps run cargo build in 'content/toots/.scripts'?"
fi
popd > /dev/null

@ -1 +1 @@
Subproject commit 56265598336a6490230b96e82e077135427e1e33
Subproject commit 4f73f9173b9847b61f2ec3fe62376ba6728ac75e

View file

@ -0,0 +1,23 @@
---
title: "Santa Teresa"
date: 2024-07-27T15:07:24-04:00
draft: false
gpx: "2024-07-27-Santa-Teresa.gpx"
---
{{< details "Show photos:" >}}
![](/files/images/tracks/2024-07-27/PXL_20240727_222623565.jpg)
![](/files/images/tracks/2024-07-27/PXL_20240727_224244889.jpg)
![](/files/images/tracks/2024-07-27/PXL_20240727_224501345.jpg)
![](/files/images/tracks/2024-07-27/PXL_20240727_223856913.jpg)
![](/files/images/tracks/2024-07-27/PXL_20240727_231528504.jpg)
![](/files/images/tracks/2024-07-27/PXL_20240727_224018725.jpg)
![](/files/images/tracks/2024-07-27/PXL_20240727_221337864.jpg)
![](/files/images/tracks/2024-07-27/PXL_20240727_223846882.jpg)
![](/files/images/tracks/2024-07-27/PXL_20240727_221029525.jpg)
![](/files/images/tracks/2024-07-27/PXL_20240727_224401629.jpg)
![](/files/images/tracks/2024-07-27/PXL_20240727_230834922.jpg)
{{< /details >}}

File diff suppressed because it is too large Load diff

@ -1 +1 @@
Subproject commit 7461937fd6de4defef02b73fd1df7e2edc18993b
Subproject commit e54b280af3c1ab63e837e8b49bc8f59a600189ab