diff --git a/layout/_partials/sidebar/overview.pug b/layout/_partials/sidebar/overview.pug index 52491ec..0f34dd5 100644 --- a/layout/_partials/sidebar/overview.pug +++ b/layout/_partials/sidebar/overview.pug @@ -1,5 +1,5 @@ div(class="author" itemprop="author" itemscope itemtype="http://schema.org/Person") - img(loading="eager" decoding="async" class="image" itemprop="image" alt=author + img(loading="lazy" decoding="async" class="image" itemprop="image" alt=author src=url_for(theme.statics + theme.assets + '/'+ theme.sidebar.avatar)) p(class="name" itemprop="name") != author diff --git a/package.json b/package.json index 499c246..c39f6ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-theme-shokax", - "version": "0.4.1", + "version": "0.4.2", "description": "a hexo theme based on shoka", "main": "index.js", "repository": "https://github.com/theme-shoka-x/hexo-theme-shokaX",