3 ms·
> I just can't seem to find a decent static site generator. Maybe you and I have very different ideas of what is required to write a blog, but it sounds like y
by tristor 6y ago
> I just can't seem to find a decent static site generator.
Maybe you and I have very different ideas of what is required to write a blog, but it sounds like you should be able to use Hugo + the theme of your choice and just go with it. It's /very/ easy, and posts are all written in Markdown.
- magicalhippo 6y agoThanks for the input. For me a bare-bones blog needs to support simple-to-use images, that is auto-resizing images with link to full etc without a ton of hoopla, syntax highlighter for code and some tex-ish thing for math. From what I can see Hugo does seem to have a lot of that these days, so I'll try that. One immediate issue is the highlighter not supporting my language at work (Delphi/Pascal) but I assume it being Pygments-compatible means I should be able to add that without much fuss.
- Lammy 6y agoThe images are going to be the hard part. Nothing out there suited my needs/wants in that regard, so I've been working on my own Jekyll plugin that is still nowhere near production ready https://github.com/okeeblow/DistorteD https://github.com/okeeblow/DistorteD
- tristor 6y agoThose features in Hugo are mostly reliant on themes. Hugo has a concept called "shortcodes" which allow you to add capabilities that rely on adding additional JS, or HTML blocks in at specific points in your Markdown. The theme I use on my website for instance has a shortcode called "fluid_imgs" which handles images pretty well, and I also wrote my own shortcode addition to support embedding images from Flickr more easily. Additionally the theme I'm using integrates MathJax and HighlightJS, which it utilizes in the standard way for Markdown (e.g. in most Markdown implementations you can specify the language after triple backticks to start a code block) by invoking highlighting on code blocks. Getting what you're asking for should be pretty simple in Hugo with the appropriate theme or minimal effort anyway.