More work on perf: CSS contain etc.

This commit is contained in:
Ludwig Schubert
2017-08-29 10:34:00 -07:00
parent 9041141bf8
commit 366a3da552
34 changed files with 475 additions and 908 deletions
+2 -2
View File
@@ -108,12 +108,12 @@ export const Controller = {
frontMatter.mergeFromYMLFrontmatter(data);
const appendix = document.querySelector('distill-appendix');
if (appendix) {
if (appendix && !appendix.getAttribute('prerendered')) {
appendix.frontMatter = frontMatter;
}
const byline = document.querySelector('d-byline');
if (byline) {
if (byline && !byline.getAttribute('prerendered')) {
byline.frontMatter = frontMatter;
}
},