Skip to content

Commit

Permalink
0.57 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jesselau76 committed Sep 8, 2019
1 parent 601d63c commit 3af40c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h1 class="w3-center">{{ .Title | markdownify }}</h1>
{{ 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>
Expand Down Expand Up @@ -121,7 +121,7 @@ <h4><a href="{{ .URL }}">{{ .Title | markdownify }}</a></h4>
>>>>>>> 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>
Expand All @@ -142,7 +142,7 @@ <h4><a href="{{ .URL }}">{{ .Title | markdownify }}</a></h4>
{{ 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 }}
Expand All @@ -155,10 +155,10 @@ <h4><a href="{{ .URL }}">{{ .Title | markdownify }}</a></h4>
<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>
Expand Down
4 changes: 2 additions & 2 deletions layouts/post/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ <h2>{{ T "relatedposts" }}</h2>
<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 }}
Expand Down
2 changes: 1 addition & 1 deletion theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3af40c5

Please sign in to comment.