kc0bfv / autophugo

AutoPhugo [ˌɔtoʊˈfjuːgəʊ] is a gallery/photoblog theme for Hugo that's a little more automatic than Phugo.
Other
98 stars 57 forks source link

formspree, album descriptions, empty page warning #54

Closed corneliusdavid closed 8 months ago

corneliusdavid commented 1 year ago

I should've submitted these incrementally... Here are three changes I've made in the last few months:

Feel free to change/reject any or all of these suggestions--these are what worked for my site.

kc0bfv commented 8 months ago

Sorry this took so long... Thank you for your pull request!

Regarding "single page" warning - I'm not getting that on the latest hugo, running on the exampleSite. The current github actions deployment, for example, doesn't generate that warning. I suspect you're putting the content in the theme differently than recommended, or demonstrated in the example site. If you could figure out what the difference is, perhaps we can fix something here or clear up anyone else's confusion about usage.

Regarding formspree.io... That seems to still be working properly. If you look at the config.toml for exampleSite, you'll see that it sets formspreeID to "myuniqueID", then that string is located in the formspree URL. You need to pull out the appropriate part of what formspree gives you and substitute it in. Specifically - when I compare the current example Is ee the portion formspree gives that's after the "/f/", and use the part formspree gives you after the slash. Just like in the example.

I like the "newest first" layout - and considered making that an option... The options just get pretty complex. Recommend just keeping that as a your-site customization.

I like albums having an album description... But I think it should display in-addition-to the footer text. That makes it fully an option - someone can specify it or now, and it won't show up if they don't specify it. I'm gonna try to pull just that in now.

kc0bfv commented 8 months ago

I think I'll be able to pull that one in via cherry pick.