Skip to content

Commit

Permalink
fix(layouts/post): don't reverse the DOM order of post layout
Browse files Browse the repository at this point in the history
This reverts 863909c.

See ElMassimo/iles#232

I think this fix does not worth the trouble it causes, so revert it.
  • Loading branch information
ouuan committed Jul 8, 2023
1 parent 3f91bcf commit 6529257
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/layouts/post.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<template layout="base">
<div class="flex flex-row-reverse justify-center">
<table-of-contents
v-if="needToc"
client:load
:headings="page.meta.headings"
/>
<div class="flex justify-center">
<div :class="['grow m-4 standard-card', { 'max-w-200': needToc }]">
<article
itemprop="mainEntity"
Expand Down Expand Up @@ -45,6 +40,11 @@
:frontmatter="page.frontmatter"
/>
</div>
<table-of-contents
v-if="needToc"
client:load
:headings="page.meta.headings"
/>
</div>
</template>

Expand Down

0 comments on commit 6529257

Please sign in to comment.