Skip to content

Commit

Permalink
Reorganize article layout by moving header content and improving navi…
Browse files Browse the repository at this point in the history
…gation structure
  • Loading branch information
andrewshawcare committed Feb 1, 2025
1 parent e4c2642 commit 07e0f89
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions templates/layouts/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,23 @@

<article>

<header>
# {% $frontmatter.title %}
<header>

<nav>
{% table-of-contents type="headings" /%}
</nav>
</header>
# {% $frontmatter.title %}

<main>
{% $content %}
</main>
<nav>

{% table-of-contents type="headings" /%}

</nav>

</header>

<main>

{% $content %}

</main>

</article>

Expand Down

0 comments on commit 07e0f89

Please sign in to comment.