1
0
Fork 0

Merge remote-tracking branch 'origin/master'

This commit is contained in:
nanxiaobei 2019-06-10 06:53:02 +08:00
commit 1304e354dd
2 changed files with 4 additions and 1 deletions

View file

@ -28,7 +28,7 @@
<link rel="apple-touch-icon" href="{{ "img/apple-touch-icon.png" | absURL }}"> <link rel="apple-touch-icon" href="{{ "img/apple-touch-icon.png" | absURL }}">
<link rel="icon" href="{{ "img/favicon.ico" | absURL }}"> <link rel="icon" href="{{ "img/favicon.ico" | absURL }}">
<!-- Generator --> <!-- Generator -->
{{ .Hugo.Generator }} {{ hugo.Generator }}
<!-- RSS --> <!-- RSS -->
<link rel="alternate" type="application/atom+xml" href="{{ "index.xml" | absURL }}" title="{{ .Site.Title }}"> <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") }} {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
@ -44,7 +44,9 @@
{{ else }} {{ else }}
<p class="logo"><a href="{{ "/" | absURL }}">{{ .Site.Title }} </a></p> <p class="logo"><a href="{{ "/" | absURL }}">{{ .Site.Title }} </a></p>
{{ end }} {{ end }}
{{ if (isset .Site.Menus "main") }}
<button class="menu-toggle" type="button"></button> <button class="menu-toggle" type="button"></button>
{{ end }}
</div> </div>
</header> </header>
<nav class="nav"> <nav class="nav">

View file

@ -184,6 +184,7 @@ img {
padding-bottom: 180px; padding-bottom: 180px;
text-align: center; text-align: center;
background: #fff; background: #fff;
list-style: none;
} }
.menu li + li { .menu li + li {
margin-top: 12px; margin-top: 12px;