Skip to content

Commit

Permalink
✏️ Restore original title in DocumentOutline of article theme (#524)
Browse files Browse the repository at this point in the history
* fix: title in document outline for article theme

* chore: add changeset

* fix: run prettier
  • Loading branch information
agoose77 authored Jan 14, 2025
1 parent a4350b4 commit de028cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lovely-cherries-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@myst-theme/article': patch
---

Restore orignial title for article theme
3 changes: 2 additions & 1 deletion themes/article/app/components/Article.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function Article({
<FrontmatterBlock
frontmatter={{ title, subtitle }}
thebe={thebe}
location={location}
location={location}
className="mb-5"
/>
)}
Expand All @@ -73,6 +73,7 @@ export function Article({
className="relative pt-[2px]"
maxdepth={outlineMaxDepth}
isMargin={isOutlineMargin}
title="In this article"
>
<SupportingDocuments />
</DocumentOutline>
Expand Down

0 comments on commit de028cd

Please sign in to comment.