Skip to content

Commit

Permalink
make site title h1 on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
growdigital committed Oct 10, 2018
1 parent efa24ef commit 44385bf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions themes/go/layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<header class="header" role="banner">
<div class="h-card">
<h2>
<a class="p-org u-url" rel="me" href="/" title="Link to home page">{{ .Site.Title }}</a>
</h2>
{{- if .IsHome -}}
<h1><a class="p-org u-url" rel="me" href="/" title="Link to home page">{{ .Site.Title }}</a></h1>
{{- else -}}
<h2 class="u-h1"><a class="p-org u-url" rel="me" href="/" title="Link to home page">{{ .Site.Title }}</a></h2>
{{- end -}}
<a href="/" title="Link to home page">
<img class="u-photo" src="/assets/img/logo.png" alt="{{ .Site.Title }} logo">
</a>
Expand Down

0 comments on commit 44385bf

Please sign in to comment.