Include span in conditional

This commit is contained in:
Robert 2022-02-27 21:46:08 +01:00 committed by GitHub
parent f9a9225d75
commit d008d02dd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
<div class="relative w-100 mb4 bg-white nested-copy-line-height"> <div class="relative w-100 mb4 bg-white nested-copy-line-height">
<div class="bg-white mb3 pa4 gray overflow-hidden"> <div class="bg-white mb3 pa4 gray overflow-hidden">
<span class="f6 db">{{with .CurrentSection.Title }}{{ . }}{{end}}</span> {{with .CurrentSection.Title }}<span class="f6 db">{{ . }}</span>{{end}}
<h1 class="f3 near-black"> <h1 class="f3 near-black">
<a href="{{ .RelPermalink }}" class="link black dim"> <a href="{{ .RelPermalink }}" class="link black dim">
{{ .Title }} {{ .Title }}