diff --git a/layout/_partial/main/article/article_footer.ejs b/layout/_partial/main/article/article_footer.ejs index b049cc9..bad76b5 100644 --- a/layout/_partial/main/article/article_footer.ejs +++ b/layout/_partial/main/article/article_footer.ejs @@ -70,9 +70,9 @@ function layoutDiv() { } else if (item == 'weibo') { el += ' href="https://service.weibo.com/share/share.php?url=' + page.permalink; el += '&title=' + (page.seo_title || (page.title + ' - ' + config.title)); - if (page.latyout == 'post' && page.cover) { + if (page.layout == 'post' && page.cover) { el += '&pics=' + page.cover; - } else if (page.latyout == 'wiki' && page.logo && page.logo.src) { + } else if (page.layout == 'wiki' && page.logo && page.logo.src) { el += '&pics=' + page.logo.src; } el += '&summary=' + truncate(page.description || strip_html(page.excerpt || page.content), {length: 120}); diff --git a/source/css/_layout/tag-plugins/about.styl b/source/css/_layout/tag-plugins/about.styl index 0af7111..6e9e7c5 100644 --- a/source/css/_layout/tag-plugins/about.styl +++ b/source/css/_layout/tag-plugins/about.styl @@ -17,7 +17,7 @@ width: 1rem height: 1rem .about-header - display flex + display: flex justify-content: center flex-wrap: wrap margin: 1.5rem 0