瀏覽代碼

Update HTML to be more POSH

Updated the main content div to be a <main> tag instead.
ApisNecros 1 年之前
父節點
當前提交
3d4b747f2d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      layouts/_default/baseof.html

+ 2 - 2
layouts/_default/baseof.html

@@ -4,10 +4,10 @@
     <body>
     <body>
         <div class="h-screen flex flex-flow flex-wrap">
         <div class="h-screen flex flex-flow flex-wrap">
             {{- partial "header.html" . -}}
             {{- partial "header.html" . -}}
-            <div id="content" class="flex-1 px-4">
+            <main id="content" class="flex-1 px-4">
             {{- block "main" . }}{{- end }}
             {{- block "main" . }}{{- end }}
             {{- partial "footer.html" . -}}
             {{- partial "footer.html" . -}}
-            </div>
+            </main>
         </div>
         </div>
     </body>
     </body>
 </html>
 </html>