about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-19 20:58:55 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-19 20:58:55 +0100
commit3997ec718b2ff8ad99b8c3c52c8143f5d2b2189c (patch)
tree757ccc2174f22583d1b03ce919a9a515c4ebb3c7
parent3c48c07a510779442830818c31d62db2f0ae25aa (diff)
downloadpuszcza-3997ec718b2ff8ad99b8c3c52c8143f5d2b2189c.tar.gz
puszcza-3997ec718b2ff8ad99b8c3c52c8143f5d2b2189c.zip
Add frontmatter title
-rw-r--r--pages/kronika/_year/_month/_day/_title/index.vue9
1 files changed, 8 insertions, 1 deletions
diff --git a/pages/kronika/_year/_month/_day/_title/index.vue b/pages/kronika/_year/_month/_day/_title/index.vue
index 01445e9..a671ae0 100644
--- a/pages/kronika/_year/_month/_day/_title/index.vue
+++ b/pages/kronika/_year/_month/_day/_title/index.vue
@@ -11,7 +11,10 @@
         :alt="attributes.title"
         :title="attributes.title"
       />
-      <article class="content" v-html="content"></article>
+      <article class="content">
+        <h1 style="width:100%">{{title}}</h1>
+        <div v-html="content" />
+      </article>
     </section>
   </div>
 </template>
@@ -97,6 +100,10 @@ export default {
   letter-spacing: 0;
 }
 
+article.content {
+  margin-top: 3ex;
+}
+
 @media (max-width: 720px) {
   .article {
     padding: 60px 20px;