Comment system for Hugo https://labertasche.tuxstash.de/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
497 B

{{ define "main" }}
<article class="container p-3 bg-deepmatte brdr-yayellow">
<p class="title has-text-white">{{ .Title }}</p>
<div class="content has-text-justified has-text-white">{{ .Content }}</div>
</article>
<article class="container p-3 bg-deepmatte brdr-yayellow mt-5">
<div>
{{ $file := replaceRE "^(.*)[\\/]$" "data$1.json" .Page.RelPermalink }}
{{ .Scratch.Set "location" $file }}
{{ partial "partials/comments" . }}
</div>
</article>
{{ end }}