mirror of
https://github.com/jbowdre/virtuallypotato.git
synced 2024-11-24 16:02:18 +00:00
merge in theme updates
This commit is contained in:
parent
8cd4ac6649
commit
198c05a317
4 changed files with 14 additions and 6 deletions
|
@ -13,7 +13,7 @@
|
|||
<div class="{{ if ne $p.singleColumn true }}grid-inverse {{ end }}wrap content">
|
||||
<article class="post_content">
|
||||
{{- $t := .Title }}
|
||||
<h1 class="post_title">{{ $t }}</h1>
|
||||
<h1 class="post_title">{{ $t | markdownify }}</h1>
|
||||
{{- partial "post-meta" . }}
|
||||
{{- with .Param "lastmod" -}}
|
||||
{{- $ageDays = div (sub now.Unix .Unix) 86400 -}}
|
||||
|
@ -28,7 +28,7 @@
|
|||
{{- partial "image" (dict "file" $p.featureImage "alt" $p.featureImageAlt "cap" $p.featureImageCap "type" "featured" "Page" $.Page) }}
|
||||
</div>
|
||||
{{- end -}}
|
||||
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) ($s.toc) }}
|
||||
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) ($p.toc) }}
|
||||
<div class="post_toc">
|
||||
<div class="wrap-collapsible">
|
||||
<input id="collapsible" class="toggle" type="checkbox">
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<footer class="footer">
|
||||
<div class="footer_inner wrap pale">
|
||||
<img src='{{ absURL (default $defaultFooterLogo $s.footerLogo) }}' class="icon icon_2 transparent" alt="{{ $t }}">
|
||||
<p>{{ T "copyright" }}{{ with $s.since }} {{ . }}-{{ end }} <span class="year"></span> {{ $t }}<a rel="me" href="https://counter.social/@john_b">.</a> {{ T "all_rights" }}. {{ T "powered_by" }} <a href="https://gohugo.io/">Hugo</a>, <a href="https://github.com/chipzoller/hugo-clarity">Hugo Clarity theme</a>, {{ T "and" }} <a href="https://www.netlify.com/">Netlify</a>. <a href="https://github.com/jbowdre/virtuallypotato">{{ T "view_source" }}</a>.</p>
|
||||
<p>{{ T "copyright" | markdownify }}{{ with $s.since }} {{ . }}-{{ end }} <span class="year"></span> {{ $t }}<a rel="me" href="https://counter.social/@john_b">.</a> {{ T "all_rights" | markdownify }}. {{ T "powered_by" | markdownify }} <a href="https://gohugo.io/">Hugo</a>, <a href="https://github.com/chipzoller/hugo-clarity">Hugo Clarity theme</a>, {{ T "and" | markdownify }} <a href="https://www.netlify.com/">Netlify</a>. <a href="https://github.com/jbowdre/virtuallypotato">{{ T "view_source" | markdownify }}</a>.</p>
|
||||
{{- partialCached "top" .}}
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -33,6 +33,14 @@
|
|||
<a href='{{ absLangURL (default "about/" $s.introURL) }}' class="button mt-1" role="button" title='{{ $r }}'>{{ $r }}</a>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{ if .Site.Params.sidebardisclaimer }}
|
||||
<div class="sidebardisclaimer">
|
||||
<h2 class="mt-4">Disclaimer</h2>
|
||||
{{ .Site.Params.disclaimerText }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{- $relatedInSidebar := true }}
|
||||
{{- if eq $s.showRelatedInSidebar false }}
|
||||
{{ $relatedInSidebar = false }}
|
||||
|
@ -62,7 +70,7 @@
|
|||
<ul>
|
||||
{{- range . }}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title }}</a>
|
||||
<a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title | markdownify }}</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
|
@ -72,7 +80,7 @@
|
|||
{{- $recent := default 8 $s.numberOfRecentPosts }}
|
||||
{{- range first $recent $posts }}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title }}</a>
|
||||
<a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title | markdownify }}</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 6c3db7cbab090796895b4b66ffd76bbbd768195e
|
||||
Subproject commit e511e14db7a11b726ccc6c4456bf5ec5ebdd3720
|
Loading…
Reference in a new issue