Compare commits
3 Commits
8c434ab71d
...
e94792ce04
| Author | SHA1 | Date | |
|---|---|---|---|
| e94792ce04 | |||
| ca54b70d56 | |||
| 0f332ec4ee |
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: "System Hardening"
|
title: "System Hardening"
|
||||||
subtitle: "Preventing Hacks"
|
subtitle: "Preventing Hacks"
|
||||||
author: hyperling
|
author: Hyperling
|
||||||
date: "2025-11-13T21:00:00-07:00"
|
date: "2025-11-13T21:00:00-07:00"
|
||||||
tags:
|
tags:
|
||||||
- tech
|
- tech
|
||||||
|
|||||||
@@ -1,12 +1,14 @@
|
|||||||
{{ $author := .Page.Params.author
|
{{ $author := (lower .Page.Params.author)
|
||||||
}}{{ if or (eq $author "authorBug") (eq $author "bug")
|
}}{{ if or (eq $author "authorbug") (eq $author "bug")
|
||||||
}}{{ .Scratch.Set "author" .Site.Params.authorBug
|
}}{{ .Scratch.Set "author" .Site.Params.authorBug
|
||||||
}}{{ else if or (eq $author "authorHyperling") (eq $author "hyperling")
|
}}{{ else if or (eq $author "authorhyperling") (eq $author "hyperling")
|
||||||
}}{{ .Scratch.Set "author" .Site.Params.authorHyperling
|
}}{{ .Scratch.Set "author" .Site.Params.authorHyperling
|
||||||
}}{{ else if or (eq $author "authorHyperVegan") (eq $author "hypervegan")
|
}}{{ else if or (eq $author "authorhypervegan") (eq $author "hypervegan")
|
||||||
}}{{ .Scratch.Set "author" .Site.Params.authorHyperVegan
|
}}{{ .Scratch.Set "author" .Site.Params.authorHyperVegan
|
||||||
}}{{ else
|
}}{{ else if and ($author) (not (eq $author ""))
|
||||||
}}{{ .Scratch.Set "author" $author
|
}}{{ .Scratch.Set "author" $author
|
||||||
|
}}{{ else
|
||||||
|
}}{{ .Scratch.Set "author" .Site.Params.authorDefault
|
||||||
}}{{ end
|
}}{{ end
|
||||||
}}{{ $author := .Scratch.Get "author"
|
}}{{ $author := .Scratch.Get "author"
|
||||||
}}{{ if $author
|
}}{{ if $author
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
{{ if .Params.subtitle }}
|
{{ if .Params.subtitle }}
|
||||||
<strong>{{ .Params.subtitle | markdownify }}</strong>
|
<strong>{{ .Params.subtitle | markdownify }}</strong>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Params.author }}
|
{{ if (isset .Params "author") }}
|
||||||
<pre>{{ partial "byline.html" . }}</pre>
|
<pre>{{ partial "byline.html" . }}</pre>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,14 @@
|
|||||||
{{ $author := .Get 0
|
{{ $author := (lower (.Get 0))
|
||||||
}}{{ if or (eq $author "authorBug") (eq $author "bug")
|
}}{{ if or (eq $author "authorbug") (eq $author "bug")
|
||||||
}}{{ .Scratch.Set "author" .Site.Params.authorBug
|
}}{{ .Scratch.Set "author" .Site.Params.authorBug
|
||||||
}}{{ else if or (eq $author "authorHyperling") (eq $author "hyperling")
|
}}{{ else if or (eq $author "authorhyperling") (eq $author "hyperling")
|
||||||
}}{{ .Scratch.Set "author" .Site.Params.authorHyperling
|
}}{{ .Scratch.Set "author" .Site.Params.authorHyperling
|
||||||
}}{{ else if or (eq $author "authorHyperVegan") (eq $author "hypervegan")
|
}}{{ else if or (eq $author "authorhypervegan") (eq $author "hypervegan")
|
||||||
}}{{ .Scratch.Set "author" .Site.Params.authorHyperVegan
|
}}{{ .Scratch.Set "author" .Site.Params.authorHyperVegan
|
||||||
}}{{ else
|
}}{{ else if and ($author) (not (eq $author ""))
|
||||||
}}{{ .Scratch.Set "author" $author
|
}}{{ .Scratch.Set "author" $author
|
||||||
|
}}{{ else
|
||||||
|
}}{{ .Scratch.Set "author" .Site.Params.authorDefault
|
||||||
}}{{ end
|
}}{{ end
|
||||||
}}{{ $author := .Scratch.Get "author"
|
}}{{ $author := .Scratch.Get "author"
|
||||||
}}{{ if $author
|
}}{{ if $author
|
||||||
|
|||||||
Reference in New Issue
Block a user