Browse Source

single: date top-right, categories+tags footer, wider content card

- Post date moved into a flex space-between row with the title (top-right).
- Category + tag terms moved to a group beneath the content (was: category in
  the top meta row, tags after content) — 'Posted in:' / 'Tagged:'.
- entry-content card set to align:wide (1280px vs 1170px contentSize) so the
  #dadada background is a bit wider.
windhamdavid 1 week ago
parent
commit
abc124bee2
1 changed files with 10 additions and 6 deletions
  1. 10 6
      templates/single.html

+ 10 - 6
templates/single.html

@@ -2,17 +2,21 @@
 
 <!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
 <main class="wp-block-group">
-	<!-- wp:group {"className":"entry-content","style":{"spacing":{"margin":{"top":"6.5rem"}}},"layout":{"type":"constrained"}} -->
-	<div class="wp-block-group entry-content" style="margin-top:6.5rem">
-		<!-- wp:post-title {"level":1} /-->
-		<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
+	<!-- wp:group {"align":"wide","className":"entry-content","style":{"spacing":{"margin":{"top":"6.5rem"}}},"layout":{"type":"constrained"}} -->
+	<div class="wp-block-group entry-content alignwide" style="margin-top:6.5rem">
+		<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"top"}} -->
 		<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--40)">
+			<!-- wp:post-title {"level":1} /-->
 			<!-- wp:post-date {"fontSize":"x-small"} /-->
-			<!-- wp:post-terms {"term":"category","fontSize":"x-small"} /-->
 		</div>
 		<!-- /wp:group -->
 		<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
-		<!-- wp:post-terms {"term":"post_tag","prefix":"Tagged: ","fontSize":"x-small"} /-->
+		<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
+		<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60)">
+			<!-- wp:post-terms {"term":"category","prefix":"Posted in: ","fontSize":"x-small"} /-->
+			<!-- wp:post-terms {"term":"post_tag","prefix":"Tagged: ","fontSize":"x-small"} /-->
+		</div>
+		<!-- /wp:group -->
 		<!-- wp:comments -->
 		<div class="wp-block-comments">
 			<!-- wp:comment-template -->