Skip to content

Commit e3a4b7e

Browse files
committed
Fixes
1 parent 5d32378 commit e3a4b7e

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

docs/.vitepress/config.mts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default defineConfig({
3939

4040
// Top navigation
4141
nav: [
42-
{ text: 'Why KitOps?', activeMatch: `^/#whykitops`, link: '/#whykitops' },
42+
{ text: 'Why Kit?', activeMatch: `^/#whykitops`, link: '/#whykitops' },
4343
{ text: 'How does it work?', activeMatch: `^/#howdoesitwork`, link: '/#howdoesitwork' },
4444
{ text: 'Docs', activeMatch: `^/docs`, link: '/docs/overview' },
4545
{ text: 'Blog', activeMatch: `^/blog`, link: '/blog' },

docs/.vitepress/theme/blog.data.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ export default {
2727

2828
// Tiny helper
2929
const getMetaTag = (name) => (
30+
post[name] ||
3031
$(`meta[name=${name}]`).attr("content") ||
3132
$(`meta[property="og:${name}"]`).attr("content") ||
32-
$(`meta[property="twitter${name}"]`).attr("content") || post[name]
33+
$(`meta[property="twitter${name}"]`).attr("content")
3334
)
3435

3536
const title = getMetaTag('title') || $('title').text()

docs/.vitepress/theme/components/Blog.vue

+2-8
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,7 @@ const filteredPostsByTag = computed(() => {
6969
</ul>
7070
</div>
7171

72-
<TransitionGroup
73-
tag="div"
74-
leave-active-class="transition origin-top"
75-
enter-active-class="transition origin-top"
76-
leave-to-class="scale-90 opacity-0"
77-
enter-from-class="scale-90 opacity-100"
78-
class="space-y-10">
72+
<div class="space-y-10">
7973
<a
8074
v-for="post in filteredPostsByTag" :key="post.url"
8175
class="block p-10 border border-gray-02 transition hocus:border-cornflower"
@@ -95,7 +89,7 @@ const filteredPostsByTag = computed(() => {
9589

9690
<div class="font-bold p2 mt-10">{{ post.author }}</div>
9791
</a>
98-
</TransitionGroup>
92+
</div>
9993
</section>
10094
</template>
10195

0 commit comments

Comments
 (0)