tagging support
This commit is contained in:
parent
1740a44b82
commit
5e8bdd7020
|
@ -1,6 +1,10 @@
|
||||||
---
|
---
|
||||||
title: "OVE-20190623-0001"
|
title: "OVE-20190623-0001"
|
||||||
date: 2019-06-24
|
date: 2019-06-24
|
||||||
|
tags:
|
||||||
|
- v
|
||||||
|
- security
|
||||||
|
- release
|
||||||
---
|
---
|
||||||
|
|
||||||
# OVE-20190623-0001
|
# OVE-20190623-0001
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
title: A Letter to Those That Bullied Me
|
title: A Letter to Those That Bullied Me
|
||||||
date: 2018-06-16
|
date: 2018-06-16
|
||||||
for: Elizabeth
|
for: Elizabeth
|
||||||
|
tags:
|
||||||
|
- offmychest
|
||||||
---
|
---
|
||||||
|
|
||||||
# A Letter to Those Who Bullied Me
|
# A Letter to Those Who Bullied Me
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
---
|
---
|
||||||
title: My Experience with Atom as A Vim User
|
title: My Experience with Atom as A Vim User
|
||||||
date: 2014-11-18
|
date: 2014-11-18
|
||||||
from: medium
|
series: medium-archive
|
||||||
|
tags:
|
||||||
|
- atom
|
||||||
|
- vim
|
||||||
---
|
---
|
||||||
|
|
||||||
My Experience with Atom as A Vim User
|
My Experience with Atom as A Vim User
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
title: The Beautiful in the Ugly
|
title: The Beautiful in the Ugly
|
||||||
date: 2018-04-23
|
date: 2018-04-23
|
||||||
for: Silver
|
for: Silver
|
||||||
|
tags:
|
||||||
|
- shell
|
||||||
---
|
---
|
||||||
|
|
||||||
# The Beautiful in the Ugly
|
# The Beautiful in the Ugly
|
||||||
|
@ -85,4 +87,4 @@ function deploy {
|
||||||
}
|
}
|
||||||
|
|
||||||
$*
|
$*
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
title: Web Application Development with Beego
|
title: Web Application Development with Beego
|
||||||
date: 2014-11-28
|
date: 2014-11-28
|
||||||
|
tags:
|
||||||
|
- go
|
||||||
|
- beego
|
||||||
---
|
---
|
||||||
|
|
||||||
Web Application Development with Beego
|
Web Application Development with Beego
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
title: How I Converted my Brain fMRI to a 3D Model
|
title: How I Converted my Brain fMRI to a 3D Model
|
||||||
date: 2019-08-23
|
date: 2019-08-23
|
||||||
series: howto
|
series: howto
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- blender
|
||||||
---
|
---
|
||||||
|
|
||||||
# How I Converted my Brain fMRI to a 3D Model
|
# How I Converted my Brain fMRI to a 3D Model
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Advice to People Nurturing a Career in Computering
|
title: Advice to People Nurturing a Career in Computering
|
||||||
date: 2019-06-18
|
date: 2019-06-18
|
||||||
|
tags:
|
||||||
|
- career
|
||||||
---
|
---
|
||||||
|
|
||||||
# Advice to People Nurturing a Career in Computering
|
# Advice to People Nurturing a Career in Computering
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: CinemaQuestria Orchestration
|
title: CinemaQuestria Orchestration
|
||||||
date: 2015-03-13
|
date: 2015-03-13
|
||||||
|
tags:
|
||||||
|
- cinemaquestria
|
||||||
---
|
---
|
||||||
|
|
||||||
CinemaQuestria Orchestration
|
CinemaQuestria Orchestration
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Coding on an iPad
|
title: Coding on an iPad
|
||||||
date: 2018-04-14
|
date: 2018-04-14
|
||||||
|
tags:
|
||||||
|
- ipad
|
||||||
---
|
---
|
||||||
|
|
||||||
# Coding on an iPad
|
# Coding on an iPad
|
||||||
|
@ -130,4 +132,4 @@ You just do thing and it does thing.
|
||||||
[texastic]: https://itunes.apple.com/us/app/textastic-code-editor-6/id1049254261?mt=8
|
[texastic]: https://itunes.apple.com/us/app/textastic-code-editor-6/id1049254261?mt=8
|
||||||
[workingcopy]: https://itunes.apple.com/us/app/working-copy/id896694807?mt=8
|
[workingcopy]: https://itunes.apple.com/us/app/working-copy/id896694807?mt=8
|
||||||
[workflow]: https://www.workflow.is
|
[workflow]: https://www.workflow.is
|
||||||
[ceruleiscloud]: https://elliot.pro/blog/working-in-the-cloud.html
|
[ceruleiscloud]: https://elliot.pro/blog/working-in-the-cloud.html
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Coming Out
|
title: Coming Out
|
||||||
date: 2015-12-01
|
date: 2015-12-01
|
||||||
|
tags:
|
||||||
|
- personal
|
||||||
---
|
---
|
||||||
|
|
||||||
Coming Out
|
Coming Out
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
title: "Crazy Experiment: Ship the Frontend as an asar document"
|
title: "Crazy Experiment: Ship the Frontend as an asar document"
|
||||||
date: "2017-01-09"
|
date: "2017-01-09"
|
||||||
|
tags:
|
||||||
|
- asar
|
||||||
|
- frontend
|
||||||
---
|
---
|
||||||
|
|
||||||
Crazy Experiment: Ship the Frontend as an asar document
|
Crazy Experiment: Ship the Frontend as an asar document
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
title: "Creator's Code"
|
title: "Creator's Code"
|
||||||
author: Christine Dodrill
|
author: Christine Dodrill
|
||||||
date: 2018-09-17
|
date: 2018-09-17
|
||||||
|
tags:
|
||||||
|
- release
|
||||||
|
- coc
|
||||||
---
|
---
|
||||||
|
|
||||||
# [Creator's Code](https://github.com/Xe/creators-code)
|
# [Creator's Code](https://github.com/Xe/creators-code)
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: "Deprecation Notice: Elemental-IRCd"
|
title: "Deprecation Notice: Elemental-IRCd"
|
||||||
date: 2019-02-11
|
date: 2019-02-11
|
||||||
|
tags:
|
||||||
|
- release
|
||||||
---
|
---
|
||||||
|
|
||||||
# Deprecation Notice: Elemental-IRCd
|
# Deprecation Notice: Elemental-IRCd
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Instant Development Environments in Docker
|
title: Instant Development Environments in Docker
|
||||||
date: 2014-10-24
|
date: 2014-10-24
|
||||||
|
tags:
|
||||||
|
- release
|
||||||
---
|
---
|
||||||
|
|
||||||
Instant Development Environments in Docker
|
Instant Development Environments in Docker
|
||||||
|
|
|
@ -3,6 +3,9 @@ title: "Farewell Email - Heroku"
|
||||||
date: 2019-03-08
|
date: 2019-03-08
|
||||||
for: Herokai
|
for: Herokai
|
||||||
subject: May our paths cross again
|
subject: May our paths cross again
|
||||||
|
tags:
|
||||||
|
- personal
|
||||||
|
- heroku
|
||||||
---
|
---
|
||||||
|
|
||||||
# Farewell Email - Heroku
|
# Farewell Email - Heroku
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
---
|
---
|
||||||
title: FFI-ing Go from Nim for Fun and Profit
|
title: FFI-ing Go from Nim for Fun and Profit
|
||||||
date: 2015-12-20
|
date: 2015-12-20
|
||||||
|
series: howto
|
||||||
|
tags:
|
||||||
|
- go
|
||||||
|
- nim
|
||||||
---
|
---
|
||||||
|
|
||||||
FFI-ing Golang from Nim for Fun and Profit
|
FFI-ing Golang from Nim for Fun and Profit
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
title: The h Programming Language
|
title: The h Programming Language
|
||||||
date: 2019-06-30
|
date: 2019-06-30
|
||||||
|
tags:
|
||||||
|
- wasm
|
||||||
|
- release
|
||||||
---
|
---
|
||||||
|
|
||||||
# The h Programming Language
|
# The h Programming Language
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
title: How to Send Email with Nim
|
title: How to Send Email with Nim
|
||||||
date: 2019-08-28
|
date: 2019-08-28
|
||||||
series: howto
|
series: howto
|
||||||
|
tags:
|
||||||
|
- nim
|
||||||
|
- email
|
||||||
---
|
---
|
||||||
|
|
||||||
# How to Send Email with Nim
|
# How to Send Email with Nim
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
title: "Land 1: Syscalls & File I/O"
|
title: "Land 1: Syscalls & File I/O"
|
||||||
date: 2018-06-18
|
date: 2018-06-18
|
||||||
series: olin
|
series: olin
|
||||||
|
tags:
|
||||||
|
- wasm
|
||||||
---
|
---
|
||||||
|
|
||||||
# Land 1: Syscalls & File I/O
|
# Land 1: Syscalls & File I/O
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
title: Let it Snow
|
title: Let it Snow
|
||||||
date: 2018-12-17
|
date: 2018-12-17
|
||||||
for: the lols
|
for: the lols
|
||||||
|
tags:
|
||||||
|
- fluff
|
||||||
---
|
---
|
||||||
|
|
||||||
# Let it Snow
|
# Let it Snow
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
title: "Life Update - Montréal"
|
title: "Life Update - Montréal"
|
||||||
date: "2019-05-16"
|
date: "2019-05-16"
|
||||||
for: "Vic"
|
for: "Vic"
|
||||||
|
tags:
|
||||||
|
- personal
|
||||||
---
|
---
|
||||||
|
|
||||||
# Life Update - Montréal
|
# Life Update - Montréal
|
||||||
|
@ -40,4 +42,4 @@ Something of note is that this is the first time I've moved without having to ge
|
||||||
|
|
||||||
Things are looking up for me. I'm really happy. My new job is great. The people I work with are great. I'm working towards French fluency (hopefully going to be writing blogposts in French by this time two years from now at most). Everything is looking up from here, and I'm so happy for it.
|
Things are looking up for me. I'm really happy. My new job is great. The people I work with are great. I'm working towards French fluency (hopefully going to be writing blogposts in French by this time two years from now at most). Everything is looking up from here, and I'm so happy for it.
|
||||||
|
|
||||||
Can't wait to see what's next!
|
Can't wait to see what's next!
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
title: Introducing Lokahi
|
title: Introducing Lokahi
|
||||||
date: 2018-02-08
|
date: 2018-02-08
|
||||||
github_issue: https://github.com/Xe/lokahi/issues/15
|
github_issue: https://github.com/Xe/lokahi/issues/15
|
||||||
|
tags:
|
||||||
|
- hackweek
|
||||||
|
- release
|
||||||
|
- go
|
||||||
|
- monitoring
|
||||||
---
|
---
|
||||||
|
|
||||||
# Introducing Lokahi
|
# Introducing Lokahi
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
---
|
---
|
||||||
title: MrBeast is Postmodern Gold
|
title: MrBeast is Postmodern Gold
|
||||||
date: 2019-06-05
|
date: 2019-06-05
|
||||||
|
tags:
|
||||||
|
- mrbeast
|
||||||
|
- postmodern
|
||||||
|
- youtube
|
||||||
---
|
---
|
||||||
|
|
||||||
Author's note: I've been going through a lot lately. This Monday I was in the emergency room after having a panic attack. I have a folder of writing in my notes that I use to help work off steam. I don't know why, but writing this article really helped me feel better. I can only hope it helps make your day feel better too.
|
Author's note: I've been going through a lot lately. This Monday I was in the emergency room after having a panic attack. I have a folder of writing in my notes that I use to help work off steam. I don't know why, but writing this article really helped me feel better. I can only hope it helps make your day feel better too.
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
title: "RSS Feed Generation"
|
title: "RSS Feed Generation"
|
||||||
date: "2017-03-29"
|
date: "2017-03-29"
|
||||||
|
tags:
|
||||||
|
- rss
|
||||||
|
- atom
|
||||||
---
|
---
|
||||||
|
|
||||||
RSS Feed Generation
|
RSS Feed Generation
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
---
|
---
|
||||||
title: Sorting Time
|
title: Sorting Time
|
||||||
date: 2018-08-26
|
date: 2018-08-26
|
||||||
|
tags:
|
||||||
|
- time
|
||||||
|
- javascript
|
||||||
|
- tale-of-woe
|
||||||
---
|
---
|
||||||
|
|
||||||
# Sorting Time
|
# Sorting Time
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
title: The Cult of Kubernetes
|
title: The Cult of Kubernetes
|
||||||
date: 2019-09-07
|
date: 2019-09-07
|
||||||
series: howto
|
series: howto
|
||||||
|
tags:
|
||||||
|
- kubernetes
|
||||||
|
- digitalocean
|
||||||
|
- githubactions
|
||||||
---
|
---
|
||||||
|
|
||||||
# The Cult of Kubernetes
|
# The Cult of Kubernetes
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
title: V is for Vaporware
|
title: V is for Vaporware
|
||||||
date: 2019-06-23
|
date: 2019-06-23
|
||||||
|
tags:
|
||||||
|
- v
|
||||||
|
- rant
|
||||||
---
|
---
|
||||||
|
|
||||||
# V is for Vaporware
|
# V is for Vaporware
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: WebAssembly Talk Video Posted
|
title: WebAssembly Talk Video Posted
|
||||||
date: 2019-08-15
|
date: 2019-08-15
|
||||||
|
tags:
|
||||||
|
- wasm
|
||||||
---
|
---
|
||||||
|
|
||||||
# WebAssembly Talk Video Posted
|
# WebAssembly Talk Video Posted
|
||||||
|
|
|
@ -6,6 +6,7 @@ import (
|
||||||
"html/template"
|
"html/template"
|
||||||
"net/http"
|
"net/http"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"christine.website/internal"
|
"christine.website/internal"
|
||||||
|
@ -164,6 +165,14 @@ func (s *Site) showPost(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var tags string
|
||||||
|
|
||||||
|
if len(p.Tags) != 0 {
|
||||||
|
for _, t := range p.Tags {
|
||||||
|
tags = tags + " #" + strings.Replace(t, "-", "")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const dateFormat = `2006-01-02`
|
const dateFormat = `2006-01-02`
|
||||||
s.renderTemplatePage("blogpost.html", struct {
|
s.renderTemplatePage("blogpost.html", struct {
|
||||||
Title string
|
Title string
|
||||||
|
@ -171,12 +180,14 @@ func (s *Site) showPost(w http.ResponseWriter, r *http.Request) {
|
||||||
BodyHTML template.HTML
|
BodyHTML template.HTML
|
||||||
Date string
|
Date string
|
||||||
Series string
|
Series string
|
||||||
|
Tags string
|
||||||
}{
|
}{
|
||||||
Title: p.Title,
|
Title: p.Title,
|
||||||
Link: p.Link,
|
Link: p.Link,
|
||||||
BodyHTML: p.BodyHTML,
|
BodyHTML: p.BodyHTML,
|
||||||
Date: p.Date.Format(dateFormat),
|
Date: p.Date.Format(dateFormat),
|
||||||
Series: p.Series,
|
Series: strings.ReplaceAll(p.Series, "-", ""),
|
||||||
|
Tags: tags,
|
||||||
}).ServeHTTP(w, r)
|
}).ServeHTTP(w, r)
|
||||||
postView.With(prometheus.Labels{"base": filepath.Base(p.Link)}).Inc()
|
postView.With(prometheus.Labels{"base": filepath.Base(p.Link)}).Inc()
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,6 +59,10 @@
|
||||||
<p>Series: <a href="/blog/series/{{ .Series }}">{{ .Series }}</a></p>
|
<p>Series: <a href="/blog/series/{{ .Series }}">{{ .Series }}</a></p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if ne .Tags "" }}
|
||||||
|
<p>Tags:{{.Tags}}</p>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
// The actual function. Set this as an onclick function for your "Share on Mastodon" button
|
// The actual function. Set this as an onclick function for your "Share on Mastodon" button
|
||||||
|
@ -96,6 +100,7 @@ function share_on_mastodon() {
|
||||||
var hashtags = "#blogpost";
|
var hashtags = "#blogpost";
|
||||||
|
|
||||||
{{ if ne .Series "" }}hashtags += " #{{ .Series }}";{{ end }}
|
{{ if ne .Series "" }}hashtags += " #{{ .Series }}";{{ end }}
|
||||||
|
{{ if ne .Tags "" }}hashtags += "{{ .Tags }}";{{ end }}
|
||||||
|
|
||||||
// Tagging users, such as offical accounts or the author of the post
|
// Tagging users, such as offical accounts or the author of the post
|
||||||
var author = "@cadey@mst3k.interlinked.me";
|
var author = "@cadey@mst3k.interlinked.me";
|
||||||
|
|
Loading…
Reference in New Issue