[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: hugo.png (18 KB, 1019x1153)
18 KB
18 KB PNG
Hands-down, the best static site generator
>>
why do you need a "static site generator".
>>
>>106463175
why do you need to write retarded replies?
>>
>>106463154
I couldn't get it to work (too tired to read the docs)

Built my own instead
>>
>>106463154
If you have to write markdown, why not write html directly? They're not that different.
>>
>>106463184
just answer the question you absolute homosexual.
>>
>>106463154
>static site generator
It shouldn't exist. What's the use case?
>>
>>106463175
>Noooo, you can't make lightweight websites, you need to use Bloatpress for a simple blog!
>>
>>106464419
some niggas are literally lazy. I don't understand it either. I don't get static site generators either.
>>
we don't need more websites
>>
>>106464419
They're exactly nothing alike.
>>
File: mpv-shot0015.jpg (65 KB, 608x608)
65 KB
65 KB JPG
>>106464529
>implying
you little shit.
>>
>>106463154
probably. I haven't tried a different one.
>>
>>106464419
why bother with abstractions at all?
>>
>>106463154
Shit orgmode support
>>
File: 1653436070198.jpg (52 KB, 460x528)
52 KB
52 KB JPG
>>106464619
use case?
>>
it gets convoluted pretty quick.
my website now just serves pdfs i write in typst
>>
Hands-down, the best static site generator
>>
>>106464529
all you need is a text editor, friend
>>
Sticking with Jekyll
>>
i havent been to a new website in years
captcha p00 4dd
>>
>>106463189
Literally same. 2 years ago company tried to use it and I just said fuck this, made one simple one in go in an afternoon
>>
>>106464529
Yep, if you aren't doing 8 db queries per refresh ngmi
>>
Too much bloat for my taste, I've a shell script that do better then this shitware. It's around 100 SLOC.
>>
>>106463175
Because I’d rather write Markdown than HTML and I want to have full-text Atom feeds without having two copies of every blog post
>>106467919
Based
>>106463154
I like it but it’s kind of annoying to set up in a way I like and I think it needs more Rails Guides-style documentation to get people in the general vibe so they’re not surprised by things that are explained by reading the content-collections documentation
>>
>>106463154
Almost no one ITT even knows what Hugo is or does. Even the faggots saying they wrote their own (they didn't, except maybe the shell script guy), don't understand what they're saying.

To the rest of you dumb niggers: If you're building a simple static site, just a page or two, then sure. It makes sense to do it with a text editor. If your site is 10+ pages, and each page has significantly different content, but you need all of these pages to be aesthetically and functionally coherent, and you frequently update shit, then you use Hugo (or Jekyll). They save massive amounts of time by way of their templating and action systems (think macros), and yes, being able to write large amounts of content in simple markdown is monumentally comfy.

Read:
https://gohugo.io/templates/introduction/

https://jekyllrb.com/docs/liquid/

Or stay retarded.
>>
File: 1737542914028244.png (862 KB, 813x823)
862 KB
862 KB PNG
>>106470861
>struggling to maintain consistency
how is this an issue for most of you? genuinely what the fuck is wrong with people?
>>
>>106463154
Love it. I'm one of the webmasters for American Renaissance and we've been slowly porting over a good chunk of the site to Hugo. Great software. The non-whites plaguing this site wouldn't get it.
>>
>>106470872
>strawman
Faggot.
>>
>>106470789
valid.

>>106470907
>>strawman
why are we just making shit up now. whatever. fine. enjoy hugo. if it works for you, that's great.
>>
File: 1644876641384.jpg (31 KB, 505x607)
31 KB
31 KB JPG
>>106463154
i agree, and being able to see changes in real time with the integrated mini http server is extremelly cool, but i haven't been able to get a theme that i enjoy using and my brain is small so i can't modify them/add functionaly so i don't use it
>>
>>106463154
I prefer this https://vitepress.dev/

>>106464419
This. The markdown will be converted to html anyways. But html at least allows you to set custom attributes/classes when needed. Working with markdown is only acceptable if you can guarantee that all you'll ever need is the default theme, without any custom conditions and styles, and without any JS functionality.
>>
File: 1756891325470.jpg (118 KB, 1024x1024)
118 KB
118 KB JPG
the replies ITT show the absolute state of this board.
>>
>>106471150
Elaborate.
>>
>>106471443
They just feel kind of transphobic
>>
>>106470920
Funny and cool image mind if I save?
>>
>>106464419
Generate an RSS feed and html from a single source, and edit the layout of your website without having to edit every page individually
>>
>>106463154
bashblog
>>
>>106473543
also pandoc is goated for static site generation. just make a wrapper around pandoc and utilize all its awesome features like taking a md file with codeblocks and turning it into a static html file with inline codeblock styling using some language syntax highlighting library
>>
>>106470164
bastey based ;)



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.