Switch to Hugo from Jekyll #1

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

View File

@@ -2,7 +2,9 @@
layout: post
title: "Go Hugo!"
date: 2020-07-14
categories: webdev, selfhosting
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...

View File

@@ -16,6 +16,10 @@
<main aria-label="Content">
<article>
<h3 style="color: black; padding-top: 2em; padding-bottom: 1em;">{{ .Title }}</h3>
<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}}
</article>
</main>

View File

@@ -108,9 +108,6 @@ article, .contained {
grid-template-rows: auto 1fr auto;
grid-template-columns: 100%;
}
.page-link {
color: white !important;
}
.bigimage {
transform: skew(-10deg);
color: white;
@@ -167,9 +164,6 @@ a.button {
.bg-green {
background: green;
}
* {
box-sizing: border-box;
}
.full-width {
width: 100vw;
position: relative;