Skip to content

Commit

Permalink
Adjust homepage template.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr committed Nov 11, 2020
1 parent 946847b commit ea5d99f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 1 addition & 5 deletions mayland-blocks/block-templates/front-page.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<!-- wp:template-part {"slug":"header","theme":"mayland-blocks","align":"full", "tagName":"header","className":"site-header"} /-->

<!-- wp:group {"align":"full","backgroundColor":"background"} -->
<div class="wp-block-group alignfull has-background-background-color has-background"><div class="wp-block-group__inner-container"><!-- wp:gallery {"linkTo":"none","align":"full","lightbox":true} -->
<figure class="wp-block-gallery alignfull columns-3 is-cropped has-lightbox"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img src="https://maylanddemo.files.wordpress.com/2019/09/yannes-kiefer-vzfsq4tqthy-unsplash-minified.jpg?w=683" alt="" data-id="100" data-link="https://maylanddemo.wordpress.com/home/yannes-kiefer-vzfsq4tqthy-unsplash-minified/" class="wp-image-100"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://maylanddemo.files.wordpress.com/2019/09/eddy-klaus-bhnxfaencti-unsplash-minified.jpg?w=750" alt="" data-id="102" data-link="https://maylanddemo.wordpress.com/home/eddy-klaus-bhnxfaencti-unsplash-minified/" class="wp-image-102"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://maylanddemo.files.wordpress.com/2019/09/paola-aguilar-lkqhgsvzfsk-unsplash-minified.jpg?w=682" alt="" data-id="103" data-link="https://maylanddemo.wordpress.com/home/paola-aguilar-lkqhgsvzfsk-unsplash-minified/" class="wp-image-103"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://maylanddemo.files.wordpress.com/2019/09/nino-ubezio-2580l2jw4qk-unsplash-minified.jpg?w=684" alt="" data-id="104" data-link="https://maylanddemo.wordpress.com/home/nino-ubezio-2580l2jw4qk-unsplash-minified/" class="wp-image-104"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://maylanddemo.files.wordpress.com/2019/09/griffin-taylor-fwzg7xfav-w-unsplash-minified.jpg?w=750" alt="" data-id="105" data-link="https://maylanddemo.wordpress.com/home/griffin-taylor-fwzg7xfav-w-unsplash-minified/" class="wp-image-105"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://maylanddemo.files.wordpress.com/2019/09/jeison-higuita-80meoxgb0n0-unsplash-minified.jpg?w=750" alt="" data-id="106" data-link="https://maylanddemo.wordpress.com/home/jeison-higuita-80meoxgb0n0-unsplash-minified/" class="wp-image-106"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://maylanddemo.files.wordpress.com/2019/09/rene-bohmer-1odk5-rmata-unsplash-minified.jpg?w=683" alt="" data-id="107" data-link="https://maylanddemo.wordpress.com/home/rene-bohmer-1odk5-rmata-unsplash-minified/" class="wp-image-107"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://maylanddemo.files.wordpress.com/2019/09/steve-long-k53cu6aycz4-unsplash-minified.jpg?w=684" alt="" data-id="108" data-link="https://maylanddemo.wordpress.com/home/steve-long-k53cu6aycz4-unsplash-minified/" class="wp-image-108"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://maylanddemo.files.wordpress.com/2019/09/yoshua-giri-65bbd4hlzgk-unsplash-minified.jpg?w=724" alt="" data-id="109" data-link="https://maylanddemo.wordpress.com/home/yoshua-giri-65bbd4hlzgk-unsplash-minified/" class="wp-image-109"/></figure></li></ul></figure>
<!-- /wp:gallery --></div></div>
<!-- /wp:group -->
<!-- wp:post-content /-->

<!-- wp:template-part {"slug":"footer","theme":"mayland-blocks","align":"full","tagName":"footer","className":"site-footer"} /-->
10 changes: 9 additions & 1 deletion mayland-blocks/block-templates/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,20 @@
<div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:post-title {"level":1} /-->

<!-- wp:post-date /-->

<!-- wp:post-title {"level":1} /-->
<!-- wp:spacer {"height":16px} -->
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:post-content /-->

<!-- wp:spacer {"height":16px} -->
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:post-date /-->

<!-- wp:spacer {"height":64} -->
Expand Down
2 changes: 1 addition & 1 deletion mayland-blocks/experimental-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
}
}
},
"core/post-title": {
"core/post-title/h1": {
"styles": {
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)",
Expand Down

0 comments on commit ea5d99f

Please sign in to comment.