From 4de2c57cc8a709ce174098dc48022a5aa986e3d0 Mon Sep 17 00:00:00 2001 From: nebula Date: Sun, 30 Mar 2025 00:11:30 +0000 Subject: [PATCH] this is a commit to like, change things --- 404.html | 1 + generate.py | 10 ++++- html | 1 + md/ToApacheLake.md | 103 +++++++++++++++++++++++++++++++++++++++++++++ metadata.json | 9 +++- templates/main | 25 ++++++----- 6 files changed, 134 insertions(+), 15 deletions(-) create mode 120000 404.html create mode 120000 html create mode 100644 md/ToApacheLake.md diff --git a/404.html b/404.html new file mode 120000 index 0000000..aae21ba --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +/var/www/html/404.html \ No newline at end of file diff --git a/generate.py b/generate.py index 68cebcd..9e99df2 100644 --- a/generate.py +++ b/generate.py @@ -73,6 +73,11 @@ def render_index(): data = {key: value for key, value in sorted(metadata.items(), key=lambda item: item[1]['title'])} photo_counts = {placename: metadata[placename]["count"] for placename in metadata.keys()} total_count = 0 + posts = [ + path.basename(post).split('/')[-1][:-3] for post in + glob("md/*") + ] + posts.sort() for _, info in metadata.items(): total_count = info["count"] + total_count with open(out_dir + "index.html", "w") as f: @@ -80,7 +85,8 @@ def render_index(): "metadata": data, "album_count": len(metadata.keys()), "photo_counts": photo_counts, - "total_count": total_count + "total_count": total_count, + "posts": posts })) def render_places(): @@ -103,7 +109,7 @@ def render_places(): with open("md/" + placename + ".md", "r") as f: md = markdown(f.read()) except FileNotFoundError: - md = "

Blog Work In Progress

" + md = "

No Story (Yet)

