Skip to content

Commit

Permalink
Issue #38 - add more templates to test the template hierarchy logic: …
Browse files Browse the repository at this point in the history
…page-13, page-about and search
  • Loading branch information
bobbingwide committed Nov 30, 2020
1 parent e814c93 commit 8e69f7b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
10 changes: 10 additions & 0 deletions block-templates/page-13.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<div class="WP_DEBUG">page-13.html 12:48</div>
<!-- wp:template-part {"slug":"header","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"breadcrumbs","theme":"fizzie","className":"breadcrumbs"} /-->
<!-- wp:template-part {"slug":"post-content","theme":"fizzie","className":"post-content"} /-->
<!-- wp:template-part {"slug":"metadates","theme":"fizzie","className":"metadates"} /-->
<!-- wp:template-part {"slug":"information","theme":"fizzie","className":"information"} /-->
<!-- wp:template-part {"slug":"search","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"page-footer","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"footer","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"footer-menu","theme":"fizzie","className":"footer-menu"} /-->
10 changes: 10 additions & 0 deletions block-templates/page-about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<div class="WP_DEBUG">page-about.html 11:49</div>
<!-- wp:template-part {"slug":"header","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"breadcrumbs","theme":"fizzie","className":"breadcrumbs"} /-->
<!-- wp:template-part {"slug":"post-content","theme":"fizzie","className":"post-content"} /-->
<!-- wp:template-part {"slug":"metadates","theme":"fizzie","className":"metadates"} /-->
<!-- wp:template-part {"slug":"information","theme":"fizzie","className":"information"} /-->
<!-- wp:template-part {"slug":"search","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"page-footer","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"footer","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"footer-menu","theme":"fizzie","className":"footer-menu"} /-->
8 changes: 8 additions & 0 deletions block-templates/search.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<div class="WP_DEBUG">search.html</div>
<!-- wp:template-part {"slug":"header","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"breadcrumbs","theme":"fizzie","className":"breadcrumbs"} /-->
<!-- wp:template-part {"slug":"archive-query","theme":"fizzie","tagName":"section","className":"archive"} /-->
<!-- wp:template-part {"slug":"search","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"page-footer","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"footer","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"footer-menu","theme":"fizzie","className":"footer-menu"} /-->

0 comments on commit 8e69f7b

Please sign in to comment.