conf: Support multiple account usernames

This commit is contained in:
joshuadeguzman
2020-07-12 21:24:03 +08:00
parent 6de27ab2c5
commit 1b7e807d85
4 changed files with 12 additions and 9 deletions

View File

@@ -59,20 +59,20 @@
<meta
property="og:site_name"
content="{% if page.title %}{{ page.title | escape }} | {{
site.author.username
site.author.facebook
}}{% else %}{{ site.title | escape }}{% endif %}"
/>
<meta
property="og:title"
content="{% if page.title %}{{ page.title | escape }} | {{
site.author.username
site.author.facebook
}}{% else %}{{ site.title | escape }}{% endif %}"
/>
{% if page.location %}
<meta property="og:type" content="article" />
<meta
property="article:publisher"
content="https://web.facebook.com/{{ site.author.username }}"
content="https://web.facebook.com/{{ site.author.facebook }}"
/>
{% else %}
<meta property="og:type" content="website" />
@@ -105,7 +105,7 @@
<meta
name="twitter:title"
content="{% if page.title %}{{ page.title | escape }} | {{
site.author.username
site.author.twitter
}}{% else %}{{ site.title | escape }}{% endif %}"
/>
<meta
@@ -114,8 +114,8 @@
page.url | remove: 'index.html' | remove: '.html' | absolute_url
}}"
/>
<meta name="twitter:site" content="@{{ site.author.username }}" />
<meta name="twitter:creator" content="@{{ site.author.username }}" />
<meta name="twitter:site" content="@{{ site.author.twitter }}" />
<meta name="twitter:creator" content="@{{ site.author.twitter }}" />
<meta
name="twitter:description"
content="{{