-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pendant: layout for index template #5751
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
0c110db
layout for index template
MaggieCabrera c8b4d2d
theme.json settings and adjustments
MaggieCabrera 4e0d33d
make pagination styles theme wide
MaggieCabrera 18cf92d
pagination tweaks
MaggieCabrera 61245c2
added x-small font size
MaggieCabrera c1ac1ea
Merge branch 'trunk' into pendant-index-template and addressed conflicts
pbking c75c962
removed post-title configuration tweaks and reduced to h3 to match de…
pbking ed0400c
formatted (re-exported) theme.json and removed unneeded settings
pbking File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,33 +1,42 @@ | ||
<!-- wp:template-part {"slug":"header","tagName":"header"} /--> | ||
|
||
<!-- wp:query {"tagName":"main","layout":{"inherit":true}} --> | ||
<main class="wp-block-query"> | ||
<!-- wp:post-template --> | ||
<!-- wp:group --> | ||
<div class="wp-block-group"> | ||
<!-- wp:post-title {"isLink":true} /--> | ||
<!-- wp:post-featured-image {"isLink":true} /--> | ||
<!-- wp:post-excerpt /--> | ||
<!-- wp:template-part {"slug":"post-meta"} /--> | ||
<!-- wp:spacer {"height":40} --> | ||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
</div> | ||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px"},"padding":{"top":"5em","bottom":"5em"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> | ||
<div class="wp-block-group has-background-color has-foreground-background-color has-text-color has-background" style="margin-top:0px;padding-top:5em;padding-bottom:5em"><!-- wp:heading {"level":1,"align":"wide"} --> | ||
<h1 class="alignwide">Articles</h1> | ||
<!-- /wp:heading --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:query {"queryId":1,"query":{"perPage":4,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":true},"tagName":"main","displayLayout":{"type":"flex","columns":2},"layout":{"inherit":true}} --> | ||
<main class="wp-block-query"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"1em","bottom":"1.5em"}}}} --> | ||
<div class="wp-block-group alignwide" style="padding-top:1em;padding-bottom: 1.5em"><!-- wp:post-template --> | ||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"2em","bottom":"2em"}}}} --> | ||
<div class="wp-block-group" style="padding-top:2em;padding-bottom:2em"><!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"16em"} /--> | ||
|
||
<!-- wp:post-title {"level":3,"isLink":true} /--> | ||
<!-- wp:post-excerpt /--> | ||
|
||
<!-- wp:read-more {"style":{"typography":{"fontStyle":"normal","fontWeight":"500"}},"fontSize":"medium"} /--></div> | ||
<!-- /wp:group --> | ||
<!-- /wp:post-template --> | ||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:query-pagination --> | ||
<!-- wp:query-pagination-previous /--> | ||
|
||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:query-pagination-numbers /--> | ||
<!-- wp:separator {"align":"wide","backgroundColor":"foreground","className":"is-style-wide"} --> | ||
<hr class="wp-block-separator alignwide has-text-color has-foreground-color has-alpha-channel-opacity has-foreground-background-color has-background is-style-wide"/> | ||
<!-- /wp:separator --> | ||
|
||
<!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"0"},"padding":{"top":"2.5em","bottom":"2.5em"}}}} --> | ||
<div class="wp-block-group alignwide" style="margin-top:0;padding-top:2.5em;padding-bottom:2.5em"><!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} --> | ||
<!-- wp:query-pagination-previous /--> | ||
|
||
<!-- wp:query-pagination-numbers /--> | ||
|
||
<!-- wp:query-pagination-next /--> | ||
<!-- /wp:query-pagination --> | ||
</div> | ||
<!-- /wp:group --> | ||
<!-- wp:query-pagination-next /--> | ||
<!-- /wp:query-pagination --></div> | ||
<!-- /wp:group --> | ||
|
||
</main> | ||
<!-- /wp:query --> | ||
|
||
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /--> | ||
|
||
|
||
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /--> |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the comps suggest there is less spacing here but I think yours looks good so maybe we leave it to the design pass of the templates.