💾 Archived View for rawtext.club › ~hut › hugo.gmi captured on 2023-09-08 at 17:55:31. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

-=-=-=-=-=-=-

Moved to hugo

Blogging software is one of those things that's sometimes faster to write yourself than to learn an existing framework. Some simply write their blog in raw HTML. I, on the other hand, like markdown, and for years I was using the following simple Makefile directive to generate my blog:

Makefile

markdown

Some simply write their blog in raw HTML

%.html: src/%.md head.html
    cat head.html > "$@"
    markdown "{body}lt;" >> "$@"
    echo '</article></body></html>' >> "$@"

(The source files for blog posts are in markdown format. This code looks for files that have changed, creates the HTML for those by taking the output of the "markdown" command and wrapping it around static HTML)

That worked fine for years, but now that I have a development log for my psylink project, it doesn't scale anymore. I needed some way to group the large number of posts together. So I moved the page to hugo, and the website now has full ✨*blogchain*✨ integration.

hugo

psylink

Navigation panel

Blog

About

Projects

RSS Feed

More articles tagged with "meta"

Written on 2021-05-13 by hut