Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecated Hugo-vars and -functions #4

Merged
merged 1 commit into from
Jul 13, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ .Description }}">
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .Site.BaseUrl }}/css/bootstrap.min.css" rel="stylesheet">
<link href="{{ .Site.BaseUrl }}/css/hc.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}/css/bootstrap.min.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}/css/hc.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
Expand Down
8 changes: 4 additions & 4 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<p class="text-muted credit">{{ with .Site.Params.Copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
</footer>
<!-- Bootstrap core JavaScript-->
<script src="{{ .Site.BaseUrl }}/js/jquery-1.10.2.min.js"></script>
<script src="{{ .Site.BaseUrl }}/js/bootstrap.min.js"></script>
<script src="{{ .Site.BaseUrl }}/js/bootstrap.js"></script>
<script type="text/javascript" src="{{ .Site.BaseUrl }}/js/hc.js"></script>
<script src="{{ .Site.BaseURL }}/js/jquery-1.10.2.min.js"></script>
<script src="{{ .Site.BaseURL }}/js/bootstrap.min.js"></script>
<script src="{{ .Site.BaseURL }}/js/bootstrap.js"></script>
<script type="text/javascript" src="{{ .Site.BaseURL }}/js/hc.js"></script>
</body>

</html>
8 changes: 4 additions & 4 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ .Description }}">
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .Site.BaseUrl }}/css/bootstrap.min.css" rel="stylesheet">
<link href="{{ .Site.BaseUrl }}/css/hc.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}/css/bootstrap.min.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}/css/hc.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
Expand All @@ -32,7 +32,7 @@
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
{{ $baseUrl:= .Site.BaseUrl }}
{{ $baseUrl:= .Site.BaseURL }}
{{range $key, $element := .Site.Params.links}}
<li><a href="{{ $baseUrl}}{{ $element }}">{{title $key }} </a></li>
{{ end }}
Expand All @@ -47,7 +47,7 @@
<div id="sidebar-wrapper">
<ul class="sidebar-nav">
<img src="{{ .Site.Params.ProfilePicture }}" />
<li class="sidebar-brand"><a href="{{ .Site.BaseUrl }}/"><h1 class="brand">{{ .Site.Title }}</h1></a><h3>{{ .Site.Params.Description }}</h3></li>
<li class="sidebar-brand"><a href="{{ .Site.BaseURL }}/"><h1 class="brand">{{ .Site.Title }}</h1></a><h3>{{ .Site.Params.Description }}</h3></li>
<hr />
{{range $key, $element := .Site.Params.links}}
<li><a href="{{ $baseUrl }}{{ $element }}">{{title $key }} </a></li>
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 = "Herring Cove"
description = "Herring Cove is ported from the jekyll theme of the same name"
license = "MIT"
tags = ["blog", "company"]
min_version = 0.14

[author]
name = "spf13"
Expand Down