mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 15:02:18 +00:00
Compare commits
3 commits
2d02179d2e
...
85a5a68f46
Author | SHA1 | Date | |
---|---|---|---|
85a5a68f46 | |||
9f59df16ad | |||
254496777d |
2 changed files with 6 additions and 5 deletions
|
@ -16,10 +16,7 @@
|
|||
<div class="content__body">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{- if eq .Site.Params.analytics true }}
|
||||
<hr>
|
||||
<span class="post_kudos">kudoses:<button class="tinylytics_kudos"></button></span>
|
||||
{{- end }}
|
||||
|
||||
{{- $showComments := true }}
|
||||
{{- if eq .Site.Params.comments false }}
|
||||
{{- $showComments = false }}
|
||||
|
@ -27,6 +24,10 @@
|
|||
{{- $showComments = false }}
|
||||
{{- end }}
|
||||
{{- if ne $showComments false }}
|
||||
<hr>
|
||||
{{- if eq .Site.Params.analytics true }}
|
||||
<span class="post_kudos">Enjoyed this post? <button class="tinylytics_kudos"></button></span>
|
||||
{{- end }}
|
||||
{{- partial "comments" . }}
|
||||
{{- end }}
|
||||
<footer class="content__footer"></footer>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
{{ if eq .Site.Params.analytics true }}
|
||||
<!-- tinylytics -->
|
||||
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos=👏" defer></script>
|
||||
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos=🎉" defer></script>
|
||||
{{ end }}
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
|
|
Loading…
Reference in a new issue