diff --git a/layout/includes/third-party/subtitle.pug b/layout/includes/third-party/subtitle.pug index d7cec58..9236757 100644 --- a/layout/includes/third-party/subtitle.pug +++ b/layout/includes/third-party/subtitle.pug @@ -1,7 +1,4 @@ -- const { effect,loop,source,sub } = theme.subtitle -- const startDelay = theme.subtitle.startDelay ?? 300 -- const typeSpeed = theme.subtitle.typeSpeed ?? 150 -- const backSpeed = theme.subtitle.backSpeed ?? 50 +- const { effect,loop,source,sub,startDelay,typeSpeed,backSpeed } = theme.subtitle - let subContent = sub || new Array() case source