LukeSmithxyz / based.cooking

A simple culinary website.
The Unlicense
2.21k stars 544 forks source link

Site will be Redone in Hugo #750

Closed LukeSmithxyz closed 2 years ago

LukeSmithxyz commented 2 years ago

I haven't touched this site in like a year because the static site generator used was hobbled-together and couldn't scale without constantly breaking and taking minutes to recompile.

I've decided to switch to Hugo to compile the site, and I hope to finish this in the next week. I didn't switch before because Hugo themes are kind of a pain to specialize for the unfamiliar, but I've since gained familiarity with it enough that I can confidently make a setup perfectly to my vision for the site.

I'll use this as an opportunity to make other improvements to the site.

Note that I still do not want to drastically increase the number of recipes right now. In fact, in the future, I might slim them down to undebatably "based" recipes only. (I am no longer ignoring notifications from this git repository.)

v0iden commented 2 years ago

awesome!

peepo5 commented 2 years ago

Based, Redpilled, and Mental Outlaw's alter deepfake :cat: :+1:

peepo5 commented 2 years ago

Btw, just some ideas: maybe add reviews section to recipes somehow? I know it is meant to be static, but it would be nice to know if what I am making is good/accurate or not. I saw some recipes that sounded nice in theory, but that did not have any images or ratings so I had no idea if I should make them. IMO for a newer iteration of the site, you should make at least one image mandatory for recipes and also ratings would be nice :)

LukeSmithxyz commented 2 years ago

The Hugo version of the site is now up. Doesn't look much different, but infinitely easier to manage and compiles in milleseconds. I'm going to start by organizing and systematizing tags and such, then add other improvements.

LukeSmithxyz commented 2 years ago

I've added all the author names into metadata, so I don't have to fret about people refusing to follow the formatting guidelines lol

Might add cook/prep time to metadata in the future.

Site is very clean on the backend now. I'm still mastering hugo to do all I want, but I'm feeling like I might start looking at new submissions and maybe I'll start curating things a little more since it's easier.

reidellawfirm commented 2 years ago

Request to change the current text color (blue). I suffer from chromatic aberration and have a very difficult time seeing the color blue. My humble request is to chance the blue text color to another color.

peepo5 commented 2 years ago

@reidellawfirm It could be a settings option stored in localstorage for that case, or you could try a css plugin to change all "a" elements to a different color.

LukeSmithxyz commented 2 years ago

I'm not tethered to the current colors, so I am open to changing it to something else someone suggests.

LukeSmithxyz commented 2 years ago

Changed the colors to be warmer, as in #221

peepo5 commented 2 years ago

Hey @LukeSmithxyz I think the links would look better without the underlines. What do you think? Thanks.

Kai-Toyata commented 2 years ago

@LukeSmithxyz I agree with @peepopoggers . Perhaps a bit more spacing between the radio buttons or removing the underlines would be good as the list seems too cramped right now. Could also be the yellow.

Glad to hear you've switched to Hugo.

isti03 commented 2 years ago

Removing link underlines in general hurts accessibility, however it would definitely be more readable and it wouldn't be so much of an issue if it is only removed from the list. Adding more padding would make the site more usable for mobile users. Therefore, I would suggest something like:

#artlist a, .tagcloud a {
    padding: 0.2em;
    display: inline-block;
    text-decoration: none;
}
reidellawfirm commented 2 years ago

@reidellawfirm It could be a settings option stored in localstorage for that case, or you could try a css plugin to change all "a" elements to a different color.

Thanks for the suggestion, great idea to look into a css plugin.

peepo5 commented 2 years ago

@isti03 I looked at the site you linked; for the bullet points, there are never links next to each other so it is fine.

ghost commented 2 years ago

I think that the website could done build using crystal, php or even nodejs and really not relaying on static html pages. Yes its a great idea to generated them to static html. But is it worth it? I don't think so, let the server generate it when it requested that it! The recipes are very small as I can see and it would not take a lot of time to generated it live, right? You can also cache the generated pages if you want to be more "economy".

LukeSmithxyz commented 2 years ago

I think that the website could done build using crystal, php or even nodejs and really not relaying on static html pages. Yes its a great idea to generated them to static html. But is it worth it? I don't think so, let the server generate it when it requested that it! The recipes are very small as I can see and it would not take a lot of time to generated it live, right? You can also cache the generated pages if you want to be more "economy".

I can never tell if these people are kidding or not.

peepo5 commented 2 years ago

php :skull: