aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Just-Read/templates/base.html32
1 files changed, 16 insertions, 16 deletions
diff --git a/Just-Read/templates/base.html b/Just-Read/templates/base.html
index 715b8c4..8b980b5 100644
--- a/Just-Read/templates/base.html
+++ b/Just-Read/templates/base.html
@@ -31,19 +31,19 @@
<meta property="og:published_time" content="{{article.date}}" />
<meta property="og:title" content="{{article.title}}" />
<meta property="og:url" content="{{SITEURL}}/{{ article.url }}" />
- {% if article.featured_image %}
+ {% if article.featured_image %}
<meta property="og:image" content="{{ article.featured_image }}" />
- {% endif %}
- {%if DESCRIPTION %}
+ {% endif %}
+ {%if DESCRIPTION %}
<meta property="og:description" content="{{DESCRIPTION}} " />
<meta name="description" content="{{DESCRIPTION}}" />
- {%else %}
+ {%else %}
<meta property="og:description" content="{{article.summary|striptags}}" />
<meta name="description" content="{{article.summary|striptags}}" />
- {% endif %}
- {%if FACEBOOK_PROFILE_URL %}
+ {% endif %}
+ {%if FACEBOOK_PROFILE_URL %}
<meta property="article:author" content="{{FACEBOOK_PROFILE_URL}}" />
- {% endif %}
+ {% endif %}
{% elif page %}
<meta name="twitter:title" content="{{page.title}}" />
<meta name="date" content="{{page.date}}" />
@@ -52,28 +52,28 @@
<meta property="og:published_time" content="{{page.date}}" />
<meta property="og:title" content="{{page.title}}" />
<meta property="og:url" content="{{SITEURL}}/{{ page.url }}" />
- {% if page.featured_image %}
+ {% if page.featured_image %}
<meta property="og:image" content="{{ page.featured_image }}" />
- {% endif %}
- {%if DESCRIPTION %}
+ {% endif %}
+ {%if DESCRIPTION %}
<meta property="og:description" content="{{DESCRIPTION}} " />
<meta name="description" content="{{DESCRIPTION}}" />
- {%else %}
+ {%else %}
<meta property="og:description" content="{{page.summary|striptags}}" />
<meta name="description" content="{{page.summary|striptags}}" />
- {% endif %}
+ {% endif %}
{% else %}
<meta name="twitter:title" content="{{SITENAME}}" />
<meta property="og:type" content="website" />
- {% if DEFAULT_LANG %}
+ {% if DEFAULT_LANG %}
<meta property="og:locale" content="{{DEFAULT_LANG}}" />
- {% endif %}
+ {% endif %}
<meta property="og:title" content="{{SITENAME}}" />
<meta property="og:url" content="{{SITEURL}}/{{ output_file }}" />
- {%if DESCRIPTION %}
+ {%if DESCRIPTION %}
<meta property="og:description" content="{{DESCRIPTION}} " />
<meta name="description" content="{{DESCRIPTION}}" />
- {% endif %}
+ {% endif %}
{% endif %}
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />