From a8170c535370a8faf53d4778a8e866a0cff3d3be Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Fri, 9 Feb 2018 15:09:12 -0500 Subject: [PATCH] Add more debug info to all test site layouts --- test/site/layouts/_default/alternate-single.html | 4 +++- test/site/layouts/_default/headless-bundle-single.html | 4 +++- test/site/layouts/section/book1.html | 7 +++++++ test/site/layouts/type-test/alternate-single.html | 4 +++- test/site/layouts/type-test/single.html | 4 +++- 5 files changed, 19 insertions(+), 4 deletions(-) diff --git a/test/site/layouts/_default/alternate-single.html b/test/site/layouts/_default/alternate-single.html index 839defa..2785904 100644 --- a/test/site/layouts/_default/alternate-single.html +++ b/test/site/layouts/_default/alternate-single.html @@ -7,7 +7,9 @@
-

Page Params (Debug)

+

Page (Debug)

+{{ partial "debugprint.html" . }} +

Page Params (Debug)

{{ partial "debugprint.html" .Params }} {{ end }} diff --git a/test/site/layouts/_default/headless-bundle-single.html b/test/site/layouts/_default/headless-bundle-single.html index 9981434..1121d96 100644 --- a/test/site/layouts/_default/headless-bundle-single.html +++ b/test/site/layouts/_default/headless-bundle-single.html @@ -53,7 +53,9 @@ {{ end }} -

Page Params (Debug)

+

Page (Debug)

+ {{ partial "debugprint.html" . }} +

Page Params (Debug)

{{ partial "debugprint.html" .Params }}

File Object (Debug)

{{ partial "debugprint.html" .File }} diff --git a/test/site/layouts/section/book1.html b/test/site/layouts/section/book1.html index 46c82c0..a4d22a4 100644 --- a/test/site/layouts/section/book1.html +++ b/test/site/layouts/section/book1.html @@ -2,4 +2,11 @@ {{ .Content }} +
+ +

Page (Debug)

+{{ partial "debugprint.html" . }} +

Page Params (Debug)

+{{ partial "debugprint.html" .Params }} + {{ end }} diff --git a/test/site/layouts/type-test/alternate-single.html b/test/site/layouts/type-test/alternate-single.html index 2063ee7..4c78c14 100644 --- a/test/site/layouts/type-test/alternate-single.html +++ b/test/site/layouts/type-test/alternate-single.html @@ -7,7 +7,9 @@
-

Page Params (Debug)

+

Page (Debug)

+{{ partial "debugprint.html" . }} +

Page Params (Debug)

{{ partial "debugprint.html" .Params }} {{ end }} diff --git a/test/site/layouts/type-test/single.html b/test/site/layouts/type-test/single.html index 73198f5..4f19780 100644 --- a/test/site/layouts/type-test/single.html +++ b/test/site/layouts/type-test/single.html @@ -7,7 +7,9 @@
-

Page Params (Debug)

+

Page (Debug)

+{{ partial "debugprint.html" . }} +

Page Params (Debug)

{{ partial "debugprint.html" .Params }} {{ end }}