This commit is contained in:
parent
670d90cb15
commit
f85aca7d58
43 changed files with 202 additions and 97 deletions
|
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
import SiteSidebar from "./SiteSidebar.astro";
|
||||
import { normalizeInternalHtmlLinks } from "../lib/urls";
|
||||
|
||||
const { articleHtml } = Astro.props;
|
||||
const normalizedArticleHtml = normalizeInternalHtmlLinks(articleHtml);
|
||||
---
|
||||
|
||||
<div id="main">
|
||||
|
|
@ -10,7 +12,7 @@ const { articleHtml } = Astro.props;
|
|||
|
||||
<section id="container" class="two-columns-right">
|
||||
<div id="content" role="main">
|
||||
<Fragment set:html={articleHtml} />
|
||||
<Fragment set:html={normalizedArticleHtml} />
|
||||
</div>
|
||||
<SiteSidebar />
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue