Yet another update, hopefully of better quality
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-30 02:07:30 +01:00
parent ff7a806bef
commit 8afa44019d
3 changed files with 75 additions and 51 deletions

View File

@@ -15,26 +15,6 @@
{{ template "_internal/opengraph.html" . }}
<style>
.commento-root .commento-anonymous-checkbox-container input[type="checkbox"] + label,
.commento-root .commento-mod-tools button,
.commento-root-font * {
color: #eceff4 !important;
}
.commento-root .commento-footer .commento-logo-container .commento-logo-text {
color: #34495e !important;
}
.commento-root .commento-dark-card {
background-color: #d08770 !important;
}
.commento-root input[type="text"], .commento-root textarea {
color: #2e3440 !important;
}
.commento-root .commento-mod-tools::before {
color: #b48ead !important;
}
.commento-root .commento-submit-button {
color: #5e81ac !important;
}
p code {
font-family: monospace,monospace;

View File

@@ -1,35 +1,35 @@
{{ define "main" }}
<article class="post">
<header class="post-header">
<h1 class ="post-title">{{ .Title }}</h1>
<div class="post-meta">
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }}
{{ .PublishDate.Format "Jan 2, 2006" }}
</div>
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }}
{{ .ReadingTime }} min read
</div>
{{- with .Params.tags -}}
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "tag") }}
{{ range . -}}
{{- with $.Site.GetPage (printf "/%s/%s" "tags" . ) -}}
<a class="tag" href="{{ .Permalink }}">{{ .Title }}</a>
{{- end -}}
{{- end -}}
</div>
{{- end -}}
<article class="post">
<header class="post-header">
<h1 class="post-title">{{ .Title }}</h1>
<div class="post-meta">
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }} {{
.PublishDate.Format "Jan 2, 2006" }}
</div>
</header>
<div class="post-content">
{{ .Content }}
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }} {{ .ReadingTime
}} min read
</div>
{{- with .Params.tags -}}
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "tag") }} {{ range . -}} {{-
with $.Site.GetPage (printf "/%s/%s" "tags" . ) -}}
<a class="tag" href="{{ .Permalink }}">{{ .Title }}</a>
{{- end -}} {{- end -}}
</div>
{{- end -}}
</div>
<div class="post-footer">
{{ template "_internal/disqus.html" . }}
</div>
</article>
<script defer src="https://commento.phundrak.com/js/commento.js"></script>
<div id="commento"></div>
</header>
<div class="post-content">{{ .Content }}</div>
<div class="post-footer">
<div id="commento"></div>
</div>
</article>
<script
defer
src="https://commento.phundrak.com/js/commento.js"
data-css-override="http://blog.phundrak.com/ox-hugo/commento.css"
data-auto-init="true"
></script>
{{ end }}