Compare commits

..

4 Commits

Author SHA1 Message Date
ff598447bc Various 2020-07-14 20:12:01 +01:00
aad00e1ea9 Tags 2020-07-14 20:08:01 +01:00
05198ec957 Hugo blogpost 2020-07-14 20:00:36 +01:00
804564c896 Mmmm antispam
Explodes if it contacts regular spam...
2020-07-14 19:48:40 +01:00
5 changed files with 45 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
---
layout: post
title: "Go Hugo!"
date: 2020-07-14
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...
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

@@ -14,5 +14,5 @@ menu:
</p>
<h1>Freelance Work</h1>
<p>I have branched out into freelance work using the skills and experience I have gained through TEC. I often work for College Street, which is Nottingham City Council's technical services department, including at the Nottingham Arts Theatre as a lighting technician.</p>
<a href="mailto:biz@aronajones.com">Email me!</a>
<a href="m&#97;ilto&#58;aj&#64;a&#37;&#55;2o%&#54;&#69;&#97;jo%&#54;E%&#54;5s&#46;c&#111;&#109;">Email me!</a>
</div>

30
layouts/blog/single.html Normal file
View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en-GB">
{{ partial "head.html" . }}
<body>
<div class="container">
<header>
<h3><a href="/">Arona Jones</a></h3>
<nav id="main-nav">
<a href="/">Home</a>
{{ $currentNode := . }}
{{ range .Site.Menus.main }}
<a href="{{.URL}}">{{.Name}}</a>
{{ end }}
</nav>
</header>
<main aria-label="Content">
<article>
<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" . }}
</div>
</body>
</html>

View File

@@ -1,4 +1,5 @@
<footer>
<a href="m&#97;ilto&#58;aj&#64;a&#37;&#55;2o%&#54;&#69;&#97;jo%&#54;E%&#54;5s&#46;c&#111;&#109;" rel="noopener" target="_blank"><span class="fas fa-envelope"></span></a>
<a href="https://www.github.com/FreneticScribbler" rel="noopener" target="_blank"><span class="fab fa-github"></span></a>
<a href="https://www.twitter.com/aronajones_" rel="noopener" target="_blank"><span class="fab fa-twitter"></span></a>
</footer>

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;