From fb6966b5fe05b1b91e46757487f741207fd02c8b Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 8 Jun 2019 11:55:51 +0100 Subject: [PATCH] docs: Fix warnings after hugo upgrade to v0.55 --- docs/layouts/chrome/header.html | 2 +- docs/layouts/section/commands.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/layouts/chrome/header.html b/docs/layouts/chrome/header.html index d9bfa108a..549e1b34c 100644 --- a/docs/layouts/chrome/header.html +++ b/docs/layouts/chrome/header.html @@ -5,5 +5,5 @@ {{ .Title }} {{ template "chrome/header.includes.html" . }} - {{ if .RSSLink }}{{ end }} + {{ $RSSLink := "" }}{{ with .OutputFormats.Get "RSS" }}{{ $RSSLink = .RelPermalink }}{{ end }}{{ if $RSSLink }}{{ end }} diff --git a/docs/layouts/section/commands.html b/docs/layouts/section/commands.html index ad6f9e396..9a4940eb9 100644 --- a/docs/layouts/section/commands.html +++ b/docs/layouts/section/commands.html @@ -13,7 +13,7 @@

This is an index of all commands in rclone.

Docs autogenerated by Cobra.