diff --git a/templates/macro/content-links.html b/templates/macro/content-links.html index 78dc319a..dcd07c32 100644 --- a/templates/macro/content-links.html +++ b/templates/macro/content-links.html @@ -20,6 +20,8 @@ data-sizes="auto" class="lazyload" th:classappend="${theme.config.random_image.rimage_cover_lqip == 'lowquality' ? 'blur-up' : ''}" - alt="" + alt="thumbnail of the cover of the post" + width="430" + height="300" onerror="imgError(this)" /> class="lazyload" th:src="${#theme.assets('/images/load/orange.progress-bar-stripe-loader.svg')}" th:data-src="${#theme.assets('/images/default/temp.webp')}" - alt="" + alt="thumbnail of the cover of the post" + width="430" + height="300" onerror="imgError(this)" /> diff --git a/templates/macro/content.html b/templates/macro/content.html index 2d858fb3..a48cf8ed 100644 --- a/templates/macro/content.html +++ b/templates/macro/content.html @@ -25,12 +25,12 @@ diff --git a/templates/macro/page-header.html b/templates/macro/page-header.html index 9d7ec606..14e7f515 100644 --- a/templates/macro/page-header.html +++ b/templates/macro/page-header.html @@ -23,7 +23,9 @@ th:attr="data-src=${frontCover}" th:src="${#theme.assets('/images/load/orange.progress-bar-stripe-loader.svg')}" itemprop="contentUrl" - alt="" + alt="large picture of the cover" + width="1920" + height="400" /> @@ -45,7 +47,9 @@ th:classappend="${theme.config.random_image.rimage_cover_lqip == 'lowquality' ? 'blur-up' : ''}" onerror="imgError(this)" itemprop="contentUrl" - alt="" + alt="large picture of the cover" + width="1920" + height="400" /> diff --git a/templates/module/authorprofile.html b/templates/module/authorprofile.html index e5fb2bb2..0b1801a2 100644 --- a/templates/module/authorprofile.html +++ b/templates/module/authorprofile.html @@ -6,6 +6,8 @@ th:src="${post.owner.avatar ?: #theme.assets('/images/default/avatar.webp')}" itemprop="image" th:alt="${post.owner.displayName}" + width="70" + height="70" />
diff --git a/templates/module/feature.html b/templates/module/feature.html index 09629469..8e3be339 100644 --- a/templates/module/feature.html +++ b/templates/module/feature.html @@ -16,7 +16,13 @@

- + cover picture of focusing on content

diff --git a/templates/module/footer.html b/templates/module/footer.html index ee45d441..2151309b 100644 --- a/templates/module/footer.html +++ b/templates/module/footer.html @@ -2,8 +2,8 @@ - \ No newline at end of file + diff --git a/templates/module/header/brand.html b/templates/module/header/brand.html index fe4c01e9..04d99aad 100644 --- a/templates/module/header/brand.html +++ b/templates/module/header/brand.html @@ -2,7 +2,7 @@

diff --git a/templates/module/header/user.html b/templates/module/header/user.html index ad824888..67e326b9 100644 --- a/templates/module/header/user.html +++ b/templates/module/header/user.html @@ -3,7 +3,12 @@ th:with="currentUser = ${contributorFinder.getContributor(#authentication.name)}" th:fragment="user" > - + user avatar
diff --git a/templates/module/home/focus_tou.html b/templates/module/home/focus_tou.html index 1fa67af6..fb2260ac 100644 --- a/templates/module/home/focus_tou.html +++ b/templates/module/home/focus_tou.html @@ -2,8 +2,20 @@ @@ -15,4 +27,4 @@ th:text="${theme.config.mainScreen.glitch_text}" >

- \ No newline at end of file + diff --git a/templates/module/home/img_box.html b/templates/module/home/img_box.html index 366f0558..5977a769 100644 --- a/templates/module/home/img_box.html +++ b/templates/module/home/img_box.html @@ -13,7 +13,9 @@ th:data-url="${imageUrl}" th:data-currIndex="${randomNum}" class="lazyload cover-bg lazyload blur-up bg-change-js" - alt="" + alt="background picture of the home page" + width="1920" + height="1080" onerror="imgError(this)" />
@@ -24,7 +26,9 @@ @@ -43,11 +47,11 @@
  • - prev + prev
  • - next + next
