-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c25455
commit 302f9d7
Showing
2 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
source/wp-content/themes/wporg-main-2022/patterns/data-liberation-guides-single.php
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
/** | ||
* Title: Data Liberation Guides List | ||
* Slug: wporg-main-2022/data-liberation-guide-single | ||
* Inserter: no | ||
*/ | ||
|
||
?> | ||
|
||
<!-- wp:post-title /--> |
58 changes: 58 additions & 0 deletions
58
source/wp-content/themes/wporg-main-2022/templates/page-data-liberation-guide-single.html
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<!-- wp:wporg/global-header /--> | ||
|
||
<!-- wp:wporg/local-navigation-bar {"backgroundColor":"charcoal-2","style":{"position":{"type":"sticky"},"elements":{"link":{"color":{"text":"var:preset|color|white"},":hover":{"color":{"text":"var:preset|color|white"}}}}},"textColor":"white","fontSize":"small"} --> | ||
|
||
<!-- wp:site-title {"level":0,"fontSize":"small"} /--> | ||
|
||
<!-- wp:navigation {"menuSlug":"documentation","icon":"menu","overlayBackgroundColor":"charcoal-2","overlayTextColor":"white","layout":{"type":"flex","orientation":"horizontal"},"fontSize":"small"} /--> | ||
|
||
<!-- /wp:wporg/local-navigation-bar --> | ||
|
||
<!-- wp:group {"tagName":"main","layout":{"type":"constrained"},"style":{"spacing":{"padding":{"left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space"}}}} --> | ||
<main class="wp-block-group alignfull" style="padding-left:var(--wp--preset--spacing--edge-space);padding-right:var(--wp--preset--spacing--edge-space)"> | ||
|
||
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"},"align":"wide"} --> | ||
<div class="wp-block-group alignwide"> | ||
|
||
<!-- wp:group {"tagName":"article"} --> | ||
<article class="wp-block-group"> | ||
<!-- wp:post-title {"level":1,"style":{"spacing":{"margin":{"top":"var:preset|spacing|edge-space","bottom":"var:preset|spacing|40"}}}} /--> | ||
|
||
<!-- wp:wporg/sidebar-container {"style":{"spacing":{"margin":{"bottom":"40px"}}}} --> | ||
|
||
<!-- wp:wporg/table-of-contents /--> | ||
|
||
<!-- /wp:wporg/sidebar-container --> | ||
|
||
<!-- wp:post-content {"layout":{"inherit":true}} /--> | ||
</article> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40"},"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"},"blockGap":"var:preset|spacing|50"},"border":{"top":{"color":"var:preset|color|light-grey-1","width":"1px"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"left"}} --> | ||
<div class="wp-block-group" style="border-top-color:var(--wp--preset--color--light-grey-1);border-top-width:1px;margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40);padding-top:var(--wp--preset--spacing--40)"> | ||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}}} --> | ||
<p style="font-style:normal;font-weight:700">First published</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:post-date {"fontSize":"normal"} /--> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}}} --> | ||
<p style="font-style:normal;font-weight:700">Last updated</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:post-date {"displayType":"modified","fontSize":"normal"} /--> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
</main> | ||
<!-- /wp:group --> |