Switch to Hugo from Jekyll #1

Merged
arona merged 16 commits from hugo into master 2020-07-15 10:14:26 +00:00
2 changed files with 6 additions and 3 deletions
Showing only changes of commit ff598447bc - Show all commits

View File

@@ -6,6 +6,8 @@ categories:
- webdev
- selfhosting
---
I've just moved the site over from Jekyll to Hugo. Why? Because I have a growing vendetta against Ruby and (relatedly so) it was easier to make a webhook-based build system for Hugo. No matter what I do, I can never get RVM set up right, I can just about manage Python Venvs! This all spiraled from trying to finish my build system, as these things do. Now every time I push to master in my git repo, the site will be automatically built and copied in place, which was the last piece missing for a self-hosted equivalent to GitHub Pages. Win! And I only totally FUBARed Docker once in the process...
I've just moved the site over from Jekyll to Hugo. Why? Because I have a growing vendetta against Ruby and (relatedly so) it was easier to make a webhook-based build system for Hugo. No matter what I do, I can never get RVM set up right, I can just about manage Python Venvs!
Still very much working on the webdesign and have taken a bit of a step backwards for now, but it is functional, at least.
This all spiraled from trying to finish my build system, as these things do. Now every time I push to master in my git repo, the site will be automatically built and copied in place, which was the last piece missing for a self-hosted equivalent to GitHub Pages. Win! And I only totally FUBARed Docker once in the process...
Still very much working on the webdesign and have taken a bit of a step backwards for now, but it is functional, at least. I've ditched a theme and am handmaking the CSS, which is obviously the high effort way of doing things, but if I wasn't invested in that I would still be using Github Pages!

View File

@@ -15,12 +15,13 @@
</header>
<main aria-label="Content">
<article>
<h3 style="color: black; padding-top: 2em; padding-bottom: 1em;">{{ .Title }}</h3>
<h1 style="padding-top: 2em; padding-bottom: 1em;">{{ .Title }}</h1>
<p>Tags:
{{ range (.GetTerms "categories") }}
<a href="{{ .Permalink }}" style="background: black; border-radius: 0.5em; padding: 0.5em; margin: 0.4em">{{ .LinkTitle }}</a>
{{ end }}</p>
{{.Content}}
<small>Published on {{ .Date.Format "2006-01-02" }}</small>
</article>
</main>
{{ partial "footer.html" . }}