diff --git a/templates/module/home/top_social.html b/templates/module/home/top_social.html index c197d18c..253367e5 100644 --- a/templates/module/home/top_social.html +++ b/templates/module/home/top_social.html @@ -14,13 +14,13 @@ - sns + sns - sns + sns diff --git a/templates/module/post-pagination.html b/templates/module/post-pagination.html index e5005532..2c4e38fb 100644 --- a/templates/module/post-pagination.html +++ b/templates/module/post-pagination.html @@ -16,7 +16,9 @@ class="lazyload" th:src="${#theme.assets('/images/load/orange.progress-bar-stripe-loader.svg')}" th:data-src="${postCursor.previous.spec.cover}" - alt="" + alt="The cover picture of the previous content" + height="160" + width="390" onerror="imgError(this)" /> @@ -62,7 +68,9 @@

class="lazyload" th:src="${#theme.assets('/images/load/orange.progress-bar-stripe-loader.svg')}" th:data-src="${postCursor.next.spec.cover}" - alt="" + alt="The cover picture of the next content" + height="160" + width="390" onerror="imgError(this)" />

data-sizes="auto" class="lazyload" th:classappend="${theme.config.random_image.rimage_cover_lqip == 'lowquality' ? 'blur-up' : ''}" - alt="" + alt="The cover picture of the next content" + height="160" + width="390" onerror="imgError(this)" />

class="lazyload" th:src="${#theme.assets('/images/load/orange.progress-bar-stripe-loader.svg')}" th:data-src="${#theme.assets('/images/default/temp.webp')}" - alt="" + alt="The cover picture of the next content" + height="160" + width="390" onerror="imgError(this)" /> diff --git a/templates/module/post/post-meta.html b/templates/module/post/post-meta.html index 6ab6164c..c8dbc282 100644 --- a/templates/module/post/post-meta.html +++ b/templates/module/post/post-meta.html @@ -3,12 +3,23 @@
diff --git a/templates/module/sharelike.html b/templates/module/sharelike.html index 68b0d12f..bfa35683 100644 --- a/templates/module/sharelike.html +++ b/templates/module/sharelike.html @@ -13,7 +13,7 @@ data-i18n="[title]share.weibo" aria-label="Social Network - weibo" > - weibo + weibo
  • @@ -24,7 +24,7 @@ data-i18n="[title]share.qq" aria-label="Social Network - qq" > - qq + qq
  • @@ -42,7 +42,7 @@

  • - wechat + wechat
  • @@ -53,7 +53,7 @@

    data-i18n="[title]share.douban" aria-label="Social Network - douban" > - douban + douban
  • @@ -64,7 +64,7 @@

    data-i18n="[title]share.qzone" aria-label="Social Network - qzone" > - qzone + qzone
  • @@ -75,7 +75,7 @@

    data-i18n="[title]share.linkedin" aria-label="Social Network - linkedin" > - linkedin + linkedin
  • diff --git a/templates/module/sidebar/mobile-sidebar.html b/templates/module/sidebar/mobile-sidebar.html index 23ec500f..70e2d52a 100644 --- a/templates/module/sidebar/mobile-sidebar.html +++ b/templates/module/sidebar/mobile-sidebar.html @@ -1,7 +1,12 @@
    - + site logo

    - sns + sns - sns + sns

    diff --git a/templates/moments.html b/templates/moments.html index f1364287..9c818a44 100644 --- a/templates/moments.html +++ b/templates/moments.html @@ -28,6 +28,8 @@

    th:alt="${moment.owner.displayName}" onerror="imgError(this)" th:src="${#theme.assets('/images/load/trans.ajax-spinner-preloader.svg')}" + width="48" + height="48" />
    @@ -44,8 +46,16 @@

    th:if="${momentItem.type.name == 'PHOTO'}" th:src="${#strings.isEmpty(momentItem.url) ? #theme.assets('/images/load/load.gif') : momentItem.url}" th:data-src="${momentItem.url}" + width="400" + height="400" + alt="moment picture" /> - +
    -
    +