Hacker News new | past | comments | ask | show | jobs | submit login

Hugo in combination with the Congo Theme (see https://github.com/jpanther/congo) has scratched this itch for me. The theme is well thought out and has all the features I need.

There's the usual youtube and vimeo integration, but also

- integration with Flowcharts through mermaid https://jpanther.github.io/congo/samples/diagrams-flowcharts...

- charts through Chart.js https://jpanther.github.io/congo/samples/charts/

- and even LaTeX support: https://jpanther.github.io/congo/samples/mathematical-notati...




All of that's great... but wouldn't it be much better to render the latex, mermaid etc server side? I'm a bit baffled that apparently Hugo can't do that.


Sure, there's certainly interest in doing this. See this post for more details: https://misha.brukman.net/blog/2022/04/writing-math-with-hug... (I'm not the author of this post)

Client-side rendering works well enough for me, and has been for years (as a visitor). I don't see a benefit to integrate a custom Hugo patch to get server-side rendering for my simple personal blog.


I do this for my mermaid charts but it's a manual process for the moment. I need to dockerize it and add in a hook.


Does Hugo have a cloud backend integration that you can create new post/edit existing post without redeploying everything?

There's an open source, self-hosted clone of BearBlog, called PolarBearBlog [0], that builds a docker image and run it on Google Cloud Run. It uses Google Cloud Storage to manage a single JSON file for the whole blog contents (yes all your blog posts are in a single json file, which probably will start to show issues when you have hundreds of posts, but then again it's just markdown text so maybe that won't be a big issue anyways), and you only need to redeploy it if you made code change or system level config changes, which really is really more convenient than the whole static approach.

I made a fork of PolarBearBlog to add some of the features I care about, like cactus comment integration and rending full posts in the RSS feed. [1]

[0]: As far as I could tell PolarBearBlog has no affiliation with BearBlog, but it did get a mention in BearBlog's README: https://github.com/HermanMartinus/bearblog/blob/master/READM...

[1]: https://b.yuxuan.org/my-fork-of-polarbearblog


Creator of Bear Blog here. Both Jan and Joseph (mentioned in the README) contacted me prior to publishing to get my permission to use the Bear theme and chat through the project :)


Hugo is very fast in updating a website. Unless you have thousands of blog posts I would not bother.

You can self-host it on a "cheap" webhost and rsync the changes (that's the way I do it). Or you can integrate it with Github and host it with

- Netlify https://gohugo.io/hosting-and-deployment/hosting-on-netlify/

- AWS Amplify https://gohugo.io/hosting-and-deployment/hosting-on-aws-ampl...

- Cloudflare Pages https://developers.cloudflare.com/pages/framework-guides/dep...

to name a few. The hugo site has a couple of howtos.

Some hosting solutions require that the entire website is stored in a separate branch, others regenerate the HTML through a CI pipeline and store it in an object store.


After years of analysis paralysis of choosing the right stack for my blog, I picked up Hugo, the Cactus theme[0], stripped lot of useless (for me) stuff, made some changes, published a new theme[1].

It has been going amazing for me![2]

  0: https://github.com/monkeyWzr/hugo-theme-cactus
  1: https://github.com/abhijit-hota/kaktus
  2: https://abhijithota.me


Thanks a lot for posting it! I wanted to blog for quite a while but am too lazy to finish some basic blog setup with my "own theme". Bear looked great and I was upset none of the Hugo themes I looked at were exactly what I wanted. This one does!


I really like Stack, its a great modern theme for Hugo. I added RTL support to it :)

https://github.com/CaiJimmy/hugo-theme-stack


It looks very nice




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: