From f286ee632094e74ac5f7ef39cd30bfa2ece1f19d Mon Sep 17 00:00:00 2001 From: liushuyu Date: Sat, 7 May 2022 16:09:06 -0600 Subject: [PATCH] layouts: use new Hugo context syntax --- layouts/_default/baseof.html | 4 ++-- layouts/partials/layout/pagination.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ae71fb3..4bb1213 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,14 +7,14 @@ - + {{ .Render "meta" }} - {{ if .RSSLink }} + {{ if .OutputFormats.Get "RSS" }} {{ end }} diff --git a/layouts/partials/layout/pagination.html b/layouts/partials/layout/pagination.html index 90ee66c..fca1063 100755 --- a/layouts/partials/layout/pagination.html +++ b/layouts/partials/layout/pagination.html @@ -7,17 +7,17 @@