Skip to content

Commit

Permalink
Fix deprecated Hugo-vars and functions
Browse files Browse the repository at this point in the history
That will stop working in Hugo 0.15.

See gohugoio/hugoThemesSite#6
  • Loading branch information
bep committed Jul 7, 2015
1 parent 3a9d77a commit 6ac6dca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/pagination.html
@@ -1,15 +1,15 @@
<div class="row">
<div class="col s3 m1">
{{if .HasPrev}}
<a class="btn-floating btn-large waves-effect waves-light" href="{{ .Prev.Url }}"><i class="mdi-navigation-arrow-back"></i></a>
<a class="btn-floating btn-large waves-effect waves-light" href="{{ .Prev.URL }}"><i class="mdi-navigation-arrow-back"></i></a>
{{else}}
<a class="btn-floating btn-large disabled"><i class="mdi-navigation-arrow-back"></i></a>
{{end}}
</div>
<div class="col s6 m10 center">&nbsp</div>
<div class="col s3 m1">
{{if .HasNext}}
<a class="btn-floating btn-large waves-effect waves-light" href="{{ .Next.Url }}"><i class="mdi-navigation-arrow-forward"></i></a>
<a class="btn-floating btn-large waves-effect waves-light" href="{{ .Next.URL }}"><i class="mdi-navigation-arrow-forward"></i></a>
{{else}}
<a class="btn-floating btn-large disabled"><i class="mdi-navigation-arrow-forward"></i></a>
{{end}}
Expand Down
2 changes: 1 addition & 1 deletion theme.toml
Expand Up @@ -6,7 +6,7 @@ homepage = "https://github.com/pdevty/material-design"
tags = ["blog"]
features = ["Simple Material Design","Google Analytics","Pagination",
"Disqus","Tags","Categories","Highlighting source code","Cover image","Social links"]
min_version = 0.13
min_version = 0.14

[author]
name = "pdevty"
Expand Down

0 comments on commit 6ac6dca

Please sign in to comment.