Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename og:image target #2217

Merged
merged 2 commits into from Jun 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -2,7 +2,7 @@

## Current (in progress)

- Nothing yet
- Rename og:image target :warning: this will break your custom theme, please rename your logo image file to `logo-social.png` instead of `logo-600x600.png` [#2217](https://github.com/opendatateam/udata/pull/2217)

## 1.6.12 (2019-06-26)

Expand Down
2 changes: 1 addition & 1 deletion udata/templates/macros/metadata.html
@@ -1,7 +1,7 @@
{% macro metadata(meta) %}
{% set title = meta.title or _('Home') %}
{% set description = meta.description or _('Share, improve and reuse public data') %}
{% set image = meta.image or theme_static('img/logo-600x600.png', external=True) %}
{% set image = meta.image or theme_static('img/logo-social.png', external=True) %}
{% set keywords = meta.keywords or [] %}
{% set meta_type = meta.type or 'website' %}
<meta charset="utf-8" />
Expand Down