diff --git a/nuxt-frontend/components/Blog.vue b/nuxt-frontend/components/Blog.vue index c5d542a63..a0b25b053 100644 --- a/nuxt-frontend/components/Blog.vue +++ b/nuxt-frontend/components/Blog.vue @@ -15,6 +15,9 @@ :count="count" :status="status" /> +
+ +
{ return; } + showLoader.value = true; + useAsyncData("paginate", () => store.loadPaginateResources( config.SHOW_DRAFT_POSTS, @@ -77,6 +83,7 @@ const handleScroll = () => { postLimit, ), ).then(() => { + showLoader.value = false; posts.value.push(...resources.value); posts.value = Array.from(new Set(posts.value.map(JSON.stringify))).map( JSON.parse, diff --git a/nuxt-frontend/nuxt.config.js b/nuxt-frontend/nuxt.config.js index c71ce2ca1..87cd931f6 100644 --- a/nuxt-frontend/nuxt.config.js +++ b/nuxt-frontend/nuxt.config.js @@ -27,6 +27,7 @@ export default defineNuxtConfig({ defaults: { lastmod: new Date(), }, + exclude: ["/unsubscribe", "/thank-you", "/jobs/thank-you"], sources: [config.API_BASE + "/api/sitemap"], xsl: false, xslTips: false, diff --git a/nuxt-frontend/package.json b/nuxt-frontend/package.json index 12f211c3a..ad09e31fe 100644 --- a/nuxt-frontend/package.json +++ b/nuxt-frontend/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@babel/eslint-parser": "^7.22.15", - "@canopassoftware/nuxt-blog-kit": "^1.0.5", + "@canopassoftware/nuxt-blog-kit": "^1.0.6", "@ivanv/vue-collapse-transition": "^1.0.2", "@nuxt/devtools": "latest", "@nuxtjs/sitemap": "^5.1.0", diff --git a/nuxt-frontend/pages/author/[slug].vue b/nuxt-frontend/pages/author/[slug].vue index 71b1f72b5..ec18229ba 100644 --- a/nuxt-frontend/pages/author/[slug].vue +++ b/nuxt-frontend/pages/author/[slug].vue @@ -33,6 +33,9 @@
+
+ +