Commit 28a62dc0 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Don't apply title classes to the site title

parent 8ead6104
{{- if .IsHome -}}
<h1 class='site-title {{ partial "classnames/title.html" . }}'><a href='{{ .Site.BaseURL }}'>{{ .Site.Title }}</a></h1>
<h1 class='site-title'><a href='{{ .Site.BaseURL }}'>{{ .Site.Title }}</a></h1>
{{- else -}}
<h2 class='site-title {{ partial "classnames/title.html" . }}'><a href='{{ .Site.BaseURL }}'>{{ .Site.Title }}</a></h2>
<h2 class='site-title'><a href='{{ .Site.BaseURL }}'>{{ .Site.Title }}</a></h2>
{{- end }}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment