diff options
| author | nanxiaobei <nanxiaobei@gmail.com> | 2019-06-10 06:53:02 +0800 |
|---|---|---|
| committer | nanxiaobei <nanxiaobei@gmail.com> | 2019-06-10 06:53:02 +0800 |
| commit | 1304e354ddd1624179516709c9dfbbedb01d1fbc (patch) | |
| tree | d448a143ff96c6a8ced9b89239557de16d792fca | |
| parent | 8fb3d31504dd8340afec3949cc91e99bc5e48cc8 (diff) | |
| parent | ec2b36577366b630e5861b771699f92fc110dab2 (diff) | |
Merge remote-tracking branch 'origin/master'
| -rw-r--r-- | layouts/partials/header.html | 4 | ||||
| -rw-r--r-- | static/css/style.css | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index b7784a6..6b809ef 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -28,7 +28,7 @@ <link rel="apple-touch-icon" href="{{ "img/apple-touch-icon.png" | absURL }}"> <link rel="icon" href="{{ "img/favicon.ico" | absURL }}"> <!-- Generator --> - {{ .Hugo.Generator }} + {{ hugo.Generator }} <!-- RSS --> <link rel="alternate" type="application/atom+xml" href="{{ "index.xml" | absURL }}" title="{{ .Site.Title }}"> {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} @@ -44,7 +44,9 @@ {{ else }} <p class="logo"><a href="{{ "/" | absURL }}">{{ .Site.Title }} </a></p> {{ end }} + {{ if (isset .Site.Menus "main") }} <button class="menu-toggle" type="button"></button> + {{ end }} </div> </header> <nav class="nav"> diff --git a/static/css/style.css b/static/css/style.css index 7b06912..cfc898a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -184,6 +184,7 @@ img { padding-bottom: 180px; text-align: center; background: #fff; + list-style: none; } .menu li + li { margin-top: 12px; |