" with open(working_path + "/index.html", "w") as f: f.write(template.render({ "count": count, diff --git a/html b/html new file mode 120000 index 0000000..e5fb9d0 --- /dev/null +++ b/html @@ -0,0 +1 @@ +/var/www/html/ \ No newline at end of file diff --git a/md/ToApacheLake.md b/md/ToApacheLake.md new file mode 100644 index 0000000..7c9c5a5 --- /dev/null +++ b/md/ToApacheLake.md @@ -0,0 +1,103 @@ +# Poor Decisions With Great Views + +This was one of my first trip experiences. When I first started making trips +out West, Arizona was the first state I explored. The first time I'd ever gone, +I had a friend in Phoenix who invited me to hang out for about a week. I fell +in love with the scenery long before I even arrived in Phoenix, and in a +relatively short amount of time, I started to return to the state on my own. I +decided to use my existing camping gear (mostly backpacking stuff) and save a +ton of money I would have otherwise spent on lodging. It was these early trips +that I began to experiment with ways to find public land, and sleep comfortably +in my vehicle. + +I had acquired and extensively used the Arizona copy of the DeLorme Atlas & +Gazetteers. Scanning the pages, I located Roosevelt Lake, but tucked away, +smaller and seemingly more remote, was Apache Lake. I have always enjoyed +finding less busy, more obscure locations, and I decided that I wanted to check +out this smaller Apache Lake moreso than the larger, more popular Roosevelt +Lake. + +## The Roads + +Apache Lake is accessible via state route 88, which travels by Tortilla Flat on +the west side and Roosevelt Lake on the east side. The west side is easily +accessible from Apache Junction, however at the time I was visiting, the +stretch of unpaved road that goes from Tortilla Flat to Apache Lake was washed +out and closed. I was forced to enter from the east side, which took me from +the Phoenix metro, through [Superior](https://helixnebula.space/Superior/), and +allll the way to Globe before cutting back north towards the lakes. + +Traveling from Globe, I stopped at a general market and gas station, from which +I got breakfast and some maps. The first pictures in this album are from the +dam and bridge at Roosevelt Lake. Turning down 88 from 188 leads you by the +dam, and from there, a long stretch of decent dirt road takes you to Apache +Lake, with lovely views of the Salt River and Superstition Mountains along the +way. More recently than this visit, the road has been paved. + +## The Bittersweet + +I came to a turnoff leading to a [private resort on the +lake](https://apachelake.com/), and I went downhill to check it out. I went +inside the building and asked about what the place was. I was told I could camp +there, and I was intrigued and wanted to try something new, so I decided to buy +a night. I was kinda broke and it was more money than I expected to spend, but +I was too embarassed to just say no at that point. I didn't really know what I +was getting myself into, but it was certainly going to be interesting. + +There was live music, a bar, primitive camping areas, a marina, a hotel, and +all sorts of goodies here. While exploring, I saw that there was a place to +rent a kayak, I was interested until I learned it was quite expensive to rent +it for the day...I had already spent so much just to be there. I felt really +embarassed to say nevermind to the clerk when he said that! + +After setting up camp, I decided to check out the bar. I have drank a lot of +alcohol in my days but this was the first time I ever got sociable enough to go +to a bar. I'd always avoided them. I talked up with a lot of people there, many +of them were surprised that I had even heard of Apache Lake as a traveler from +Oklahoma. Even in the early days of my solo travels, I knew how to find obscure +places, apparently. + +One dude just started buying me drinks. Shot after drink after shot, I was +really quite drunk. I bought a lot of my own drinks too. I was stumbling around +a bit, and quite frankly acting quite stupid, but what else is drinking for? As +the night went on, I moved outside to watch and listen to the live music. I met +some folks that wanted to take me out on their boat in the morning, since I +didn't have one. We discussed about where to meet in the morning and when. +Eventually I wandered away from the crowd to find some solitude again. I +remember laying down and staring into the night sky for quite a long time. I +was still pretty well intoxicated, and the beauty of the galaxy really +entranced me for a while. Before I went to bed, I took a shower at the marina. + +In the morning, I felt hung over, poorly rested, and regretted just about +everything at that point. I spent all the money I had left for my trip on the +campsite and the alcohol i bought at the bar. I tried to find the folks +that wanted me to go boating with them, but it seems they either slept in or +were already gone. I felt really out of place at this resort about now, I was +broke and couldn't pay for anything to eat at the restaraunt, so I packed up my +things and left without telling anyone. + +## Car Problems Has Entered the Chat + +On my way back out, a light popped onto my dashboard, it was an empty oil pan +indicator. I didn't really know what that meant at the time, and I didn't have +cell service to contact my dad (the car guru in my life) until later. I called +to ask about it when I was back by Roosevelt, and he said that was really +really bad and that by the time that light comes on, theres pretty much no oil +left and that the car should not be run anymore. I certainly didn't have any +motor oil with me, so I had no choice but to get it in Globe. + +On this day, we learned that my Kia Soul burned a significant amount of oil on +long drives. Dad taught me how to check the oil levels, and told me what kind +of oil to use. This continued to be a problem for the coming year of travels, +and I had to carry oil with me at all times and treat it almost like a second +gas tank. The rate at which it consumed oil seemed very random, with some long +drives not dropping by much and then a shorter drive leaving it almost empty. + +## Farewell + +This lake is very beautiful, and I wish I got to experience it without getting +wrapped up into an expensive party. I swore this off as the last time I would +ever blow my money on alcohol at a bar. I have not yet returned to Apache Lake, +but since then [I have visted the superstition mountains +again](https://helixnebula.space/Peralta/). + diff --git a/metadata.json b/metadata.json index 05a85ab..564e255 100644 --- a/metadata.json +++ b/metadata.json @@ -231,7 +231,12 @@ }, "SmokyMountains": { "title": "Smoky Mountains", - "state": "Tennessee", - "cover": "IMG_5708.JPEG" + "state": "Tennessee", + "cover": "IMG_5708.JPEG" + }, + "TruthOrConsequences": { + "title": "Truth or Consequences", + "state": "New Mexico", + "cover": "IMG_9135.JPEG" } } diff --git a/templates/main b/templates/main index c3fedba..1b54c97 100644 --- a/templates/main +++ b/templates/main @@ -17,7 +17,6 @@

-

MAINTENANCE IN PROGRESS expect breakges

Work in progress!

This is going to be a photo blog. Right now its just a mess of undescribed photos. A lot of photos have not been uploaded yet and work on CSS and choosing which images @@ -33,6 +32,17 @@ {{ info['title'] }}, {{ info['state'] }} [{{ info["count"] }}]
{% endfor %} +
+ +
+ Albums With Stories +
+ {% for placename in posts %} + + {% endfor %} +

@@ -45,18 +55,11 @@
{{ info["title"] }}
- +
+ View {{ photo_counts[placename] }} photos +
- - {% endfor %}