diff --git a/.travis.yml b/.travis.yml index d9b873b1..fb43dbbb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,11 +7,17 @@ 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 + +notifications: + email: + on_success: never 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 }}