mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Bud Parr
15.04.2017 480ea34d22d23ff1ad6cbd18939c08d0da747a85
improve conditional
2 files modified
12 ■■■■ changed files
layouts/partials/page-header.html 4 ●●●● patch | view | raw | blame | history
layouts/partials/site-header.html 8 ●●●● patch | view | raw | blame | history
layouts/partials/page-header.html
@@ -4,9 +4,9 @@
      {{ partial "site-navigation.html" . }}
      <div class="tc-l pv6 ph3 ph4-ns">
        <h1 class="f2 f1-l fw2 white-90 mb0 lh-title">{{ .Title | default .Site.Title }}</h1>
        {{ if .Params.description  }}
        {{ with .Params.description  }}
          <h2 class="fw1 f5 f3-l white-80 measure-wide-l center lh-copy mt3 mb4">
            {{ .Params.description  }}
            {{ . }}
          </h2>
        {{ end }}
      </div>
layouts/partials/site-header.html
@@ -6,9 +6,9 @@
        <h1 class="f2 f-subheadline-l fw2 white-90 mb0 lh-title">
          {{ .Title | default .Site.Title }}
        </h1>
        {{ if .Params.description  }}
        {{ with .Params.description }}
          <h2 class="fw1 f5 f3-l white-80 mt3">
            {{ .Params.description  }}
            {{ . }}
          </h2>
        {{ end }}
      </div>
@@ -22,9 +22,9 @@
        <h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">
          {{ .Title | default .Site.Title }}
        </h1>
        {{ if .Params.description  }}
        {{ with .Params.description }}
          <h2 class="fw1 f5 f3-l white-80 measure-wide-l center lh-copy mt3 mb4">
            {{ .Params.description  }}
            {{ . }}
          </h2>
        {{ end }}
      </div>