Skip to content

Commit

Permalink
fix: render article breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
limsohee1002 committed Nov 4, 2024
1 parent ee2ebdd commit 28138a1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 17 deletions.
37 changes: 23 additions & 14 deletions assets/shared-bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions templates/article_page.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="page-wrapper default-grid">
<div class="col-span-4 sm:col-span-6">

<div id="new-article-page"></div>
<div id="new-article-breadcrumbs"></div>

<div class="w-full max-w-[43.375rem]">
<h1 title="{{article.title}}" class="article-title heading-2 sm:heading-1 text-light-neutral-1 dark:text-dark-neutral-1">
Expand Down Expand Up @@ -48,9 +48,9 @@
</div>

<script type="module">
import { renderArticlePage } from "article-page";
import { renderArticleBreadcrumbs } from "article-page";
const container = document.getElementById("new-article-page");
const container = document.getElementById("new-article-breadcrumbs");
const settings = {{json settings}};
Expand Down

0 comments on commit 28138a1

Please sign in to comment.