riq0h.jp/themes/qiss/layouts/_default/single.html

30 lines
954 B
HTML
Raw Permalink Normal View History

2023-08-21 10:07:01 +09:00
{{ partial "header" . }}
{{ partial "nav" . }}
<section class="section">
<div class="container">
<div class="subtitle tags is-6 is-pulled-right">
{{ if .Params.tags }}
{{ partial "tags" .Params.tags }}
{{ end }}
</div>
{{if not .Date.IsZero }}<h2 class="subtitle is-6">{{ .Date.Format "2006/01/02" }}</h2>{{ end }}
<h1 class="title">{{ .Title }}</h1>
{{ if and (.Site.Params.Info.adsense) (.Params.adsenseTop) }}
{{ partial "adsense" . }}
{{ end }}
<div class="content">
{{ .Content }}
{{ if .Site.Params.Info.related }}
<div class="related">{{ partial "related" . }}</div>
{{ end }}
</div>
{{ if and (.Site.Params.Info.adsense) (.Params.adsenseBottom) }}
{{ partial "adsense" . }}
{{ end}}
</div>
</section>
{{ if (and (.Site.Params.Info.codeCopy) (findRE "<pre" .Content 1)) }}
<script src="/js/copycode.js"></script>
{{ end }}
{{ partial "footer" . }}