Add tags to content files
This commit is contained in:
parent
2670bbe0bd
commit
cfdcf9b410
6 changed files with 16 additions and 1 deletions
|
@ -3,6 +3,8 @@ title: Revert Arch linux packages to specific date
|
|||
date: 2017-09-11
|
||||
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
|
||||
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.
|
||||
|
|
3
content/tags/arch/_index.md
Normal file
3
content/tags/arch/_index.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
title: Arch Linux
|
||||
---
|
|
@ -14,3 +14,5 @@
|
|||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "tags.html" . }}
|
||||
|
|
7
layouts/partials/tags.html
Normal file
7
layouts/partials/tags.html
Normal 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 }}
|
|
@ -18,7 +18,7 @@
|
|||
"yaml-lint": "0.0.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"bootstrap": "4.0.0-alpha.6",
|
||||
"bootstrap": "4.0.0-beta",
|
||||
"club-alpha": "0.0.3",
|
||||
"font-awesome": "4.7.0",
|
||||
"jquery": "3.2.1",
|
||||
|
|
|
@ -5,6 +5,7 @@ $fa-font-path: "../fonts";
|
|||
@import "node_modules/bootstrap/scss/_mixins";
|
||||
@import "node_modules/bootstrap/scss/_transitions";
|
||||
@import "node_modules/bootstrap/scss/_card";
|
||||
@import "node_modules/bootstrap/scss/_badge";
|
||||
@import "node_modules/pygments-css/github";
|
||||
@import "node_modules/lightgallery/src/sass/lightgallery";
|
||||
|
||||
|
|
Loading…
Reference in a new issue