Browse Source

Add TWITTER_USERNAME and GOOGLE_PLUS_PROFILE_URL in _defaults

It will be used for social SEO.

Update #15
Talha Mansoor 11 years ago
parent
commit
1d1b3715ea
1 changed files with 14 additions and 0 deletions
  1. 14 0
      templates/_includes/_defaults.html

+ 14 - 0
templates/_includes/_defaults.html

@@ -54,3 +54,17 @@
 {% set COMMENTS_INTRO = COMMENTS_INTRO %}
 {% endif %}
 
+{# Author's twitter handle. Used in Twitter card meta data #}
+{% if not TWITTER_USERNAME %}
+{% set TWITTER_USERNAME = '' %}
+{% else %}
+{% set TWITTER_USERNAME = TWITTER_USERNAME %}
+{% endif %}
+
+{# Author's Google Plus Profile URL. Used for Google Authorship #}
+{% if not GOOGLE_PLUS_PROFILE_URL %}
+{% set GOOGLE_PLUS_PROFILE_URL = '' %}
+{% else %}
+{% set GOOGLE_PLUS_PROFILE_URL = GOOGLE_PLUS_PROFILE_URL %}
+{% endif %}
+