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 f0ed2c7 commit fc02fdc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $baseurl := .Site.BaseUrl }}
{{ $baseurl := .Site.BaseURL }}
{{ template "theme/chrome/header.html" . }}
<!-- CONTENT -->
<div class="post">
Expand Down
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<body>
{{ template "theme/chrome/menu.html" }}

{{ $baseurl := .Site.BaseUrl }}
{{ $baseurl := .Site.BaseURL }}

<div class="container">
<div class="content">
Expand Down
2 changes: 1 addition & 1 deletion layouts/indexes/indexes.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $baseurl := .Site.BaseUrl }}
{{ $baseurl := .Site.BaseURL }}
{{ template "theme/chrome/header.html" . }}

<section id="main">
Expand Down
1 change: 1 addition & 0 deletions theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name = "simple-a"
license = "MIT"
licenselink = "https://github.com/AlexFinn/simple-a/blob/master/LICENSE.md"
description = "Minimalistic Hugo theme"
min_version = 0.14

tags = ["AlexFinn", ]
features = ["blog", ]
Expand Down

0 comments on commit fc02fdc

Please sign in to comment.