simplify author name config variable
This commit is contained in:
parent
da53b77037
commit
3cb1e1601c
@ -6,6 +6,9 @@ title: My website
|
|||||||
# Short description of your site
|
# Short description of your site
|
||||||
description: A virtual proof that I'm awesome
|
description: A virtual proof that I'm awesome
|
||||||
|
|
||||||
|
# Your name to show in the footer
|
||||||
|
author: Some Person
|
||||||
|
|
||||||
# --- Local development options ---
|
# --- Local development options ---
|
||||||
# If your website is hosted locally rather than on GitHub, then you need to uncomment the next two parameters to set the url and baseurl
|
# If your website is hosted locally rather than on GitHub, then you need to uncomment the next two parameters to set the url and baseurl
|
||||||
# *** If you're not sure what this mean, then leave this section as it is. Only modify the url and baseurl if you know what you're doing!***
|
# *** If you're not sure what this mean, then leave this section as it is. Only modify the url and baseurl if you know what you're doing!***
|
||||||
@ -39,10 +42,6 @@ round-avatar: true
|
|||||||
|
|
||||||
# --- Footer options --- #
|
# --- Footer options --- #
|
||||||
|
|
||||||
# Change all these values or delete the ones you don't want.
|
|
||||||
author:
|
|
||||||
name: Some Person
|
|
||||||
|
|
||||||
# Select your active Social Network links.
|
# Select your active Social Network links.
|
||||||
# Uncomment the links you want to show in the footer and add your information to each link.
|
# Uncomment the links you want to show in the footer and add your information to each link.
|
||||||
# You can reorder the items to define the link order.
|
# You can reorder the items to define the link order.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<footer class="footer-min">
|
<footer class="footer-min">
|
||||||
<div class="text-muted">
|
<div class="text-muted">
|
||||||
{% if site.author.name %}
|
{% if site.author %}
|
||||||
{{ site.author.name }}
|
{{ site.author }}
|
||||||
•
|
•
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.date %}
|
{% if page.date %}
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
<p class="copyright text-muted">
|
<p class="copyright text-muted">
|
||||||
{% if site.author.name %}
|
{% if site.author %}
|
||||||
{{ site.author.name }}
|
{{ site.author }}
|
||||||
•
|
•
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ site.time | date: '%Y' }}
|
{{ 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>
|
<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 %}
|
{% if site.author %}
|
||||||
<meta name="author" content="{{ site.author.name }}" />
|
<meta name="author" content="{{ site.author }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.subtitle %}
|
{% if page.subtitle %}
|
||||||
@ -96,8 +96,8 @@
|
|||||||
|
|
||||||
<!-- Twitter summary cards -->
|
<!-- Twitter summary cards -->
|
||||||
<meta name="twitter:card" content="summary" />
|
<meta name="twitter:card" content="summary" />
|
||||||
<meta name="twitter:site" content="@{{ site.author.twitter }}" />
|
<meta name="twitter:site" content="@{{ site.social-network-links.twitter }}" />
|
||||||
<meta name="twitter:creator" content="@{{ site.author.twitter }}" />
|
<meta name="twitter:creator" content="@{{ site.social-network-links.twitter }}" />
|
||||||
|
|
||||||
{% if page.meta-title %}
|
{% if page.meta-title %}
|
||||||
<meta name="twitter:title" content="{{ page.meta-title }}" />
|
<meta name="twitter:title" content="{{ page.meta-title }}" />
|
||||||
|
Loading…
Reference in New Issue
Block a user