mirror of
https://github.com/wassname/template.git
synced 2026-07-29 11:28:36 +08:00
More work on perf: CSS contain etc.
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user