Compare commits
4 Commits
cc2132e811
...
ff598447bc
| Author | SHA1 | Date | |
|---|---|---|---|
| ff598447bc | |||
| aad00e1ea9 | |||
| 05198ec957 | |||
| 804564c896 |
13
content/blog/2020-07-14-go-hugo.md
Normal file
13
content/blog/2020-07-14-go-hugo.md
Normal 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!
|
||||
@@ -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="mailto:aj@a%72o%6Eajo%6E%65s.com">Email me!</a>
|
||||
</div>
|
||||
|
||||
30
layouts/blog/single.html
Normal file
30
layouts/blog/single.html
Normal 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>
|
||||
@@ -1,4 +1,5 @@
|
||||
<footer>
|
||||
<a href="mailto:aj@a%72o%6Eajo%6E%65s.com" 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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user