|
|
@@ -1,16 +1,19 @@
|
|
1
|
1
|
<template lang="pug">
|
|
2
|
|
-article.page--index
|
|
3
|
|
- h1 {{ site }}: index
|
|
4
|
|
- section(v-if="allPagesLoaded")
|
|
5
|
|
- h4 pages
|
|
6
|
|
- p {{ Object.values(allPages).length }}
|
|
7
|
|
- section(v-if="allPostsLoaded")
|
|
8
|
|
- h4 posts
|
|
9
|
|
- p {{ Object.values(allPosts).length }}
|
|
10
|
|
- hr
|
|
11
|
|
- div(v-for="post in allPosts")
|
|
12
|
|
- h4 {{ post.slug }}
|
|
13
|
|
- div(v-for="block in post.blocks" v-html="block")
|
|
|
2
|
+.page--index.f-row.between
|
|
|
3
|
+ article.page--index.f-grow
|
|
|
4
|
+ h1 {{ site }}: index
|
|
|
5
|
+ section(v-if="allPagesLoaded")
|
|
|
6
|
+ h4 pages
|
|
|
7
|
+ p {{ Object.values(allPages).length }}
|
|
|
8
|
+ section(v-if="allPostsLoaded")
|
|
|
9
|
+ h4 posts
|
|
|
10
|
+ p {{ Object.values(allPosts).length }}
|
|
|
11
|
+ hr
|
|
|
12
|
+ div(v-for="post in allPosts")
|
|
|
13
|
+ h4 {{ post.slug }}
|
|
|
14
|
+ div(v-for="block in post.blocks" v-html="block")
|
|
|
15
|
+ aside
|
|
|
16
|
+ h4 this is some other stuff
|
|
14
|
17
|
</template>
|
|
15
|
18
|
|
|
16
|
19
|
<script>
|