layout stuffz
This commit is contained in:
parent
27517de0a0
commit
722233edab
@ -72,6 +72,7 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article class="markdown">
|
<article class="markdown">
|
||||||
<h1 class="title">{{ partial "docs/title.html" . }}</h1>
|
<h1 class="title">{{ partial "docs/title.html" . }}</h1>
|
||||||
|
{{ partial "docs/inject/before-title.html" . }}
|
||||||
{{partial "quartz/textprocessing" . }}
|
{{partial "quartz/textprocessing" . }}
|
||||||
{{ partial "quartz/footer" .}}
|
{{ partial "quartz/footer" .}}
|
||||||
{{/* {{- .Content -}} */}}
|
{{/* {{- .Content -}} */}}
|
||||||
|
0
layouts/partials/docs/inject/before-title.html
Normal file
0
layouts/partials/docs/inject/before-title.html
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<div id="tabs-post-meta">
|
||||||
|
<div class="big-meta">
|
||||||
|
<div class="book-columns flex flex-wrap">
|
||||||
|
{{if or (eq .Type "writing") (eq .Type "fic")}}
|
||||||
|
<div class="gridmaybe">
|
||||||
|
<b class="meta-field">Words:</b>
|
||||||
|
<span class="meta-value">
|
||||||
|
{{.WordCount}}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<span class="post-date">
|
||||||
|
{{.Date.Format $.Site.Params.BookDateFormat }}
|
||||||
|
</span>
|
||||||
|
<div>
|
||||||
|
<div class="tags-heading">
|
||||||
|
<h3 class="small-caps">
|
||||||
|
tags
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
<div class="tag-container">
|
||||||
|
{{ range $.Params.tags }}
|
||||||
|
<div class="post-tag">
|
||||||
|
<a href="/tags/{{ . }}">{{ . }}</a> <!-- The . represents an element in $array -->
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
@ -8,9 +8,9 @@
|
|||||||
{{ $year := dateFormat "2006" now }}
|
{{ $year := dateFormat "2006" now }}
|
||||||
<p>{{ i18n "copyright" (dict "name" $name "year" $year) | safeHTML}}</p>
|
<p>{{ i18n "copyright" (dict "name" $name "year" $year) | safeHTML}}</p>
|
||||||
<ul>
|
<ul>
|
||||||
{{ if not .IsHome }}
|
<!-- {{ if not .IsHome }}
|
||||||
<li><a href="{{ $.Site.BaseURL}}">{{ i18n "home" }}</a></li>
|
<li><a href="{{ $.Site.BaseURL}}">{{ i18n "home" }}</a></li>
|
||||||
{{end}}
|
{{end}} -->
|
||||||
{{- range $data.links | default $.Site.Params.links -}}
|
{{- range $data.links | default $.Site.Params.links -}}
|
||||||
<li><a href="{{.link}}">{{.link_name}}</a></li>
|
<li><a href="{{.link}}">{{.link_name}}</a></li>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{{if .Date}}
|
{{if .Date}}
|
||||||
{{.Date.Format "Jan 2, 2006"}}
|
{{.Date.Format $.Site.Params.BookDateFormat}}
|
||||||
{{else if .Lastmod}}
|
{{else if .Lastmod}}
|
||||||
{{.Lastmod.Format "Jan 2, 2006"}}
|
{{.Lastmod.Format $.Site.Params.BookDateFormat}}
|
||||||
{{else}}
|
{{else}}
|
||||||
Unknown
|
Unknown
|
||||||
{{end}}
|
{{end}}
|
||||||
|
0
layouts/partials/quartz/fics/author-notes.html
Normal file
0
layouts/partials/quartz/fics/author-notes.html
Normal file
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
{{/* {{if $.Site.Params.enableFooter}} */}}
|
{{if $.Site.Params.enableFooter}}
|
||||||
<div class="page-end" id="footer">
|
<div class="page-end" id="footer">
|
||||||
<div class="backlinks-container">
|
<div class="backlinks-container">
|
||||||
{{partial "quartz/backlinks.html" .}}
|
{{partial "quartz/backlinks.html" .}}
|
||||||
@ -11,6 +11,6 @@
|
|||||||
{{partial "quartz/graph.html" .}}
|
{{partial "quartz/graph.html" .}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{/* {{end}} */}}
|
{{end}}
|
||||||
|
|
||||||
{{partial "quartz/contact" .}}
|
{{partial "quartz/contact" .}}
|
||||||
|
0
layouts/partials/quartz/post-meta.html
Normal file
0
layouts/partials/quartz/post-meta.html
Normal file
Loading…
Reference in New Issue
Block a user