diff options
-rw-r--r-- | exampleSite/config.yaml | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 18 | ||||
-rw-r--r-- | layouts/partials/meta.html | 4 |
3 files changed, 8 insertions, 16 deletions
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 3c5aa70..716a498 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -6,7 +6,7 @@ theme: colordrop author: name: Author Name job: Developer - image: /profile.png + image: profile.png github: github twitter: twitter linkedin: linkedin diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8ff1626..2e7fd55 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -9,19 +9,11 @@ </a> </div> - {{ if .IsHome }} - <h1 class="header-title"> - <a href="{{ "/" | absLangURL }}"> - {{ .Site.Title }} - </a> - </h1> - {{ else }} - <div class="header-title"> - <a href="{{ "/" | absLangURL }}"> - {{ .Site.Title }} - </a> - </div> - {{ end }} + <div class="header-title"> + <a href="{{ "/" | absLangURL }}"> + {{ .Site.Title }} + </a> + </div> </div> </div> </header> diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 9f984c0..2812653 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -6,8 +6,8 @@ {{ template "_internal/google_analytics_async.html" . }} <!-- Favicons --> -<link rel="icon" type="image/png" href="{{ "/img/favicon-32x32.png" | absURL }}" sizes="32x32" /> -<link rel="icon" type="image/png" href="{{ "/img/favicon-16x16.png" | absURL }}" sizes="16x16" /> +<link rel="icon" type="image/png" href="{{ "img/favicon-32x32.png" | absURL }}" sizes="32x32" /> +<link rel="icon" type="image/png" href="{{ "img/favicon-16x16.png" | absURL }}" sizes="16x16" /> <!-- SEO tags --> <link rel="canonical" href="{{ .Permalink }}" /> |