Skip to content

Commit

Permalink
Use description for HTML description
Browse files Browse the repository at this point in the history
  • Loading branch information
brent-hoover committed Dec 7, 2016
1 parent a1bae0b commit 42248ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/api/router/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ export const MetaData = {
// discard defaults
DocHead.removeDocHeadAddedTags();

if (product && product.description) {
if (product.description) {
DocHead.addMeta({
name: "description",
content: product.pageTitle.substring(0, 160)
content: product.description.substring(0, 160)
});
}

Expand Down

1 comment on commit 42248ed

@kieckhafer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.