Fix code typo (#190)

* Update about.styl

* Update article_footer.ejs
This commit is contained in:
是一刀斩哒 2022-11-28 11:11:33 +08:00 committed by GitHub
parent 5017b8d4de
commit 15e9828313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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});

View File

@ -17,7 +17,7 @@
width: 1rem
height: 1rem
.about-header
display flex
display: flex
justify-content: center
flex-wrap: wrap
margin: 1.5rem 0