Skip to content

Commit

Permalink
Fix incorrect OpenGraph article tags
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed May 29, 2017
1 parent 4728104 commit 346bb93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bulrush/templates/meta_tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
<meta property="og:site_name" content="{{ SITENAME }}">
<meta property="og:type" content="article">
{% if item.date %}
<meta property="article:published" content="{{ item.date.isoformat() }}">
<meta property="article:published_time" content="{{ item.date.isoformat() }}">
{% endif %}
{% if item.modified %}
<meta property="article:published" content="{{ item.modified.isoformat() }}">
<meta property="article:modified_time" content="{{ item.modified.isoformat() }}">
{% endif %}
{% if item.tags %}
{% for tag in item.tags %}
<meta property="article:tags" content="{{ tag.name }}">
<meta property="article:tag" content="{{ tag.name }}">
{% endfor %}
{% endif %}
{% if item.category %}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
test_suite='tests',
tests_require=['pelican'],
url='https://github.com/textbook/bulrush',
version='0.0.6',
version='0.0.7',
)

0 comments on commit 346bb93

Please sign in to comment.