Skip to content

Commit

Permalink
fix: Fix block 'title' defined twice
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Jan 28, 2018
1 parent 3cc6bd2 commit 54ef201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions danube_delta/theme/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ <h2 class="supressed">


{% block og %}
<meta property="og:title" content="{{ self.title() }}">
{% if article.image %}
<meta name="twitter:card" content="summary_large_image">
<meta property="og:description" content="{{ self.title() }}">
Expand Down
2 changes: 1 addition & 1 deletion danube_delta/theme/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="shortcut icon" type="image/x-icon" href="{{ SITEURL }}/favicon.ico">

{% block og %}
<meta property="og:title" content="{% block title %}{{ SITENAME }}{% endblock title %}">
<meta property="og:title" content="{{ self.title() }}">
<meta name="twitter:card" content="summary">
{% if TWITTER_USERNAME_SITE %}
<meta name="twitter:site" content="@{{ TWITTER_USERNAME_SITE }}">
Expand Down

0 comments on commit 54ef201

Please sign in to comment.