diff options
author | Dragos Plesca <dragos.plesca@gmail.com> | 2015-05-28 07:48:20 +0300 |
---|---|---|
committer | Dragos Plesca <dragos.plesca@gmail.com> | 2015-05-28 07:48:20 +0300 |
commit | 5e059b4130c5ade86f3ebcfa32487bc7df07d28f (patch) | |
tree | 487f67348160f26e92caaee6ad5a3c7e111bbd8c | |
parent | 37723221674859db9e9cfa5a2e9d5082f5921127 (diff) |
Update theme to hugo 0.14
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 10 | ||||
-rw-r--r-- | layouts/partials/pagination.html | 4 | ||||
-rw-r--r-- | layouts/partials/sidebar.html | 2 | ||||
-rw-r--r-- | theme.toml | 2 |
8 files changed, 13 insertions, 13 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 7cdde54..75da59c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -20,7 +20,7 @@ {{ 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> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 034de6b..78cf78c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -19,7 +19,7 @@ {{ 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> diff --git a/layouts/index.html b/layouts/index.html index dc42fda..5407bb8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -20,7 +20,7 @@ {{ 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> diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 6de2183..f7c260f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -5,4 +5,4 @@ </ul> </div> </div> -<script src="{{ .Site.BaseUrl }}/js/all.min.js"></script>
\ No newline at end of file +<script src="{{ .Site.BaseURL }}/js/all.min.js"></script>
\ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d01918d..66e70e1 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -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> diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index e3320f3..378968d 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -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> 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 <i class="fa fa-angle-double-right"></i> </a> {{ end }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index a6face2..7b363e3 100644 --- a/layouts/partials/sidebar.html +++ b/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> @@ -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" |