Sten theme: removing theme key from template part links in templates

This commit is contained in:
Matias Benedetto 2023-07-10 12:18:55 +02:00
parent 624e34ebe9
commit d3ab632b99
5 changed files with 12 additions and 12 deletions

View file

@ -1,4 +1,4 @@
<!-- wp:template-part {"slug":"header","theme":"sten","tagName":"header"} /-->
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-query"><!-- wp:query-title {"type":"archive","align":"wide","style":{"spacing":{"margin":{"bottom":"100px"}}}} /-->
@ -26,4 +26,4 @@
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","theme":"sten","tagName":"footer"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,4 +1,4 @@
<!-- wp:template-part {"slug":"header","theme":"sten","tagName":"header"} /-->
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-query"><!-- wp:post-template {"align":"wide"} -->
@ -24,4 +24,4 @@
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","theme":"sten","tagName":"footer"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,4 +1,4 @@
<!-- wp:template-part {"slug":"header","theme":"sten","tagName":"header"} /-->
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-title {"align":"wide","fontSize":"large"} /--></div>
@ -12,4 +12,4 @@
<!-- /wp:spacer --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"sten","tagName":"footer"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,4 +1,4 @@
<!-- wp:template-part {"slug":"header","theme":"sten","tagName":"header"} /-->
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:query-title {"type":"search","align":"wide"} /-->
@ -36,4 +36,4 @@
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","theme":"sten","tagName":"footer"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,4 +1,4 @@
<!-- wp:template-part {"slug":"header","theme":"sten","tagName":"header"} /-->
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"6rem","left":"6rem"}}}} -->
@ -6,14 +6,14 @@
<div class="wp-block-column" style="flex-basis:70%"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"bottom":"var:preset|spacing|70"}}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group alignwide" style="padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:post-title {"align":"wide","style":{"typography":{"fontSize":"2rem"}}} /-->
<!-- wp:template-part {"slug":"post-meta","theme":"sten"} /--></div>
<!-- wp:template-part {"slug":"post-meta"} /--></div>
<!-- /wp:group -->
<!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"default"}} /--></div>
<!-- /wp:column -->
<!-- wp:column {"width":"33.33%"} -->
<div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:template-part {"slug":"sidebar","theme":"sten"} /--></div>
<div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:template-part {"slug":"sidebar"} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
@ -72,4 +72,4 @@
<!-- /wp:columns --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"sten","tagName":"footer"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->