Single layout show date rage if supplied, fix figcaption right alignment
This commit is contained in:
parent
6bcb416dbf
commit
50b7892a15
@ -147,7 +147,7 @@ figure {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.right {
|
&.right {
|
||||||
text-align: left;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,11 @@
|
|||||||
<div class="post-meta">
|
<div class="post-meta">
|
||||||
{{ if .Params.Date }}
|
{{ if .Params.Date }}
|
||||||
<span class="post-date">
|
<span class="post-date">
|
||||||
|
{{ with .Params.daterange }}
|
||||||
|
{{ . }}
|
||||||
|
{{ else }}
|
||||||
{{ .Date.Format "01-02-2006" }} {{ if $.Site.Params.showLastUpdated }}[{{or $.Site.Params.updatedDatePrefix "Updated"}}: {{ .Lastmod.Format "2006-01-02" }}]{{ end }}
|
{{ .Date.Format "01-02-2006" }} {{ if $.Site.Params.showLastUpdated }}[{{or $.Site.Params.updatedDatePrefix "Updated"}}: {{ .Lastmod.Format "2006-01-02" }}]{{ end }}
|
||||||
|
{{ end }}
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .Params.Author }}
|
{{ with .Params.Author }}
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user