diff --git a/templates/album.html b/templates/album.html
index 94961ce7..05c2d856 100644
--- a/templates/album.html
+++ b/templates/album.html
@@ -42,7 +42,7 @@
[[${theme.config.photos.bigTitle}]]
-
+
{
function ($0, $1) {
var str = $1.split(",",4);
contents += `
-
-
+
diff --git a/templates/assets/js/main.js b/templates/assets/js/main.js
index 6230b404..a2688f03 100644
--- a/templates/assets/js/main.js
+++ b/templates/assets/js/main.js
@@ -131,13 +131,8 @@ document.addEventListener('DOMContentLoaded', function () {
ele.each(function (i, o) {
const $this = $(o)
const lazyloadSrc = $this.attr('data-lazy-src') || $this.attr('src')
- const lazyloadSrc1600 = lazyloadSrc + '_1600w'
const dataCaption = $this.attr('alt') || ''
- if (lazyloadSrc.indexOf('!blogimg') != -1) {
- $this.wrap(``)
- } else {
- $this.wrap(``)
- }
+ $this.wrap(``)
})
@@ -163,7 +158,7 @@ document.addEventListener('DOMContentLoaded', function () {
const jqLoadAndRun = () => {
const $fancyboxEle = GLOBAL_CONFIG.lightbox === 'fancybox'
- ? document.querySelectorAll('#article-container :not(a):not(.gallery-group):not(.site-card-avatar):not(.flink-item-info):not(.rss-plan-info-group):not(.bangumi-picture):not(.introduction-card) > img, #article-container > img,.bber-container-img > img')
+ ? document.querySelectorAll('#article-container :not(a):not(.rss-plan-info-group):not(.no-lightbox) > img, #article-container > img,.bber-container-img > img')
: []
const fbLengthNoZero = $fancyboxEle.length > 0
const $jgEle = document.querySelectorAll('#article-container .gallery')
diff --git a/templates/assets/js/utils.js b/templates/assets/js/utils.js
index 2bbb75c6..1c003e51 100644
--- a/templates/assets/js/utils.js
+++ b/templates/assets/js/utils.js
@@ -89,9 +89,6 @@ var btf = {
}
}
-
-
-
/**
* fancybox
*/
@@ -100,14 +97,8 @@ var btf = {
ele.each(function (i, o) {
const $this = $(o)
const lazyloadSrc = $this.attr('data-lazy-src') || $this.attr('src')
- const lazyloadSrc1600 = lazyloadSrc + '_1600w'
const dataCaption = $this.attr('alt') || ''
- if (lazyloadSrc.indexOf('!blogimg') != -1) {
- $this.wrap(``)
- } else {
- $this.wrap(``)
- }
-
+ $this.wrap(``)
})
$().fancybox({
diff --git a/templates/macro/bangumi-item.html b/templates/macro/bangumi-item.html
index e1930676..b83ed476 100644
--- a/templates/macro/bangumi-item.html
+++ b/templates/macro/bangumi-item.html
@@ -2,7 +2,7 @@
-
+
![]()
-
+
![]()
-