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 c6eaaee commit 4836f7d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion club-theme/layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $baseUrl := .Site.BaseUrl }}
{{ $baseUrl := .Site.BaseURL }}
{{ partial "header.html" . }}

<main role="main">
Expand Down
2 changes: 1 addition & 1 deletion club-theme/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $baseUrl := .Site.BaseUrl }}
{{ $baseUrl := .Site.BaseURL }}
<hr />

<div class="row">
Expand Down
2 changes: 1 addition & 1 deletion club-theme/layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
{{ $baseUrl := .Site.BaseUrl }}
{{ $baseUrl := .Site.BaseURL }}
{{ $isHomePage := eq .Title .Site.Title }}
<html lang="en">
<head>
Expand Down
2 changes: 1 addition & 1 deletion club-theme/layouts/partials/sidebar-list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $baseUrl := .Site.BaseUrl }}
{{ $baseUrl := .Site.BaseURL }}
<div class="col-sm-3 col-sm-offset-1 doc-sidebar">
<div class="sidebar-module">
<h4>Categories</h4>
Expand Down
2 changes: 1 addition & 1 deletion club-theme/layouts/partials/sidebar-single.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $baseUrl := .Site.BaseUrl }}
{{ $baseUrl := .Site.BaseURL }}
<div class="col-sm-3 col-sm-offset-1 doc-sidebar">
<div class="sidebar-module">
<div class="sidebar-toc">
Expand Down
2 changes: 1 addition & 1 deletion club-theme/theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "A simple Hugo theme with Bootstrap for documentation"
homepage = "http://key-amb.github.io/bootie-docs-demo/"
tags = ["document", "bootstrap"]
features = ["document", ""]
min_version = 0.13
min_version = 0.14

[author]
name = "YASUTAKE Kiyoshi"
Expand Down

0 comments on commit 4836f7d

Please sign in to comment.