diff options
author | Chris Douglass <cdouglass@gmail.com> | 2015-06-11 21:20:43 +0300 |
---|---|---|
committer | Chris Douglass <cdouglass@gmail.com> | 2015-06-11 21:20:43 +0300 |
commit | 9099a029e610782642de8f848e1ef91df21e56b1 (patch) | |
tree | 193a5291247a476a87fc2e6dad7a73733c52933f /layouts/_default/single.html | |
parent | bc67b9210e9cd6ff68b7e80fdb0ee4f6e51cd1c8 (diff) |
Change .BaseUrl to .BaseURL
Hugo adopted golint initialism formatting with:
https://github.com/spf13/hugo/pull/969
Hugo 0.14 throws an error saying compatibility with
the old capitalizations will be removed in 0.15
This change was produced with a quick and dirty
`grep -Irl BaseUrl | xargs ser -i -e "s/BaseUrl/BaseURL"`
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 006f932..61460f2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,5 @@ {{ partial "header.html" . }}
-{{ $baseurl := .Site.BaseUrl }}
+{{ $baseurl := .Site.BaseURL }}
<div class="container">
<div class="section">
|