diff options
author | Julian <julian@vantage-design.com> | 2020-10-05 13:57:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 13:57:35 +0300 |
commit | 08e8d6118c1f7c3a04ac04e82897087817c37778 (patch) | |
tree | a78c9a8b6a42e78177fbec16d936de47800117a7 | |
parent | 5944e0e89d899933adae2e82f7142a9e7f921926 (diff) | |
parent | 905a82658fbaabd18ea402d7fa65d95a78e377a3 (diff) |
Merge pull request #24 from sumpfralle/master
Fix documentation and styling of site logo
-rw-r--r-- | exampleSite/content/configuration/_index.md | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/content/configuration/_index.md b/exampleSite/content/configuration/_index.md index 32d2410..244df9b 100644 --- a/exampleSite/content/configuration/_index.md +++ b/exampleSite/content/configuration/_index.md @@ -30,7 +30,7 @@ in the <code>config.toml</code> or the <code>frontmatter</code> (a page's markdo An optional site logo can be specified: {{< code >}} -logo = /logo.svg +site_logo = /logo.svg {{< /code >}} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 1aa7077..61e9479 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,7 +3,7 @@ <div> <a class="navbar-brand" href="{{ .Site.BaseURL | relLangURL }}"> {{ with .Site.Params.site_logo }} - <img src="{{ . }}" height="3rem" /> + <img src="{{ . }}" /> {{ end }} {{ .Site.Title }} </a> |