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 7246d24 commit a5f9b11
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title> {{ .Title }} </title>
<!-- CSS -->
<link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/font-awesome.min.css">
<link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/theme.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/font-awesome.min.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/theme.css" />
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.ico">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a>
<a class="navbar-brand" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</div>
<div class="collapse navbar-collapse" id="navbar-right">
<ul class="nav navbar-nav navbar-right">
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/script.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script src="{{ .Site.BaseUrl }}/js/jquery-2.1.4.min.js"></script>
<script src="{{ .Site.BaseUrl }}/js/bootstrap.min.js"></script>
<script src="{{ .Site.BaseURL }}/js/jquery-2.1.4.min.js"></script>
<script src="{{ .Site.BaseURL }}/js/bootstrap.min.js"></script>
{{ if .Site.Params.useAnalytics }}
{{ partial "analytics.html" . }}
{{ end }}
2 changes: 1 addition & 1 deletion theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "An elegant, open source and simple theme"
homepage = "https://github.com/druzza/simple-hugo"
tags = ["blog", "dev"]
features = ["blog", "dev"]
min_version = 0.1
min_version = 0.14

[author]
name = "Daniel Ruzza"
Expand Down

0 comments on commit a5f9b11

Please sign in to comment.