Switch to Hugo from Jekyll #1
@@ -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!
|
||||
|
||||
@@ -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" . }}
|
||||
|
||||
Reference in New Issue
Block a user