瀏覽代碼

Tenaz: Change the markup of the sidebar to aside (#7283)

Takashi Irie 2 年之前
父節點
當前提交
5b52d09a8b
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      tenaz/templates/page.html
  2. 1 1
      tenaz/templates/single.html

+ 1 - 1
tenaz/templates/page.html

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

+ 1 - 1
tenaz/templates/single.html

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