Merge pull request #21 from apemost/master

Fix layouts
This commit is contained in:
Carson Ip
2019-01-16 22:14:03 +08:00
committed by GitHub
6 changed files with 17 additions and 16 deletions

View File

@@ -17,4 +17,4 @@
{{ partial "footer.html" . }} {{ partial "footer.html" . }}
</div> </div>
</body> </body>
</html> </html>

View File

@@ -1,8 +1,9 @@
<footer id="footer"> <footer id="footer">
<div class="outer"> <div class="outer">
<div id="footer-info" class="inner"> <div id="footer-info" class="inner">
&copy; {{ now.Format "2006"}} {{ or .Site.Author .Site.Title }}&nbsp; &copy; {{ now.Format "2006"}} {{ or .Site.Author.name .Site.Title }}
Powered by <a href="https://gohugo.io" target="_blank">Hugo</a> with theme <a href="https://github.com/carsonip/hugo-theme-minos">Minos</a> <br />
Powered by <a href="https://gohugo.io" target="_blank">Hugo</a> with theme <a href="https://github.com/carsonip/hugo-theme-minos" target="_blank">Minos</a>
</div> </div>
</div> </div>
{{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/google_analytics_async.html" . }}
@@ -27,4 +28,4 @@
} }
}); });
</script> </script>
</footer> </footer>

View File

@@ -11,10 +11,10 @@
<link href="{{ "webfonts/ptserif/main.css" | absURL }}" rel='stylesheet' type='text/css'> <link href="{{ "webfonts/ptserif/main.css" | absURL }}" rel='stylesheet' type='text/css'>
<link href="{{ "webfonts/source-code-pro/main.css" | absURL }}" rel="stylesheet" type="text/css"> <link href="{{ "webfonts/source-code-pro/main.css" | absURL }}" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="{{ "css/style.css" | absURL }}"> <link rel="stylesheet" href="{{ "css/style.css" | absURL }}">
<link href="http://gmpg.org/xfn/11" rel="profile"> <link href="http://gmpg.org/xfn/11" rel="profile">
{{ .Hugo.Generator }} {{ .Hugo.Generator }}
</head> </head>

View File

@@ -14,4 +14,4 @@
</nav> </nav>
</div> </div>
</div> </div>
</header> </header>

View File

@@ -1,14 +1,14 @@
<nav id="article-nav"> <nav id="article-nav">
{{ if .Prev }} {{ if .NextPage }}
<a href="{{ .Prev.RelPermalink }}" id="article-nav-newer" class="article-nav-link-wrap"> <a href="{{ .NextPage.RelPermalink }}" id="article-nav-newer" class="article-nav-link-wrap">
<div class="article-nav-title"><span>&lt;</span>&nbsp; <div class="article-nav-title"><span>&lt;</span>&nbsp;
{{ .Prev.Title }} {{ .NextPage.Title }}
</div> </div>
</a> </a>
{{ end }} {{ end }}
{{ if .Next }} {{ if .PrevPage }}
<a href="{{ .Next.RelPermalink }}" id="article-nav-older" class="article-nav-link-wrap"> <a href="{{ .PrevPage.RelPermalink }}" id="article-nav-older" class="article-nav-link-wrap">
<div class="article-nav-title">{{ .Next.Title }}&nbsp;<span>&gt;</span></div> <div class="article-nav-title">{{ .PrevPage.Title }}&nbsp;<span>&gt;</span></div>
</a> </a>
{{ end }} {{ end }}
</nav> </nav>

View File

@@ -5,7 +5,7 @@
<section id="main" class="outer"> <section id="main" class="outer">
<section class="archives-wrap"> <section class="archives-wrap">
<div class="archive-tag-wrap"> <div class="archive-tag-wrap">
<span class="archive-tag">#{{ .Title }}</span> <span class="archive-tag">#{{ .Title | lower }}</span>
</div> </div>
<div class="archives"> <div class="archives">
{{ range .Paginator.Pages }} {{ range .Paginator.Pages }}
@@ -17,4 +17,4 @@
{{ partial "footer.html" . }} {{ partial "footer.html" . }}
</div> </div>
</body> </body>
</html> </html>