Skip to content

Commit

Permalink
Ensure homepage has a title
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe committed Nov 28, 2024
1 parent b95389f commit d452246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nuxt-blog-starter/pages/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<!-- <h1 class="text-center" data-editable-metadata="title">{{data?.title}}</h1> -->
<!-- <NuxtLink to="/blog/">Read the blog!</NuxtLink> -->


<h1 v-if="route.path === '/'" class="sr-only">{{ data.page?.title }}</h1>
<section v-if="data.page?.blocks_layout" v-for="section in getSections(data.page)" :class="section.style">
<div class="flex justify-between px-4 mx-auto max-w-screen-xl ">
<div class="mx-auto w-full format format-sm sm:format-base lg:format-lg format-blue dark:format-invert">
Expand Down

0 comments on commit d452246

Please sign in to comment.