1
Fork 0

Add tags to content files

This commit is contained in:
Jake Howard 2017-09-17 11:02:43 +01:00
parent 2670bbe0bd
commit cfdcf9b410
Signed by: jake
GPG key ID: 57AFB45680EDD477
6 changed files with 16 additions and 1 deletions

View file

@ -3,6 +3,8 @@ title: Revert Arch linux packages to specific date
date: 2017-09-11 date: 2017-09-11
image: https://www.lumalab.net/download/archlogo/arch-logo-shiny-dark.png image: https://www.lumalab.net/download/archlogo/arch-logo-shiny-dark.png
subtitle: Arch is well known for going wrong, but today was the first time this affected me doing my job subtitle: Arch is well known for going wrong, but today was the first time this affected me doing my job
tags:
- arch
--- ---
I'm one of those Arch users who _apparently_ doesn't use arch properly: I install updates daily, including packages from the AUR. This has the great benefit of giving me the most up-to-date packages available from upstream. However the downside of meaning I have the latest packages from upstream, meaning if something breaks, even temporarily, it breaks for me. I'm one of those Arch users who _apparently_ doesn't use arch properly: I install updates daily, including packages from the AUR. This has the great benefit of giving me the most up-to-date packages available from upstream. However the downside of meaning I have the latest packages from upstream, meaning if something breaks, even temporarily, it breaks for me.

View file

@ -0,0 +1,3 @@
---
title: Arch Linux
---

View file

@ -14,3 +14,5 @@
{{ .Content }} {{ .Content }}
</div> </div>
{{ end }} {{ end }}
{{ partial "tags.html" . }}

View file

@ -0,0 +1,7 @@
{{ if .Params.tags }}
<div class="align-center">
{{ range .Params.tags }}
<h5><a href="/tags/{{ urlize . }}" class="badge badge-dark"><i class="fa fa-tag"></i> {{ . }}</a></h5>
{{ end }}
</div>
{{ end }}

View file

@ -18,7 +18,7 @@
"yaml-lint": "0.0.4" "yaml-lint": "0.0.4"
}, },
"dependencies": { "dependencies": {
"bootstrap": "4.0.0-alpha.6", "bootstrap": "4.0.0-beta",
"club-alpha": "0.0.3", "club-alpha": "0.0.3",
"font-awesome": "4.7.0", "font-awesome": "4.7.0",
"jquery": "3.2.1", "jquery": "3.2.1",

View file

@ -5,6 +5,7 @@ $fa-font-path: "../fonts";
@import "node_modules/bootstrap/scss/_mixins"; @import "node_modules/bootstrap/scss/_mixins";
@import "node_modules/bootstrap/scss/_transitions"; @import "node_modules/bootstrap/scss/_transitions";
@import "node_modules/bootstrap/scss/_card"; @import "node_modules/bootstrap/scss/_card";
@import "node_modules/bootstrap/scss/_badge";
@import "node_modules/pygments-css/github"; @import "node_modules/pygments-css/github";
@import "node_modules/lightgallery/src/sass/lightgallery"; @import "node_modules/lightgallery/src/sass/lightgallery";