about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-12-04 08:33:54 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-12-04 08:33:54 +0100
commitf19763d9745723dd1f62055be9974dc34fcc719d (patch)
treee558cd3741fbe86136a983dd94aa59d4bd6ce5b7
parent440afcb2f5b13982ea93b3fcb8854cdb61722442 (diff)
downloadpuszcza-f19763d9745723dd1f62055be9974dc34fcc719d.tar.gz
puszcza-f19763d9745723dd1f62055be9974dc34fcc719d.zip
Add semantic tags
-rw-r--r--layouts/default.vue6
-rw-r--r--pages/kronika/_year/_month/_day/_title/index.vue6
2 files changed, 7 insertions, 5 deletions
diff --git a/layouts/default.vue b/layouts/default.vue
index d7bbd40..f47adde 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -5,7 +5,9 @@
       title="19 PDH Puszcza"
       logo="/assets/krajka-logo.svg"
     />
-    <nuxt id="content" />
+    <main class="content">
+      <nuxt class="content" />
+    </main>
     <the-footer :routes="routes" />
   </div>
 </template>
@@ -40,7 +42,7 @@ export default {
   min-height: 100vh;
 }
 
-#content {
+.content {
   flex: 1;
   width: 100%;
 
diff --git a/pages/kronika/_year/_month/_day/_title/index.vue b/pages/kronika/_year/_month/_day/_title/index.vue
index fa9a9ab..dafa237 100644
--- a/pages/kronika/_year/_month/_day/_title/index.vue
+++ b/pages/kronika/_year/_month/_day/_title/index.vue
@@ -4,9 +4,9 @@
       <h1>404</h1>
       <p>Nie znaleziono wpisu</p>
     </div>
-    <div v-else class="article">
+    <section v-else class="article">
       <article class="content" v-html="content"></article>
-    </div>
+    </section>
   </div>
 </template>
 
@@ -79,4 +79,4 @@ export default {
     text-align: justify;
   }
 }
-</style>
\ No newline at end of file
+</style>