Skip to content

Commit

Permalink
Remove "theme" attribute from template
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicente Canales committed Jul 4, 2023
1 parent de5a772 commit ebd049e
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 37 deletions.
66 changes: 53 additions & 13 deletions entry/templates/archive.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,59 @@
<!-- wp:group {"style":{"spacing":{"padding":{"right":"3vw","left":"3vw"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-right:3vw;padding-left:3vw"><!-- wp:group {"style":{"spacing":{"padding":{"top":"6vh","right":"3vw","bottom":"6vh","left":"3vw"}},"border":{"radius":"4em"}},"backgroundColor":"secondary","layout":{"type":"default"}} -->
<div class="wp-block-group has-secondary-background-color has-background" style="border-radius:4em;padding-top:6vh;padding-right:3vw;padding-bottom:6vh;padding-left:3vw"><!-- wp:query-title {"type":"archive"} /--></div>
<!-- /wp:group --></div>
<div class="wp-block-group" style="padding-right: 3vw; padding-left: 3vw">
<!-- wp:group {"style":{"spacing":{"padding":{"top":"6vh","right":"3vw","bottom":"6vh","left":"3vw"}},"border":{"radius":"4em"}},"backgroundColor":"secondary","layout":{"type":"default"}} -->
<div
class="wp-block-group has-secondary-background-color has-background"
style="
border-radius: 4em;
padding-top: 6vh;
padding-right: 3vw;
padding-bottom: 6vh;
padding-left: 3vw;
"
>
<!-- wp:query-title {"type":"archive"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"padding":{"right":"3vw","left":"3vw"},"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-right:3vw;padding-left:3vw"><!-- wp:query {"queryId":8,"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"full"} -->
<div class="wp-block-query alignfull"><!-- wp:post-template -->
<!-- wp:group {"style":{"border":{"radius":"4em"}},"backgroundColor":"secondary","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-secondary-background-color has-background" style="border-radius:4em"><!-- wp:cover {"dimRatio":0,"overlayColor":"secondary","minHeight":100,"minHeightUnit":"%","contentPosition":"bottom left","style":{"border":{"radius":"4em"},"spacing":{"padding":{"right":"5vw","left":"5vw","bottom":"8vh","top":"8vh"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-custom-content-position is-position-bottom-left" style="border-radius:4em;padding-top:8vh;padding-right:5vw;padding-bottom:8vh;padding-left:5vw;min-height:100%"><span aria-hidden="true" class="wp-block-cover__background has-secondary-background-color has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:post-title {"isLink":true,"style":{"spacing":{"padding":{"top":"0","bottom":"0"}},"typography":{"fontSize":"1.9em"}}} /--></div></div>
<!-- /wp:cover --></div>
<!-- /wp:group -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<div class="wp-block-group" style="padding-right: 3vw; padding-left: 3vw">
<!-- wp:query {"queryId":8,"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"full"} -->
<div class="wp-block-query alignfull">
<!-- wp:post-template -->
<!-- wp:group {"style":{"border":{"radius":"4em"}},"backgroundColor":"secondary","layout":{"type":"constrained"}} -->
<div
class="wp-block-group has-secondary-background-color has-background"
style="border-radius: 4em"
>
<!-- wp:cover {"dimRatio":0,"overlayColor":"secondary","minHeight":100,"minHeightUnit":"%","contentPosition":"bottom left","style":{"border":{"radius":"4em"},"spacing":{"padding":{"right":"5vw","left":"5vw","bottom":"8vh","top":"8vh"}}},"layout":{"type":"constrained"}} -->
<div
class="wp-block-cover has-custom-content-position is-position-bottom-left"
style="
border-radius: 4em;
padding-top: 8vh;
padding-right: 5vw;
padding-bottom: 8vh;
padding-left: 5vw;
min-height: 100%;
"
>
<span
aria-hidden="true"
class="wp-block-cover__background has-secondary-background-color has-background-dim-0 has-background-dim"
></span>
<div class="wp-block-cover__inner-container">
<!-- wp:post-title {"isLink":true,"style":{"spacing":{"padding":{"top":"0","bottom":"0"}},"typography":{"fontSize":"1.9em"}}} /-->
</div>
</div>
<!-- /wp:cover -->
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
</div>
<!-- /wp:query -->
</div>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","theme":"entry"} /-->
<!-- wp:template-part {"slug":"footer"} /-->
104 changes: 80 additions & 24 deletions entry/templates/single.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,89 @@
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"style":{"spacing":{"padding":{"right":"3vw","left":"3vw"}}}} -->
<main class="wp-block-group" style="padding-right:3vw;padding-left:3vw"><!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"width":"33.33%","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}}}} -->
<div class="wp-block-column" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;flex-basis:33.33%"><!-- wp:post-featured-image {"aspectRatio":"auto","align":"full","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}},"color":{"duotone":"unset"}}} /--></div>
<!-- /wp:column -->
<main class="wp-block-group" style="padding-right: 3vw; padding-left: 3vw">
<!-- wp:columns -->
<div class="wp-block-columns">
<!-- wp:column {"width":"33.33%","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}}}} -->
<div
class="wp-block-column"
style="
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
flex-basis: 33.33%;
"
>
<!-- wp:post-featured-image {"aspectRatio":"auto","align":"full","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}},"color":{"duotone":"unset"}}} /-->
</div>
<!-- /wp:column -->

<!-- wp:column {"width":"66.66%"} -->
<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:group {"style":{"border":{"radius":"4em"},"spacing":{"padding":{"top":"8vh","right":"8vw","bottom":"8vh","left":"8vw"},"blockGap":"0"}},"backgroundColor":"secondary","layout":{"type":"default"}} -->
<div class="wp-block-group has-secondary-background-color has-background" style="border-radius:4em;padding-top:8vh;padding-right:8vw;padding-bottom:8vh;padding-left:8vw"><!-- wp:spacer {"height":"30px"} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:column {"width":"66.66%"} -->
<div class="wp-block-column" style="flex-basis: 66.66%">
<!-- wp:group {"style":{"border":{"radius":"4em"},"spacing":{"padding":{"top":"8vh","right":"8vw","bottom":"8vh","left":"8vw"},"blockGap":"0"}},"backgroundColor":"secondary","layout":{"type":"default"}} -->
<div
class="wp-block-group has-secondary-background-color has-background"
style="
border-radius: 4em;
padding-top: 8vh;
padding-right: 8vw;
padding-bottom: 8vh;
padding-left: 8vw;
"
>
<!-- wp:spacer {"height":"30px"} -->
<div
style="height: 30px"
aria-hidden="true"
class="wp-block-spacer"
></div>
<!-- /wp:spacer -->

<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group"><!-- wp:post-title {"style":{"typography":{"fontSize":"36px"}}} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group">
<!-- wp:post-title {"style":{"typography":{"fontSize":"36px"}}} /-->

<!-- wp:post-date {"isLink":true,"fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:post-date {"isLink":true,"fontSize":"small"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

<!-- wp:group {"style":{"border":{"radius":"4em"},"spacing":{"padding":{"top":"8vh","right":"8vw","bottom":"8vh","left":"8vw"}}},"backgroundColor":"secondary","layout":{"type":"default"}} -->
<div class="wp-block-group has-secondary-background-color has-background" style="border-radius:4em;padding-top:8vh;padding-right:8vw;padding-bottom:8vh;padding-left:8vw"><!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"default"}} /--></div>
<!-- /wp:group -->
<!-- wp:group {"style":{"border":{"radius":"4em"},"spacing":{"padding":{"top":"8vh","right":"8vw","bottom":"8vh","left":"8vw"}}},"backgroundColor":"secondary","layout":{"type":"default"}} -->
<div
class="wp-block-group has-secondary-background-color has-background"
style="
border-radius: 4em;
padding-top: 8vh;
padding-right: 8vw;
padding-bottom: 8vh;
padding-left: 8vw;
"
>
<!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"default"}} /-->
</div>
<!-- /wp:group -->

<!-- wp:group {"style":{"border":{"radius":"4em"},"spacing":{"padding":{"top":"8vh","right":"8vw","bottom":"8vh","left":"8vw"}}},"backgroundColor":"secondary","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group has-secondary-background-color has-background" style="border-radius:4em;padding-top:8vh;padding-right:8vw;padding-bottom:8vh;padding-left:8vw"><!-- wp:post-navigation-link {"type":"previous","label":"Previous","showTitle":true,"arrow":"arrow","style":{"layout":{"selfStretch":"fill"}}} /-->
<!-- wp:group {"style":{"border":{"radius":"4em"},"spacing":{"padding":{"top":"8vh","right":"8vw","bottom":"8vh","left":"8vw"}}},"backgroundColor":"secondary","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div
class="wp-block-group has-secondary-background-color has-background"
style="
border-radius: 4em;
padding-top: 8vh;
padding-right: 8vw;
padding-bottom: 8vh;
padding-left: 8vw;
"
>
<!-- wp:post-navigation-link {"type":"previous","label":"Previous","showTitle":true,"arrow":"arrow","style":{"layout":{"selfStretch":"fill"}}} /-->

<!-- wp:post-navigation-link {"textAlign":"right","label":"Next","showTitle":true,"arrow":"arrow","style":{"layout":{"selfStretch":"fill"}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></main>
<!-- wp:post-navigation-link {"textAlign":"right","label":"Next","showTitle":true,"arrow":"arrow","style":{"layout":{"selfStretch":"fill"}}} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
</main>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","theme":"entry","tagName":"footer"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

0 comments on commit ebd049e

Please sign in to comment.