diff --git a/articles b/articles
index ba3fd65..b70c920 160000
--- a/articles
+++ b/articles
@@ -1 +1 @@
-Subproject commit ba3fd659165856d70c1ca24503f9c239675a6c32
+Subproject commit b70c92046a5a9f082c43e5581eaf2fba389ee724
diff --git a/index.html b/index.html
index 9e5fc8f..0f75371 100644
--- a/index.html
+++ b/index.html
@@ -1,10 +1,13 @@
-
-
+
+
-
-
-
- Vite App
+
+
+
+ Blog
+
+
+
diff --git a/src/views/ArticleView.vue b/src/views/ArticleView.vue
index a31ef74..306e4f9 100644
--- a/src/views/ArticleView.vue
+++ b/src/views/ArticleView.vue
@@ -8,9 +8,11 @@ import { dateFromParts, simpleDateFormat } from '@lib/dates'
import { NAME, REPOSITORY, VERSION } from '@lib/meta'
const article = ref(null)
+const loading = ref(true)
const route = useRoute()
async function loadPage(target: RouteLocation) {
+ loading.value = true
article.value = await loadArticle(
dateFromParts(
target.params.year as string,
@@ -18,6 +20,7 @@ async function loadPage(target: RouteLocation) {
target.params.day as string,
),
)
+ loading.value = false
}
function scrollTop() {
@@ -29,7 +32,10 @@ onBeforeRouteUpdate(loadPage)
-
+
+
+
+
@@ -42,19 +48,19 @@ onBeforeRouteUpdate(loadPage)
{{ simpleDateFormat(article.metadata.date) }}
-
+
+
+ TODO signature
+
+ Go to top -
+ Back to home
+
+
+
+ {{ new Date().getFullYear() }} - Made with {{ NAME }}
+ {{ VERSION }}
+
+
-
- TODO signature
-
- Go to top -
- Back to home
-
-
-
- {{ new Date().getFullYear() }} - Made with {{ NAME }}
- {{ VERSION }}
-
-
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index a2e0b99..ecf2ca5 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -17,7 +17,7 @@ onBeforeMount(async () => {
Articles
-