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 }} {{ if .Params.tags }}
<ul class="post-tags"> <ul class="post-tags">
{{ range .Params.tags }} {{ range .Params.tags }}
<li><a href="{{ `./tags/` | absURL }}{{ . | urlize }}/">{{ . }}</a></li> <li><a href="{{ `/tags/` }}{{ . | urlize }}/">{{ . }}</a></li>
{{ end }} {{ end }}
</ul> </ul>
{{ end }} {{ end }}

View file

@ -37,9 +37,9 @@
<body class="{{if eq .Kind `page` }}single{{else}}list{{end}}"> <body class="{{if eq .Kind `page` }}single{{else}}list{{end}}">
<header class="header"> <header class="header">
{{ if .IsHome }} {{ 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 }} {{ 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 }} {{ end }}
<button class="menu-toggle" type="button"></button> <button class="menu-toggle" type="button"></button>
<nav class="menu"> <nav class="menu">