diff --git a/examples/social-feed/src/components/Article.astro b/examples/social-feed/src/components/Article.astro index 0b0829412a..369f5c47c7 100644 --- a/examples/social-feed/src/components/Article.astro +++ b/examples/social-feed/src/components/Article.astro @@ -1,6 +1,5 @@ --- import ArticleHeader from './ArticleHeader.astro'; -import SplitLayout from './SplitLayout.astro'; import type { Article, Post } from '../content/config.js'; export interface Props { @@ -9,31 +8,14 @@ export interface Props { const { article } = Astro.props; -const { Content, headings } = await article.render(); +const { Content } = await article.render(); ---
-
- - { - headings.length > 0 && ( - - ) - } -