MoonMelon

joined 1 year ago
[–] MoonMelon@lemmy.ml 4 points 4 days ago* (last edited 4 days ago)

I'm starting to think it's something super specific to the particular hugo theme I'm using and how it wants users to insert custom js/css to get it all baked down into the right place in the final output. I'll keep bashing on it, thanks for your help!

Edit: OK this is kind of hilarious considering the community I posted to, but I actually think it works fine but something about my Librewolf setup is breaking it. It works fine in Firefox and Chrome, and since I jump around between them as I work I just happened to test in Librewolf right as I made this change. Not to get too far into the weeds but I think I'm going to just go ahead with not linking cloudflare. Thanks again.

[–] MoonMelon@lemmy.ml 5 points 4 days ago (1 children)

Thanks fixed. Interesting jerboa and the web version of lemmy are developed by the same person but using the "code" button in the web frontend only uses one backtick. That might be worth a bug report.

I'm actually trying to get away from github also, so maybe codeberg pages instead? This is a part of the process I haven't done enough research into, I wanted to get the static site working locally first then "shop around" for hosts.

[–] MoonMelon@lemmy.ml 1 points 4 days ago (2 children)

OK, looks like the image paths are correct. It's something about the JS that fades them in. If I toggle the opacity property on/off then suddenly it works fine, until I refresh, so something funky is going on there. At least I know the structure is correct hugo-wise so it's just a matter of tracking down the fade-in issue.

[–] MoonMelon@lemmy.ml 2 points 4 days ago

The issue seems to be with how hugo renders everything down into a /public directory. Somehow this is breaking the static images Lightbox uses to do prev/next/close. It's a small issue and I'm sure the fix is something dumb, it just wasn't obvious to me (the images appear to be correct). But sounds like it's worth just debugging it...

[–] MoonMelon@lemmy.ml 2 points 4 days ago (5 children)

Something about how hugo is cooking everything down into a /public directory is breaking the overlay images (like the next/prev arrow). I'm sure I can track it down but since I'm pretty inexperienced this will take me some time (at cursory glance all the paths seemed good, so I'm not sure why it's broken).

I would also prefer to host it myself so maybe I should just do this...

 

Prefacing by saying I'm a total noob to webdev.

I'm trying to move my personal portfolio site off of Squarespace and onto some sort of static hosting. Since I know nothing, I'm cobbling together hugo templates and using LightBox2 to show image galleries. The blog I'm referencing includes LightBox2 using this:

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.1/js/lightbox.min.js" integrity="sha256-CtKylYan+AJuoH8jrMht1+1PMhMqrKnB8K5g012WN5I=" crossorigin="anonymous"></script>

I would prefer to not subject people viewing my page to any external tracking if I can avoid it. My page has zero tracking/analytics for this reason. I briefly tried downloading LightBox2 and directly including it instead, and was able to get it working mostly, but some things were broken that I would need to debug. Before I do that I was wondering, is this even a problem? Is including stuff from cloudflare cdn like this sketchy? It's possible I'm being overly paranoid but I have no idea.

[–] MoonMelon@lemmy.ml 3 points 6 days ago

Oak are great. A lot of the understory in oak/hickory forest is now maple and tulip poplar due to shifting climate and possibly deer pressure. It's called mesophication.

My property is also oak/hickory complex and I can say anecdotally that the native understory has a lot of tulip poplar.

[–] MoonMelon@lemmy.ml 7 points 6 days ago

In my experience if you have access points for mice they will get in whether you have a suburban turf grass lawn or not, and a cat can't get them if they are in the walls or crawlspace. So the best bet is to seal up any holes and keep all vegetation, native or not, at least a couple of feet away from the house.

[–] MoonMelon@lemmy.ml 43 points 6 days ago* (last edited 4 days ago) (8 children)

You're going to have ticks in the native area too, especially the marginal zones. They love those. Ticks are native, unfortunately. Remediating your land for native insects' benefit will actually be better for ticks than having an acre of 2" turf grass, but that's just because short lawns are totally ecologically dead.

When I was more uninformed I was more of a purist. The more I've done on my own property, and the more I've consulted with experts, the more I've learned that it's actually a balance between human needs and ecology. Now I'm sort of in the "if planting turf grass by your house is what you need to be on board with the rest of it, fine."

We can't promise people ticks will go away, more like teach people the critical value of native insects. Keep tall grass away from your house, sure, but think about walkways instead of acres of lawn for the rest of it. People plant lawns and call Mosquito Joe to fog it all so "their children can play" but consider your children living in a world with no bugs at all. That's the trade off. IMO it's a lot more scary than ticks, and I fucking hate ticks.

[–] MoonMelon@lemmy.ml 2 points 1 week ago

Decades later I still have to say this, in an Orson Welles voice, any time I'm cooking with peas.

[–] MoonMelon@lemmy.ml 10 points 3 weeks ago (1 children)

You're fucking incredible, Cowbee. I've watched you spend literally days patiently and politely responding to dozens of confrontational, probably bad-faith posters in thread after thread with nothing but solid information. I really admire it.

[–] MoonMelon@lemmy.ml 22 points 4 weeks ago

A pack of six light bulbs. Five of them sheared right off the metal base like wet tissue when I screwed them in, just one right after the other. Fortunately the last one worked. I was a poor college kid with no transport then, so getting that pack of bulbs for my single lamp was a lot of effort, I was disappointed.

view more: next ›