Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update theme to hugo 0.14
  • Loading branch information
dplesca committed May 28, 2015
1 parent 3772322 commit 5e059b4
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Expand Up @@ -20,7 +20,7 @@ <h1 class="content-subhead">{{ .Date.Format "02 Jan 2006, 15:04" }}</h1>
{{ end }}
{{ if isset .Params "categories" }}
under
{{ $baseUrl := .Site.BaseUrl }}
{{ $baseUrl := .Site.BaseURL }}
{{ range .Params.categories }}<a class="post-category post-category-{{ . }}" href="{{ $baseUrl }}/categories/{{ . | urlize }}">{{ . }}</a>{{ end }}
{{ end }}
</p>
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Expand Up @@ -19,7 +19,7 @@ <h1 class="content-subhead">{{ .Date.Format "02 Jan 2006, 15:04" }}</h1>
{{ end }}
{{ if isset .Params "categories" }}
under
{{ $baseUrl := .Site.BaseUrl }}
{{ $baseUrl := .Site.BaseURL }}
{{ range .Params.categories }}<a class="post-category post-category-{{ . }}" href="{{ $baseUrl }}/categories/{{ . | urlize }}">{{ . }}</a>{{ end }}
{{ end }}
</p>
Expand Down
2 changes: 1 addition & 1 deletion layouts/index.html
Expand Up @@ -20,7 +20,7 @@ <h1 class="content-subhead">{{ .Date.Format "02 Jan 2006, 15:04" }}</h1>
{{ end }}
{{ if isset .Params "categories" }}
under
{{ $baseUrl := .Site.BaseUrl }}
{{ $baseUrl := .Site.BaseURL }}
{{ range .Params.categories }}<a class="post-category post-category-{{ . }}" href="{{ $baseUrl }}/categories/{{ . | urlize }}">{{ . }}</a>{{ end }}
{{ end }}
</p>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Expand Up @@ -5,4 +5,4 @@
</ul>
</div>
</div>
<script src="{{ .Site.BaseUrl }}/js/all.min.js"></script>
<script src="{{ .Site.BaseURL }}/js/all.min.js"></script>
10 changes: 5 additions & 5 deletions layouts/partials/header.html
Expand Up @@ -18,14 +18,14 @@

<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Oxygen:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/pure-min.css">
{{ "<!--[if lte IE 8]>" | safeHtml }}
{{ "<!--[if lte IE 8]>" | safeHTML }}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/grids-responsive-old-ie-min.css">
{{ "<![endif]-->" | safeHtml }}
{{ "<!--[if gt IE 8]><!-->" | safeHtml }}
{{ "<![endif]-->" | safeHTML }}
{{ "<!--[if gt IE 8]><!-->" | safeHTML }}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/grids-responsive-min.css">
{{ "<!--<![endif]-->" | safeHtml }}
{{ "<!--<![endif]-->" | safeHTML }}

<link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/all.min.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/all.min.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
4 changes: 2 additions & 2 deletions layouts/partials/pagination.html
Expand Up @@ -2,13 +2,13 @@
<div class="pagination">
<nav role="pagination" class="post-list-pagination">
{{ if .Paginator.HasPrev }}
<a href="{{.Paginator.Prev.Url}}" class="post-list-pagination-item pure-button post-list-pagination-item-prev">
<a href="{{.Paginator.Prev.URL}}" class="post-list-pagination-item pure-button post-list-pagination-item-prev">
<i class="fa fa-angle-double-left"></i>&nbsp;Newer
</a>
{{ end }}
<span class="post-list-pagination-item post-list-pagination-item-current">Page {{.Paginator.PageNumber}} of {{.Paginator.TotalPages}}</span>
{{ if .Paginator.HasNext }}
<a href="{{.Paginator.Next.Url}}" class="post-list-pagination-item pure-button post-list-pagination-item-next">
<a href="{{.Paginator.Next.URL}}" class="post-list-pagination-item pure-button post-list-pagination-item-next">
Older&nbsp;<i class="fa fa-angle-double-right"></i>
</a>
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/sidebar.html
@@ -1,7 +1,7 @@
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<hgroup>
<h1 class="brand-title"><a href="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a></h1>
<h1 class="brand-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
<h2 class="brand-tagline">{{ with .Site.Params.description }} {{.}} {{end}}</h2>
</hgroup>

Expand Down
2 changes: 1 addition & 1 deletion theme.toml
Expand Up @@ -3,7 +3,7 @@ description = "A theme based on the pure css blog layout"
license = "MIT"
source_repo = "https://github.com/dplesca/purehugo"
tags = ["blog", "purecss"]
min_version = 0.13
min_version = 0.14

[author]
name = "dplesca"
Expand Down

0 comments on commit 5e059b4

Please sign in to comment.