build(aio): the the captured h1 as the title for the search index

If there is no title already provided, use the one captured from the renderedContent.
This commit is contained in:
Peter Bacon Darwin
2017-05-30 22:24:54 +03:00
committed by Pete Bacon Darwin
parent 89f317915d
commit dfbbbb5e3e
3 changed files with 39 additions and 9 deletions

View File

@ -55,6 +55,7 @@ module.exports = new Package('angular-base', [
generateKeywordsProcessor.ignoreWordsFile = path.resolve(__dirname, 'ignore.words');
generateKeywordsProcessor.docTypesToIgnore = ['example-region'];
generateKeywordsProcessor.propertiesToIgnore = ['renderedContent'];
})
// Where do we write the output files?