Commit a593157b authored by YASUTAKE Kiyoshi's avatar YASUTAKE Kiyoshi
Browse files

Merge pull request #1 from bep/fix-hugo-deprecations

Fix deprecated Hugo-vars and -functions
parents c2838f15 6083d70b
{{ $baseUrl := .Site.BaseUrl }} {{ $baseUrl := .Site.BaseURL }}
{{ partial "header.html" . }} {{ partial "header.html" . }}
<main role="main"> <main role="main">
......
{{ $baseUrl := .Site.BaseUrl }} {{ $baseUrl := .Site.BaseURL }}
<hr /> <hr />
<div class="row"> <div class="row">
......
<!DOCTYPE html> <!DOCTYPE html>
{{ $baseUrl := .Site.BaseUrl }} {{ $baseUrl := .Site.BaseURL }}
{{ $isHomePage := eq .Title .Site.Title }} {{ $isHomePage := eq .Title .Site.Title }}
<html lang="en"> <html lang="en">
<head> <head>
......
{{ $baseUrl := .Site.BaseUrl }} {{ $baseUrl := .Site.BaseURL }}
<div class="col-sm-3 col-sm-offset-1 doc-sidebar"> <div class="col-sm-3 col-sm-offset-1 doc-sidebar">
<div class="sidebar-module"> <div class="sidebar-module">
<h4>Categories</h4> <h4>Categories</h4>
......
{{ $baseUrl := .Site.BaseUrl }} {{ $baseUrl := .Site.BaseURL }}
<div class="col-sm-3 col-sm-offset-1 doc-sidebar"> <div class="col-sm-3 col-sm-offset-1 doc-sidebar">
<div class="sidebar-module"> <div class="sidebar-module">
<div class="sidebar-toc"> <div class="sidebar-toc">
......
...@@ -5,7 +5,7 @@ description = "A simple Hugo theme with Bootstrap for documentation" ...@@ -5,7 +5,7 @@ description = "A simple Hugo theme with Bootstrap for documentation"
homepage = "http://key-amb.github.io/bootie-docs-demo/" homepage = "http://key-amb.github.io/bootie-docs-demo/"
tags = ["document", "bootstrap"] tags = ["document", "bootstrap"]
features = ["document", ""] features = ["document", ""]
min_version = 0.13 min_version = 0.14
[author] [author]
name = "YASUTAKE Kiyoshi" name = "YASUTAKE Kiyoshi"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment