Permalink
Browse files

Fixed reference to entry

  • Loading branch information...
davidmerfield committed Jan 9, 2019
1 parent eb7e7f6 commit a6322a1c82d6fe79596573f8f7f90dba02c62426
Showing with 4 additions and 1 deletion.
  1. +4 −1 app/build/prepare/index.js
@@ -83,7 +83,10 @@ function Prepare(entry) {
debug(entry.path, "Generated title", entry.title);

debug(entry.path, "Generating summary");
entry.summary = Summary($, metadata.title || entry.title);
// We pass in the metadata title in case it exists to prevent
// a bug which surfaces when the file contains title metadata
// and
entry.summary = Summary($, entry.metadata.title || entry.title);
debug(entry.path, "Generated summary");

debug(entry.path, "Generating teasers");

0 comments on commit a6322a1

Please sign in to comment.