parent
5017b8d4de
commit
15e9828313
|
@ -70,9 +70,9 @@ function layoutDiv() {
|
||||||
} else if (item == 'weibo') {
|
} else if (item == 'weibo') {
|
||||||
el += ' href="https://service.weibo.com/share/share.php?url=' + page.permalink;
|
el += ' href="https://service.weibo.com/share/share.php?url=' + page.permalink;
|
||||||
el += '&title=' + (page.seo_title || (page.title + ' - ' + config.title));
|
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;
|
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 += '&pics=' + page.logo.src;
|
||||||
}
|
}
|
||||||
el += '&summary=' + truncate(page.description || strip_html(page.excerpt || page.content), {length: 120});
|
el += '&summary=' + truncate(page.description || strip_html(page.excerpt || page.content), {length: 120});
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
width: 1rem
|
width: 1rem
|
||||||
height: 1rem
|
height: 1rem
|
||||||
.about-header
|
.about-header
|
||||||
display flex
|
display: flex
|
||||||
justify-content: center
|
justify-content: center
|
||||||
flex-wrap: wrap
|
flex-wrap: wrap
|
||||||
margin: 1.5rem 0
|
margin: 1.5rem 0
|
||||||
|
|
Loading…
Reference in New Issue