Mapping fail2ban blogpost
This commit is contained in:
parent
59534686e9
commit
90b1d205e0
3 changed files with 154 additions and 0 deletions
5
layouts/shortcodes/static
Normal file
5
layouts/shortcodes/static
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{{- .Scratch.Set "path" (.Get 0) -}}
|
||||
{{- if hasPrefix (.Scratch.Get "path") "/" -}}
|
||||
{{- .Scratch.Set "path" (slicestr (.Scratch.Get "path") 1) -}}
|
||||
{{- end -}}
|
||||
{{- .Scratch.Get "path" | absURL -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue