mirror of
https://github.com/wassname/template.git
synced 2026-07-11 22:35:24 +08:00
More tests, will start merging now
This commit is contained in:
@@ -9,7 +9,11 @@
|
||||
|
||||
export default function(dom, data) {
|
||||
const article = dom.querySelector('d-article');
|
||||
// const abstract = dom.querySelector('d-abstract');
|
||||
|
||||
if (!article) {
|
||||
console.warn('No d-article tag found!');
|
||||
return;
|
||||
}
|
||||
|
||||
let interstitial = dom.querySelector('d-interstitial');
|
||||
if (!interstitial && data.password) {
|
||||
|
||||
Reference in New Issue
Block a user