mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 22:42:19 +00:00
no kudos on 404
This commit is contained in:
parent
209ef01655
commit
51011ce0bc
3 changed files with 9 additions and 1 deletions
|
@ -25,6 +25,7 @@ giscusStrict = "0"
|
|||
giscusTheme = "noborder_gray"
|
||||
|
||||
analytics = true
|
||||
kudos = true
|
||||
|
||||
[author]
|
||||
name = "John Bowdre"
|
||||
|
|
|
@ -3,6 +3,7 @@ title = "404'd!"
|
|||
noindex = true
|
||||
timeless = true
|
||||
comments = true
|
||||
kudos = false
|
||||
+++
|
||||
|
||||
We're not sure what you were looking for but it's not here.
|
||||
|
|
|
@ -42,7 +42,13 @@
|
|||
{{- end }}
|
||||
{{- if ne $showComments false }}
|
||||
<hr>
|
||||
{{- if eq .Site.Params.analytics true }}
|
||||
{{- $showKudos := true }}
|
||||
{{- if eq .Site.Params.kudos false }}
|
||||
{{- $showKudos = false }}
|
||||
{{- else if eq .Params.kudos false }}
|
||||
{{- $showKudos = false }}
|
||||
{{- end }}
|
||||
{{- if and (eq .Site.Params.analytics true) (ne $showKudos false) }}
|
||||
<span class="post_kudos">Enjoyed this post? <button class="tinylytics_kudos"></button></span>
|
||||
{{- end }}
|
||||
{{- partial "comments" . }}
|
||||
|
|
Loading…
Reference in a new issue