projects
/
kengrimes.com
/
theme.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
formatted for web testing
[kengrimes.com/theme.git]
/
layouts
/
_default
/
baseof.html
diff --git
a/layouts/_default/baseof.html
b/layouts/_default/baseof.html
index
5455891
..
1f102a4
100644
(file)
--- a/
layouts/_default/baseof.html
+++ b/
layouts/_default/baseof.html
@@
-16,13
+16,13
@@
{{- $ph := cond (not $ph) (relURL "/img/speedy.png") $ph.RelPermalink }}
<img src="{{ $ph }}">
<div>
{{- $ph := cond (not $ph) (relURL "/img/speedy.png") $ph.RelPermalink }}
<img src="{{ $ph }}">
<div>
- {{ $caption := cond (not .Page.Params.caption) (cond (not $sp.
Title) .Site.Title $sp.Title) .Page.Params.C
aption }}
+ {{ $caption := cond (not .Page.Params.caption) (cond (not $sp.
Params.caption) .Site.Title $sp.Params.caption) .Page.Params.c
aption }}
{{- if (eq (printf "%T" $caption) "string") }}
{{- if (eq (printf "%T" $caption) "string") }}
- {{-
.Page.Params.
caption -}}
+ {{-
$
caption -}}
{{- else }}
{{- else }}
- {{- index
.Page.Params.
caption 0 }}
- {{- if (gt (len
.Page.Params.
caption) 1) }}
- {{- range after 1
.Page.Params.
caption -}}
+ {{- index
$
caption 0 }}
+ {{- if (gt (len
$
caption) 1) }}
+ {{- range after 1
$
caption -}}
<br>
{{ . }}
{{- end -}}
<br>
{{ . }}
{{- end -}}