diff options
-rw-r--r-- | chimere/templates/base.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chimere/templates/base.html b/chimere/templates/base.html index 5d1a67f..c967b81 100644 --- a/chimere/templates/base.html +++ b/chimere/templates/base.html @@ -7,7 +7,8 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">{% endif %} {% block og %} - <meta property="og:title" content="{{PROJECT_NAME}}" /> + <meta property="og:title" + content="{{PROJECT_NAME}}{% if current_feature %} - {{current_feature.name|cut:'"'}}{% endif %}" /> <meta property="og:type" content="article" /> {% if current_feature %} <meta property="og:url" content="{{current_site}}{% if tiny %}/ty/{{tiny}}{% endif %}" /> @@ -15,7 +16,7 @@ <meta property="og:image" content="{{current_site}}{{current_feature.image.picture.url}}" /> {% endif %} <meta property="og:description" - content="{{current_feature.text_description}}" /> + content="{{current_feature.text_description|cut:'"'}}" /> {% else %} <meta property="og:url" content="{{current_site}}" /> {% endif %} |