Skip to content

Commit

Permalink
Add some base templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr committed Nov 23, 2020
1 parent c75159f commit 2c6d4e1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
Empty file.
3 changes: 3 additions & 0 deletions emptytheme/block-template-parts/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!-- wp:site-title /-->

<!-- wp:site-tagline /-->
9 changes: 9 additions & 0 deletions emptytheme/block-templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- wp:template-part {"slug":"header","theme":"emptytheme","tagName":"header"} /-->

<!-- wp:query {"queryId":1,"query":{"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","sticky":""}} -->
<!-- wp:query-loop -->
<!-- wp:post-title {"isLink":true} /-->

<!-- wp:post-excerpt /-->
<!-- /wp:query-loop -->
<!-- /wp:query -->
5 changes: 5 additions & 0 deletions emptytheme/block-templates/singular.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- wp:template-part {"slug":"header","theme":"emptytheme","tagName":"header"} /-->

<!-- wp:post-title /-->

<!-- wp:post-content /-->

0 comments on commit 2c6d4e1

Please sign in to comment.