Add more debug info to all test site layouts

master
Kaushal Modi 8 years ago
parent 94f7886589
commit a8170c5353
  1. 4
      test/site/layouts/_default/alternate-single.html
  2. 4
      test/site/layouts/_default/headless-bundle-single.html
  3. 7
      test/site/layouts/section/book1.html
  4. 4
      test/site/layouts/type-test/alternate-single.html
  5. 4
      test/site/layouts/type-test/single.html

@ -7,7 +7,9 @@
<hr>
<a id="debug"></a>
<h3 id="page-debug">Page Params (Debug)</h3>
<h3 id="page-debug">Page (Debug)</h3>
{{ partial "debugprint.html" . }}
<h3 id="page-params-debug">Page Params (Debug)</h3>
{{ partial "debugprint.html" .Params }}
{{ end }}

@ -53,7 +53,9 @@
{{ end }}
<a id="debug"></a>
<h3 id="page-debug">Page Params (Debug)</h3>
<h3 id="page-debug">Page (Debug)</h3>
{{ partial "debugprint.html" . }}
<h3 id="page-params-debug">Page Params (Debug)</h3>
{{ partial "debugprint.html" .Params }}
<h3 id="file-debug">File Object (Debug)</h3>
{{ partial "debugprint.html" .File }}

@ -2,4 +2,11 @@
{{ .Content }}
<hr>
<a id="debug"></a>
<h3 id="page-debug">Page (Debug)</h3>
{{ partial "debugprint.html" . }}
<h3 id="page-params-debug">Page Params (Debug)</h3>
{{ partial "debugprint.html" .Params }}
{{ end }}

@ -7,7 +7,9 @@
<hr>
<a id="debug"></a>
<h3 id="page-debug">Page Params (Debug)</h3>
<h3 id="page-debug">Page (Debug)</h3>
{{ partial "debugprint.html" . }}
<h3 id="page-params-debug">Page Params (Debug)</h3>
{{ partial "debugprint.html" .Params }}
{{ end }}

@ -7,7 +7,9 @@
<hr>
<a id="debug"></a>
<h3 id="page-debug">Page Params (Debug)</h3>
<h3 id="page-debug">Page (Debug)</h3>
{{ partial "debugprint.html" . }}
<h3 id="page-params-debug">Page Params (Debug)</h3>
{{ partial "debugprint.html" .Params }}
{{ end }}

Loading…
Cancel
Save