Permalink
Browse files

add zotero metadata to indicate blog post

  • Loading branch information...
paregorios committed May 8, 2018
1 parent f6401df commit 3c6fd3798fd16d9a550388a93729854d51cfa7fa
Showing with 10 additions and 3 deletions.
  1. +5 −3 templates/base_helper.tmpl
  2. +1 −0 templates/post.tmpl
  3. +4 −0 templates/post_helper.tmpl
@@ -3,12 +3,14 @@
<!DOCTYPE html>
<html
\
prefix='\
og: http://ogp.me/ns# article: http://ogp.me/ns/article#
prefix="\
og: http://ogp.me/ns#
article: http://ogp.me/ns/article#
zotero: http://www.zotero.org/namespaces/export# \
%if comment_system == 'facebook':
fb: http://ogp.me/ns/fb# \
%endif
'\
"\
% if is_rtl:
dir="rtl" \
% endif
@@ -26,6 +26,7 @@
% endif
${helper.open_graph_metadata(post)}
${helper.twitter_card_information(post)}
${helper.zotero_additional_metadata(post)}
${helper.meta_translations(post)}
${math.math_styles_ifpost(post)}
</%block>
@@ -83,6 +83,10 @@
%endif
</%def>

<%def name="zotero_additional_metadata(post)">
<meta property="zotero:itemType" content="blogPost"/>
</%def>

### This function is deprecated; use math_helper directly.
<%def name="mathjax_script(post)">
${math.math_scripts_ifpost(post)}

0 comments on commit 3c6fd37

Please sign in to comment.