aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/brand.html
blob: 08ec79769b988db3d0525c344ce8d7042ecabb05 (plain)
1
2
3
4
5
6
7
8
<h2 class="book-brand">
  <a href="{{ cond (not .Site.Home.File) .Sites.First.Home.RelPermalink .Site.Home.RelPermalink }}">
    {{- with .Site.Params.BookLogo -}}
    <img src="{{ . | relURL }}" alt="Logo" />
    {{- end -}}
    <span>{{ .Site.Title }}</span>
  </a>
</h2>