From b380d81f92c353747976d0cf92cf606b5fc7b14b Mon Sep 17 00:00:00 2001 From: Mahdi Pourismaiel Date: Tue, 21 May 2019 11:36:21 +0430 Subject: [PATCH] Fix deprecation warnings --- layouts/partials/fragments/contact.html | 2 +- layouts/partials/fragments/list.html | 14 +++++++------- layouts/partials/fragments/nav.html | 8 ++++---- layouts/partials/fragments/toc.html | 4 ++-- layouts/partials/head.html | 4 ++-- layouts/partials/helpers/fragments.html | 22 ++++++++++++---------- 6 files changed, 28 insertions(+), 26 deletions(-) diff --git a/layouts/partials/fragments/contact.html b/layouts/partials/fragments/contact.html index de3eb082..066dfe48 100644 --- a/layouts/partials/fragments/contact.html +++ b/layouts/partials/fragments/contact.html @@ -136,7 +136,7 @@ {{- if eq .name "site" }} {{- else if eq .name "page" }} - + {{- else }} {{- end -}} diff --git a/layouts/partials/fragments/list.html b/layouts/partials/fragments/list.html index aa091ef1..883f051d 100644 --- a/layouts/partials/fragments/list.html +++ b/layouts/partials/fragments/list.html @@ -78,17 +78,17 @@ class="row align-items-center justify-content-between mx-0 article-title"> {{- if $display_summary }} {{- else }} @@ -119,7 +119,7 @@ {{- end -}} {{- end -}} {{- if $self.Params.collapsible -}} -
+