Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switched to using excerpt field instead of custom_excerpt in RSS #11

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/utils/rss/generate-feed.js
Expand Up @@ -8,7 +8,7 @@ const generateItem = function generateItem(post) {
const htmlContent = cheerio.load(html, { decodeEntities: false, xmlMode: true })
const item = {
title: post.title,
description: post.custom_excerpt || post.meta_description,
description: post.excerpt,
guid: post.id,
url: itemUrl,
date: post.published_at,
Expand Down Expand Up @@ -91,7 +91,7 @@ const generateRSSFeed = function generateRSSFeed(siteConfig) {
updated_at

# SEO
custom_excerpt
excerpt
meta_title
meta_description

Expand Down