Commit 2284186e authored by Mike Jones's avatar Mike Jones

Add author taxonomy

parent bb1b12c2
Pipeline #143 failed with stage
in 16 seconds
......@@ -5,6 +5,10 @@ theme = "netsplit"
Paginate = 5
[taxonomies]
author = "authors"
tag = "tags"
[menu]
[[menu.main]]
identifier = "about"
......
---
title: "Mike Jones"
job_title: "Software Engineer"
gitlab: "https://git.netsplit.uk"
website: "https://netsplit.uk"
---
......@@ -17,6 +17,8 @@
//@import "icons";
// selectively import icons we need from font-awesome
// see: ../../node_modules/font-awesome/scss/_icons.scss
.#{$fa-css-prefix}-gitlab:before { content: $fa-var-gitlab; }
.#{$fa-css-prefix}-globe:before { content: $fa-var-globe; }
.#{$fa-css-prefix}-tag:before { content: $fa-var-tag; }
.#{$fa-css-prefix}-folder:before { content: $fa-var-folder; }
.#{$fa-css-prefix}-rss:before { content: $fa-var-rss; }
......
{{ $baseUrl := .Site.BaseURL }}
<ul>
<li>
Posted:
......
{{ define "main" }}
<article>
<header>
<h1>{{ .Title }}</h1>
{{ if .Params.job_title }}
<p>{{ .Title }} is a {{ .Params.job_title }}.</p>
{{ end }}
{{ if or .Params.website .Params.gitlab }}
<ul>
{{ if .Params.gitlab }}
<li><i class="fa fa-gitlab"></i> Gitlab</li>
{{ end }}
{{ if .Params.website }}
<li><i class="fa fa-globe"></i> Website</li>
{{ end }}
</ul>
{{ end }}
</header>
<section class="post-content">
{{ range .Data.Pages }}
{{ .Render "summary" }}
{{ end }}
</section>
<footer class="post-footer"></footer>
</article>
{{ end }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment