Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 58d1efb..3819708 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,7 +1,12 @@
<header id="header">
<div id="header-main" class="header-inner">
<div class="outer">
- <a href="{{ .Site.BaseURL }}" id="logo"><i class="logo" style="background-image: url('{{ .Site.BaseURL }}css/images/logo.png')"></i><span class="site-title">{{ .Site.Title }}</span></a>
+ <a href="{{ .Site.BaseURL }}" id="logo">
+ {{ if .Site.Params.logo }}
+ <i class="logo" style="background-image: url('{{ .Site.Params.logo | absURL }}')"></i>
+ {{end}}
+ <span class="site-title">{{ .Site.Title }}</span>
+ </a>
<nav id="main-nav">
{{ range .Site.Params.menu }}
{{ if .before }}