-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: templates not wrapped in main tag group
- Loading branch information
Showing
8 changed files
with
307 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,35 @@ | ||
<!-- wp:cover {"overlayColor":"ti-bg-inv","minHeight":100,"minHeightUnit":"vh"} --> | ||
<div class="wp-block-cover" style="min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-ti-bg-inv-background-color has-background-dim-100 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"blockGap":"40px"}},"textColor":"ti-bg","layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group has-ti-bg-color has-text-color" style="padding-top:64px;padding-bottom:64px"><!-- wp:paragraph {"align":"center","style":{"typography":{"lineHeight":"1"}},"fontSize":"huge"} --> | ||
<p class="has-text-align-center has-huge-font-size" style="line-height:1">404- Page not Found</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:paragraph {"align":"center","fontSize":"large"} --> | ||
<p class="has-text-align-center has-large-font-size">Unfortunately the page was not found. Click the button below to return to the homepage</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} --> | ||
<div class="wp-block-buttons"><!-- wp:button --> | ||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="#home">Return to Homepage</a></div> | ||
<!-- /wp:button --></div> | ||
<!-- /wp:buttons --></div> | ||
<!-- /wp:group --></div></div> | ||
<!-- /wp:cover --> | ||
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"},"blockGap":"0","margin":{"top":"0","bottom":"0"}}}} --> | ||
<main class="wp-block-group" | ||
style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"> | ||
<!-- wp:cover {"overlayColor":"ti-bg-inv","minHeight":100,"minHeightUnit":"vh","align":"full"} --> | ||
<div class="wp-block-cover alignfull" style="min-height:100vh"> | ||
<span aria-hidden="true" | ||
class="wp-block-cover__background has-ti-bg-inv-background-color has-background-dim-100 has-background-dim"></span> | ||
<div class="wp-block-cover__inner-container"> | ||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"blockGap":"40px"}},"textColor":"ti-bg","layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group has-ti-bg-color has-text-color" style="padding-top:64px;padding-bottom:64px"> | ||
<!-- wp:paragraph {"align":"center","style":{"typography":{"lineHeight":"1"}},"fontSize":"huge"} --> | ||
<p class="has-text-align-center has-huge-font-size" style="line-height:1">404 - Page not Found</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:paragraph {"align":"center","fontSize":"large"} --> | ||
<p class="has-text-align-center has-large-font-size">Unfortunately the page was not found. Click the | ||
button below to return to the homepage</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} --> | ||
<div class="wp-block-buttons"> | ||
<!-- wp:button --> | ||
<div class="wp-block-button"> | ||
<a class="wp-block-button__link wp-element-button" href="/">Return to Homepage</a> | ||
</div> | ||
<!-- /wp:button --> | ||
</div> | ||
<!-- /wp:buttons --> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
</div> | ||
<!-- /wp:cover --> | ||
</main> | ||
<!-- /wp:group --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,67 @@ | ||
<!-- wp:template-part {"slug":"header","theme":"fork","tagName":"header"} /--> | ||
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"},"blockGap":"0","margin":{"top":"0","bottom":"0"}}}} --> | ||
<main class="wp-block-group" | ||
style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"> | ||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"64px","bottom":"64px","right":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0px"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" | ||
style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-right:0px;padding-bottom:64px;padding-left:0px"> | ||
<!-- wp:query-title {"type":"archive","showPrefix":false,"align":"wide"} /--> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"64px","bottom":"64px","right":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0px"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-right:0px;padding-bottom:64px;padding-left:0px"><!-- wp:query-title {"type":"archive","showPrefix":false,"align":"wide"} /--></div> | ||
<!-- /wp:group --> | ||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"> | ||
<!-- wp:query {"queryId":4,"query":{"perPage":"4","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"default"}} --> | ||
<div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide"} --> | ||
<!-- wp:group {"style":{"spacing":{"padding":{"right":"0px","left":"0px"},"margin":{"bottom":"0","top":"0"}}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-right:0px;padding-left:0px"> | ||
<!-- wp:columns --> | ||
<div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"center","width":"25%"} --> | ||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"> | ||
<!-- wp:post-date {"textAlign":"left"} /--></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:query {"queryId":4,"query":{"perPage":"4","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"default"}} --> | ||
<div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide"} --> | ||
<!-- wp:group {"style":{"spacing":{"padding":{"right":"0px","left":"0px"},"margin":{"bottom":"0","top":"0"}}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-right:0px;padding-left:0px"><!-- wp:columns --> | ||
<div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"center","width":"25%"} --> | ||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:post-date {"textAlign":"left"} /--></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"width":"100%"} --> | ||
<div class="wp-block-column" style="flex-basis:100%"><!-- wp:post-title {"textAlign":"left","isLink":true,"fontSize":"x-large"} /--></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
|
||
<!-- wp:separator {"className":"is-style-wide"} --> | ||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/> | ||
<!-- /wp:separator --></div> | ||
<!-- /wp:group --> | ||
<!-- /wp:post-template --> | ||
<!-- wp:column {"width":"100%"} --> | ||
<div class="wp-block-column" style="flex-basis:100%"> | ||
<!-- wp:post-title {"textAlign":"left","isLink":true,"fontSize":"x-large"} /--></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
|
||
<!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"64px","bottom":"64px"}}}} --> | ||
<div class="wp-block-group alignwide" style="margin-top:64px;margin-bottom:64px"><!-- wp:query-pagination {"textColor":"ti-fg","layout":{"type":"flex","justifyContent":"space-between"}} --> | ||
<!-- wp:query-pagination-previous /--> | ||
<!-- wp:separator {"className":"is-style-wide"} --> | ||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/> | ||
<!-- /wp:separator --></div> | ||
<!-- /wp:group --> | ||
<!-- /wp:post-template --> | ||
|
||
<!-- wp:query-pagination-numbers /--> | ||
<!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"64px","bottom":"64px"}}}} --> | ||
<div class="wp-block-group alignwide" style="margin-top:64px;margin-bottom:64px"> | ||
<!-- wp:query-pagination {"textColor":"ti-fg","layout":{"type":"flex","justifyContent":"space-between"}} --> | ||
<!-- wp:query-pagination-previous /--> | ||
|
||
<!-- wp:query-pagination-next /--> | ||
<!-- /wp:query-pagination --></div> | ||
<!-- /wp:group --> | ||
<!-- wp:query-pagination-numbers /--> | ||
|
||
<!-- wp:query-no-results --> | ||
<!-- wp:paragraph {"align":"center","placeholder":"Add text or blocks that will display when the query returns no results.","backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt"} --> | ||
<p class="has-text-align-center has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background">Unfortunately no posts were found</p> | ||
<!-- /wp:paragraph --> | ||
<!-- /wp:query-no-results --></div> | ||
<!-- /wp:query --></div> | ||
<!-- /wp:group --> | ||
<!-- wp:query-pagination-next /--> | ||
<!-- /wp:query-pagination --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt","layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:heading {"textAlign":"center"} --> | ||
<h2 class="has-text-align-center">Search for an article</h2> | ||
<!-- /wp:heading --> | ||
<!-- wp:query-no-results --> | ||
<!-- wp:paragraph {"align":"center","placeholder":"Add text or blocks that will display when the query returns no results.","backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt"} --> | ||
<p class="has-text-align-center has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background">Unfortunately no posts were found</p> | ||
<!-- /wp:paragraph --> | ||
<!-- /wp:query-no-results --></div> | ||
<!-- /wp:query --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:search {"label":"Search","showLabel":false,"buttonText":"Search"} /--></div> | ||
<!-- /wp:group --> | ||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt","layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignfull has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background" | ||
style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"> | ||
<!-- wp:heading {"textAlign":"center"} --> | ||
<h2 class="has-text-align-center">Search for an article</h2> | ||
<!-- /wp:heading --> | ||
<!-- wp:search {"label":"Search","showLabel":false,"buttonText":"Search"} /--> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
</main> | ||
<!-- /wp:group --> | ||
<!-- wp:template-part {"slug":"footer","theme":"fork","tagName":"footer"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
<!-- wp:template-part {"slug":"header","theme":"fork","tagName":"header"} /--> | ||
|
||
<!-- wp:pattern {"slug":"fork/front-page-hero"} /--> | ||
<!-- wp:pattern {"slug":"fork/columns-with-icons"} /--> | ||
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"},"blockGap":"0","margin":{"top":"0","bottom":"0"}}}} --> | ||
<main class="wp-block-group" | ||
style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"> | ||
|
||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"64px"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"> | ||
<!-- wp:post-content /--> | ||
</div> | ||
<!-- wp:pattern {"slug":"fork/front-page-hero"} /--> | ||
<!-- wp:pattern {"slug":"fork/columns-with-icons"} /--> | ||
|
||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"64px"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"> | ||
<!-- wp:post-content /--> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:pattern {"slug":"fork/content-with-image-and-button"} /--> | ||
</main> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:pattern {"slug":"fork/content-with-image-and-button"} /--> | ||
<!-- wp:template-part {"slug":"footer","theme":"fork","tagName":"footer"} /--> |
Oops, something went wrong.