mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Fix QQ share meta information (#450)
* add meta * Update post.njk * Update post.njk
This commit is contained in:
parent
f4969a4e36
commit
a67c5132fc
@ -11,11 +11,16 @@
|
||||
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
|
||||
<meta itemprop="image" content="{{ url_for(theme.avatar.url or theme.images + '/avatar.gif') }}">
|
||||
<meta itemprop="name" content="{{ author }}">
|
||||
<meta itemprop="description" content="{{ description }}">
|
||||
</span>
|
||||
|
||||
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
|
||||
<meta itemprop="name" content="{{ title }}">
|
||||
<meta itemprop="description" content="{{ description }}">
|
||||
</span>
|
||||
|
||||
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
|
||||
<meta itemprop="name" content="{{ page.title + ' | ' + title }}">
|
||||
<meta itemprop="description" content="{{ page.description }}">
|
||||
</span>
|
||||
|
||||
{%- if post.header !== false %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user