hugo
I just published “I Quit Updating Hugo or: Why I Use Hugo v0.122.0” at
https://www.ii.com/hugo-update-nope/
As always, feedback is welcome!
#InfiniteInk #GoHugo #Hugo #Tech #WebDev #SysAdmin #SSG #Byℵ #ByNM
The Jamstack SSG #Hugo / #GoHugo is alive and kicking!This what I love with the Hugo community. 🫶🏽
RE: https://bsky.app/profile/did:plc:tbzfsowmg4zj234pws47u3x6/post/3mbrxzvw36c22
https://github.com/martignoni/hugo-notice/
这个项目看起来还挺不错的,作为一个主题使用,可以在文章中插入 notice 块。
虽然我暂时用不到这个东西,但是它给了我一个关于 Hugo 拓展实现的新视角(使用主题的形式),社区需要这种小而美的组件。希望 Hugo 的生态有朝一日能和 WP, Hexo 比拟。
(这东西最早的 commit 是 2019 年的,不会只有我刚发现吧……)
-----
From "🌊 央山常量池" (@glowisle)
#Blog #FOSS #AI
How the @#$% does #Hugo (static website generator) work with Github? Hundreds of pages reference #github but I still can't find how that works. Almost every Hugo help site says "add this reference to [a? your?] github repo..." but don't explain what the heck is happening or why I need that... why do I need a github repo to have a website somewhere else?
Clearly I don't need it; I have a hugo site up and running, and at no point was github involved.... except nothing would work until I initalized (?) my hugo directory (or the executable? IDK) on my webhost's server using a git command. For some reason.
I seriously don't understand why (or, more importantly, how) Hugo needs github. Right now dozens or hundreds of help sites seem like they're telling me that I need to have a shrine to my cat in my neighbor's house or else my blender won't work.
Lots of references to using github submodules and plenty of people saying "No! You fool! Don't do that!" and other people saying "Ackshully you should make your website a github module." Then other sites (including Hugo's official site) saying I should make my website into a #go module somehow for some reason... and I can't do that unless I have a github repo somewhere? Which is also maybe a Go module? Yet more sites saying I don't need to do that if I use some fancy scripts to fool something (my Hugo installation? My github repo? IDK) into thinking my Hugo site is or has a github repo...
If anyone would like to explain this to me like I'm literally 12 years old I'm very open to this. Every help site I've seen for weeks just assumes I understand some basic things that I don't remotely understand, like what the connection is between Hugo and github, how important it is, how it works, etc.
Understanding that I already have a functioning Hugo site, but apparently still need a github repo (maybe?) to do anything more interesting with it.
I know I'm using Mastodon as tech support a lot lately, but honestly y'all are more helpful than most search engines for some things.
