Merge branch 'master' into optional-new-tab-for-tags

This commit is contained in:
Guru Sabarish
2024-06-15 20:04:14 +05:30
committed by GitHub
8 changed files with 37 additions and 25 deletions
+7 -1
View File
@@ -4,6 +4,12 @@
<head>
{{- partial "head.html" . -}}
{{- block "head" . }} {{- end }}
<!-- Custom Styles -->
{{ if .Site.Params.customCSS }}
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/style.css">
{{ end }}
<title>
{{- block "title" . }} {{- end }}
</title>
@@ -33,4 +39,4 @@
</section>
</body>
</html>
</html>
+5 -3
View File
@@ -19,8 +19,10 @@
<div class="title mb-5">
<h1 class="text-center mb-4">{{ .Title }}</h1>
<div class="text-center">
{{ .Params.author }}
<small>|</small>
{{ if .Params.author }}
{{ .Params.author }}
<small>|</small>
{{ end }}
{{ .Date.Format (.Site.Params.datesFormat.article | default "Jan 2, 2006") }}
{{ if or (.Site.Params.singlePages.readTime.enable | default true) (.Params.enableReadingTime) }}
@@ -66,7 +68,7 @@
</aside>
{{end}}
{{ if .Params.socialShare | default true }}
{{ if .Params.socialShare | default .Site.Params.singlePages.socialShare | default true }}
<aside class="social">
<h5>{{ .Site.Params.terms.social | default "Social" }}</h5>
<div class="social-content">