From f948f8cb98f6fe453701caaa8d97e97ba365496f Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 18 Sep 2016 18:37:06 +0200 Subject: [PATCH 1/3] Revert "Use new `.Authors` instead of deprecated `.Author` (#216)" This reverts commit 555d24698b76ba223ec835d3818747ca23c56470. --- layouts/rss.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/layouts/rss.xml b/layouts/rss.xml index 0a7b5b54..06575193 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -1,12 +1,11 @@ - {{ $author := .Site.Authors.Get "0"}} {{ .Site.Title }} {{ .Permalink }} Recent content on {{ .Site.Title }} Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with $author.Email }} - {{.}}{{ with $author.Name }} ({{.}}){{end}}{{end}}{{ with $author.Email }} + {{.}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} {{.}}{{end}}{{ if not .Date.IsZero }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} @@ -16,7 +15,7 @@ {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with $author.Email }}{{.}}{{ with $author.Name }} ({{.}}){{end}}{{end}} + {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} {{ .Content | html }} From 5cd4ff8641a04cc43f0446b45cdc6c0996cece2b Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 18 Sep 2016 19:18:08 +0200 Subject: [PATCH 2/3] Use latest release instead of github master --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d9b873b1..c43c44ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,11 +7,13 @@ install: - export PATH=$HOME/.local/bin:$PATH - pip install pygments --user - pip install pygments-github-lexers --user - - go get -u -v github.com/spf13/hugo + #- go get -u -v github.com/spf13/hugo + - wget https://github.com/spf13/hugo/releases/download/v0.16/hugo_0.16_linux-64bit.tgz + - tar xf hugo_0.16_linux-64bit.tgz script: - git clone https://github.com/phil-opp/blog_os.git - cp -r blog_os/blog ../blog - - hugo + - ./hugo after_success: bash ci/travis-blog-update.sh From 0b08caf16d8688f0c76b4a75fd655fe3984b8787 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 18 Sep 2016 19:18:30 +0200 Subject: [PATCH 3/3] Disable success notifications --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index c43c44ca..fb43dbbb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,3 +17,7 @@ script: - ./hugo after_success: bash ci/travis-blog-update.sh + +notifications: + email: + on_success: never