1
0
Fork 0
This commit is contained in:
nanxiaobei 2018-03-13 14:31:10 +08:00
parent 01aa49cb24
commit cfbdd0250f
3 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@
{{ if .Params.tags }}
<ul class="post-tags">
{{ range .Params.tags }}
<li><a href="{{ `./tags/` | absURL }}{{ . | urlize }}/">{{ . }}</a></li>
<li><a href="{{ `/tags/` }}{{ . | urlize }}/">{{ . }}</a></li>
{{ end }}
</ul>
{{ end }}

View file

@ -37,9 +37,9 @@
<body class="{{if eq .Kind `page` }}single{{else}}list{{end}}">
<header class="header">
{{ if .IsHome }}
<h1 class="title"><a href="{{ `./` | absURL }}"><span>🍱</span>{{ .Site.Title }}</a></h1>
<h1 class="title"><a href="{{ `/` }}"><span>🍱</span>{{ .Site.Title }}</a></h1>
{{ else }}
<p class="title"><a href="{{ `./` | absURL }}"><span>🍱</span>{{ .Site.Title }}</a></p>
<p class="title"><a href="{{ `/` }}"><span>🍱</span>{{ .Site.Title }}</a></p>
{{ end }}
<button class="menu-toggle" type="button"></button>
<nav class="menu">