Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/carsonip/hugo-theme-minos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarson Ip <carsonip@users.noreply.github.com>2019-01-16 17:14:03 +0300
committerGitHub <noreply@github.com>2019-01-16 17:14:03 +0300
commit2a4e4032f16c5cd11c518c3773db0c0e745bac33 (patch)
tree2f8bf41b2ecff353a327dfef76c4a4878f2d5dd3
parent8a1f7476046cb4b8b9db6deeb6b3422b13ede2dc (diff)
parent4759e47f97ad94ddf4ef8df314545bfe9b0555a1 (diff)
Merge pull request #21 from apemost/master
Fix layouts
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/partials/footer.html7
-rw-r--r--layouts/partials/head.html4
-rw-r--r--layouts/partials/header.html2
-rw-r--r--layouts/partials/nav.html14
-rw-r--r--layouts/taxonomy/tag.html4
6 files changed, 17 insertions, 16 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index ac1e96a..5b1705e 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -17,4 +17,4 @@
{{ partial "footer.html" . }}
</div>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 9fb2882..ac3795a 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,8 +1,9 @@
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
- &copy; {{ now.Format "2006"}} {{ or .Site.Author .Site.Title }}&nbsp;
- Powered by <a href="https://gohugo.io" target="_blank">Hugo</a> with theme <a href="https://github.com/carsonip/hugo-theme-minos">Minos</a>
+ &copy; {{ now.Format "2006"}} {{ or .Site.Author.name .Site.Title }}
+ <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>
{{ template "_internal/google_analytics_async.html" . }}
@@ -27,4 +28,4 @@
}
});
</script>
-</footer> \ No newline at end of file
+</footer>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 1d183c3..1a9165b 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -11,10 +11,10 @@
<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 rel="stylesheet" href="{{ "css/style.css" | absURL }}">
<link href="http://gmpg.org/xfn/11" rel="profile">
-
+
{{ .Hugo.Generator }}
</head>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 1a17b17..e76bb2f 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -14,4 +14,4 @@
</nav>
</div>
</div>
-</header> \ No newline at end of file
+</header>
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index 81e71d2..5d98f72 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -1,14 +1,14 @@
<nav id="article-nav">
- {{ if .Prev }}
- <a href="{{ .Prev.RelPermalink }}" id="article-nav-newer" class="article-nav-link-wrap">
+ {{ if .NextPage }}
+ <a href="{{ .NextPage.RelPermalink }}" id="article-nav-newer" class="article-nav-link-wrap">
<div class="article-nav-title"><span>&lt;</span>&nbsp;
- {{ .Prev.Title }}
+ {{ .NextPage.Title }}
</div>
</a>
{{ end }}
- {{ if .Next }}
- <a href="{{ .Next.RelPermalink }}" id="article-nav-older" class="article-nav-link-wrap">
- <div class="article-nav-title">{{ .Next.Title }}&nbsp;<span>&gt;</span></div>
+ {{ if .PrevPage }}
+ <a href="{{ .PrevPage.RelPermalink }}" id="article-nav-older" class="article-nav-link-wrap">
+ <div class="article-nav-title">{{ .PrevPage.Title }}&nbsp;<span>&gt;</span></div>
</a>
{{ end }}
-</nav> \ No newline at end of file
+</nav>
diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html
index d110624..f82ed40 100644
--- a/layouts/taxonomy/tag.html
+++ b/layouts/taxonomy/tag.html
@@ -5,7 +5,7 @@
<section id="main" class="outer">
<section class="archives-wrap">
<div class="archive-tag-wrap">
- <span class="archive-tag">#{{ .Title }}</span>
+ <span class="archive-tag">#{{ .Title | lower }}</span>
</div>
<div class="archives">
{{ range .Paginator.Pages }}
@@ -17,4 +17,4 @@
{{ partial "footer.html" . }}
</div>
</body>
-</html> \ No newline at end of file
+</html>