Better placement of the comments, fix color issue for button
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lucien Cartier-Tilet 2022-11-30 02:09:34 +01:00
parent 2a143729c2
commit 5ab1084ca8
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 27 additions and 32 deletions

View File

@ -33,7 +33,7 @@
color: #b48ead !important; color: #b48ead !important;
} }
.commento-root .commento-submit-button { .commento-root .commento-submit-button {
color: #5e81ac !important; background: #5e81ac !important;
} }
p code { p code {

View File

@ -1,35 +1,30 @@
{{ define "main" }} {{ define "main" }}
<article class="post"> <article class="post">
<header class="post-header"> <header class="post-header">
<h1 class ="post-title">{{ .Title }}</h1> <h1 class="post-title">{{ .Title }}</h1>
<div class="post-meta"> <div class="post-meta">
<div> <div>
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }} {{ partial "icon.html" (dict "ctx" $ "name" "calendar") }} {{
{{ .PublishDate.Format "Jan 2, 2006" }} .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 -}}
</div> </div>
</header> <div>
<div class="post-content"> {{ partial "icon.html" (dict "ctx" $ "name" "clock") }} {{ .ReadingTime
{{ .Content }} }} 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>
<div class="post-footer"> </header>
{{ template "_internal/disqus.html" . }} <div class="post-content">{{ .Content }}</div>
</div> <div class="post-footer">
</article> <div id="commento"></div>
<script defer src="https://commento.phundrak.com/js/commento.js"></script> </div>
<div id="commento"></div> </article>
<script defer src="https://commento.phundrak.com/js/commento.js"></script>
{{ end }} {{ end }}