diff --git a/src/main/resources/site/parts/article/article.jsx b/src/main/resources/site/parts/article/article.jsx index 94cc5436e..a54277561 100644 --- a/src/main/resources/site/parts/article/article.jsx +++ b/src/main/resources/site/parts/article/article.jsx @@ -6,7 +6,7 @@ function Article(props) { const phrases = props.phrases function renderTitleIngress() { - const { introTitle, title, ingress } = props + const { introTitle, title, preface } = props return (
@@ -14,7 +14,7 @@ function Article(props) { {title} - {ingress &&

{ingress}

} + {preface &&

{preface}

}
) } @@ -178,7 +178,7 @@ Article.propTypes = { phrases: PropTypes.object, introTitle: PropTypes.string, title: PropTypes.string, - ingress: PropTypes.string, + preface: PropTypes.string, serialNumber: PropTypes.string, showPubDate: PropTypes.bool, pubDate: PropTypes.string, diff --git a/src/main/resources/site/parts/article/article.ts b/src/main/resources/site/parts/article/article.ts index dab1c84e3..1f92b7bef 100644 --- a/src/main/resources/site/parts/article/article.ts +++ b/src/main/resources/site/parts/article/article.ts @@ -71,7 +71,7 @@ function renderPart(req: XP.Request) { phrases, introTitle: page.data.introTitle, title: page.displayName, - ingress: page.data.ingress, + preface: page.data.ingress, bodyText, showPubDate: page.data.showPublishDate, pubDate, @@ -94,7 +94,7 @@ interface ArticleProps { phrases: Phrases | undefined introTitle: string | undefined title: string - ingress: string | undefined + preface: string | undefined bodyText: string | undefined showPubDate: boolean pubDate: string | undefined