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

github.com/jesselau76/hugo-w3-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjesselau76 <jesselau76@gmail.com>2019-09-09 02:13:01 +0300
committerjesselau76 <jesselau76@gmail.com>2019-09-09 02:13:01 +0300
commit3af40c529711cc5e2a978ebd7afe67cd8fd8a259 (patch)
tree553b47f2ae6656c4c7af23e805b4394ee2e7fd8c
parent601d63c73760c6df0a2ddfda0d7b050ddc6e0626 (diff)
0.57 support
-rw-r--r--layouts/_default/list.html10
-rw-r--r--layouts/post/single.html4
-rw-r--r--theme.toml2
3 files changed, 8 insertions, 8 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 953850c..fb15e64 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -85,7 +85,7 @@
{{ end }}
<header class="w3-container wraptext w3-text-indigo">
- <h4><a href="{{ .URL }}">{{ .Title | markdownify }}</a></h4>
+ <h4><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h4>
</header>
@@ -121,7 +121,7 @@
>>>>>>> dev
<footer >
- <a href="{{ .URL }}"><button class="w3-button w3-blue w3-block w3-hover-green">{{ T "readMore" }}</button></a>
+ <a href="{{ .Permalink }}"><button class="w3-button w3-blue w3-block w3-hover-green">{{ T "readMore" }}</button></a>
</footer>
</div>
</div>
@@ -142,7 +142,7 @@
{{ range $paginator.Pages }}
<li>
<span class="date">{{ .Date.Format "2006/01/02" }}</span> &nbsp;
- <a href="{{ .URL }}">{{ .Title | markdownify }}</a>
+ <a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
{{ end }}
@@ -155,10 +155,10 @@
<div class="w3-bar w3-section w3-hide-large w3-hide-medium">
{{ with $paginator.Prev -}}
- <a href="{{ .URL }}" class="w3-btn w3-text-indigo w3-hover-green">&#10094; Previous</a>
+ <a href="{{ .Permalink }}" class="w3-btn w3-text-indigo w3-hover-green">&#10094; Previous</a>
{{- end }}
{{ with $paginator.Next -}}
- <a href="{{ .URL }}" class="w3-btn w3-right w3-text-indigo w3-hover-green">Next &#10095;</a>
+ <a href="{{ .Permalink }}" class="w3-btn w3-right w3-text-indigo w3-hover-green">Next &#10095;</a>
{{- end }}
</div>
<nav class="w3-center w3-hide-small">{{ template "_internal/pagination.html" . }}</nav>
diff --git a/layouts/post/single.html b/layouts/post/single.html
index 190586e..e6b5eeb 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -131,12 +131,12 @@
<div class="w3-content" >
<div class="w3-bar w3-section">
{{ with .NextInSection }}
- <a href="{{ .URL }}" class="w3-btn w3-text-indigo w3-hover-green">
+ <a href="{{ .Permalink }}" class="w3-btn w3-text-indigo w3-hover-green">
&#10094; {{ .Title }}
</a>
{{- end }}
{{ with .PrevInSection }}
- <a class="w3-btn w3-right w3-text-indigo w3-hover-green" href="{{ .URL }}">
+ <a class="w3-btn w3-right w3-text-indigo w3-hover-green" href="{{ .Permalink }}">
{{ .Title }} &#10095;
</a>
{{- end }}
diff --git a/theme.toml b/theme.toml
index ed1f9fc..d1750d1 100644
--- a/theme.toml
+++ b/theme.toml
@@ -8,7 +8,7 @@ description = "A simple theme for Hugo, powered by W3.css"
homepage = "https://github.com/jesselau76/hugo-w3-simple"
tags = ["minimal", "blog", "search", "clean", "simple", "starter", "minimalist","Responsive", "Disqus", "font-awesome","syntax highlighting", "Multilingual", "Google Analytics"]
features = ["blog", "syntax highlighting"]
-min_version = "0.41"
+min_version = "0.57"
[author]
name = "Jesse Lau"