simplify author name config variable
This commit is contained in:
parent
da53b77037
commit
3cb1e1601c
4 changed files with 11 additions and 12 deletions
|
@ -1,7 +1,7 @@
|
|||
<footer class="footer-min">
|
||||
<div class="text-muted">
|
||||
{% if site.author.name %}
|
||||
{{ site.author.name }}
|
||||
{% if site.author %}
|
||||
{{ site.author }}
|
||||
•
|
||||
{% endif %}
|
||||
{% if page.date %}
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
{%- endfor -%}
|
||||
</ul>
|
||||
<p class="copyright text-muted">
|
||||
{% if site.author.name %}
|
||||
{{ site.author.name }}
|
||||
{% if site.author %}
|
||||
{{ site.author }}
|
||||
•
|
||||
{% endif %}
|
||||
{{ site.time | date: '%Y' }}
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
<title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator | default: '-' }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
||||
|
||||
{% if site.author.name %}
|
||||
<meta name="author" content="{{ site.author.name }}" />
|
||||
{% if site.author %}
|
||||
<meta name="author" content="{{ site.author }}" />
|
||||
{% endif %}
|
||||
|
||||
{% if page.subtitle %}
|
||||
|
@ -96,8 +96,8 @@
|
|||
|
||||
<!-- Twitter summary cards -->
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:site" content="@{{ site.author.twitter }}" />
|
||||
<meta name="twitter:creator" content="@{{ site.author.twitter }}" />
|
||||
<meta name="twitter:site" content="@{{ site.social-network-links.twitter }}" />
|
||||
<meta name="twitter:creator" content="@{{ site.social-network-links.twitter }}" />
|
||||
|
||||
{% if page.meta-title %}
|
||||
<meta name="twitter:title" content="{{ page.meta-title }}" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue