Skip to content

Commit

Permalink
Use latest Hugo - v0.55 (devopsdays#6963)
Browse files Browse the repository at this point in the history
* Use latest Hugo - v0.55

* Specify exact version in netlify

* Update metadata.json

* Update config.yml

* Delete .travis.yml

Travis not needed anymore

* Update metadata.json

* Update netlify.toml

* Fix warnings from updating Hugo .53 to .55
  • Loading branch information
ghoneycutt authored and mattstratton committed Apr 17, 2019
1 parent 3be8f70 commit 6499bf5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
production:
docker:
- image: cibuilds/hugo:0.53
- image: cibuilds/hugo:0.55.1
steps:
- checkout
- run:
Expand All @@ -11,7 +11,7 @@ jobs:

build:
docker:
- image: cibuilds/hugo:0.53
- image: cibuilds/hugo:0.55.1
working_directory: ~/devopsdays
steps:
- checkout
Expand Down Expand Up @@ -79,4 +79,4 @@ workflows:
# branches:
# only:
# - master
# - gh-pages
# - gh-pages
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"theme_version": "1.17.0",
"hugo_version": "0.53.0",
"hugo_version": "0.55.1",
"devopsdays_cli_version": "0.22.1"
}
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
publish = "public/"

[context.production.environment]
HUGO_VERSION = "0.53"
HUGO_VERSION = "0.55.1"

[context.deploy-preview.environment]
HUGO_VERSION = "0.53"
HUGO_VERSION = "0.55.1"

[context.branch-deploy.environment]
HUGO_VERSION = "0.53"
HUGO_VERSION = "0.55.1"
2 changes: 1 addition & 1 deletion themes/devopsdays-theme/layouts/partials/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{{- if .Site.Params.Description -}}<meta name="description" content="{{ .Site.Params.Description }}">{{- end -}}
{{ .Hugo.Generator }}
{{ hugo.Generator }}
2 changes: 1 addition & 1 deletion themes/devopsdays-theme/layouts/speaker/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h2 class="speaker-page">{{ .Title }}</h2>
<h3>{{ .Title }} at {{ $e.city }} {{$e.year}}</h3>
<ul class="list-group">
{{- $.Scratch.Set "speaker" .File.BaseFileName -}}
{{ range where (where $.Site.Pages "Type" "talk") ".Dir" "=" (print "events/" $e.name "/program/") }}
{{ range where (where $.Site.Pages "Type" "talk") ".File.Dir" "=" (print "events/" $e.name "/program/") }}
<!-- Now we can display stuff! -->
{{- range .Params.speakers -}}
{{- if eq . ($.Scratch.Get "speaker") -}}
Expand Down

0 comments on commit 6499bf5

Please sign in to comment.