浏览代码

Al Dente: Change the markup of the sidebar to aside (#7281)

Takashi Irie 2 年之前
父节点
当前提交
cfe88002a5
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      aldente/templates/404.html
  2. 1 1
      aldente/templates/page.html
  3. 1 1
      aldente/templates/single.html

+ 1 - 1
aldente/templates/404.html

@@ -15,7 +15,7 @@
 
 		<!-- wp:column {"width":"30%","layout":{"type":"default"}} -->
 		<div class="wp-block-column" style="flex-basis: 30%">
-			<!-- wp:template-part {"slug":"sidebar"} /-->
+			<!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /-->
 		</div>
 		<!-- /wp:column -->
 	</div>

+ 1 - 1
aldente/templates/page.html

@@ -51,7 +51,7 @@
 
 		<!-- wp:column {"width":"30%"} -->
 		<div class="wp-block-column" style="flex-basis: 30%">
-			<!-- wp:template-part {"slug":"sidebar"} /-->
+			<!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /-->
 		</div>
 		<!-- /wp:column -->
 	</div>

+ 1 - 1
aldente/templates/single.html

@@ -80,7 +80,7 @@
 
 		<!-- wp:column {"width":"30%","layout":{"type":"default"}} -->
 		<div class="wp-block-column" style="flex-basis: 30%">
-			<!-- wp:template-part {"slug":"sidebar"} /-->
+			<!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /-->
 		</div>
 		<!-- /wp:column -->
 	</div>