mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-06 08:43:40 +00:00
Tweak theme
This commit is contained in:
20
themes/custom-theme/layouts/_default/single.html
Normal file
20
themes/custom-theme/layouts/_default/single.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{{ define "main" }}
|
||||
<article class="post">
|
||||
<div class="post-header">
|
||||
<h1>{{ .Title | markdownify }}</h1>
|
||||
{{ partial "post-meta.html" (dict "page" . "pageIndex" 0) }}
|
||||
</div>
|
||||
|
||||
<div class="post-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
{{ if .Params.SocialShare }}
|
||||
{{ partial "social-share.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.Comments }}
|
||||
{{ partial "comments.html" . }}
|
||||
{{ end }}
|
||||
</article>
|
||||
{{ end }}
|
Reference in New Issue
Block a user