diff --git a/app/assets/templates/mood_tpl.jst.hbs b/app/assets/templates/mood_tpl.jst.hbs index 37b9d8a6e..739e23565 100644 --- a/app/assets/templates/mood_tpl.jst.hbs +++ b/app/assets/templates/mood_tpl.jst.hbs @@ -6,15 +6,16 @@ {{#if o_embed_cache.data}} {{{o_embed_cache.data.html}}} {{/if}} - {{/if}} - {{#if open_graph_cache}} -
- -

{{{open_graph_cache.title}}}

- -

{{open_graph_cache.description}}

-
-
+ {{else}} + {{#if open_graph_cache}} +
+ +

{{{open_graph_cache.title}}}

+ +

{{open_graph_cache.description}}

+
+
+ {{/if}} {{/if}}
{{{headline}}}
diff --git a/app/assets/templates/opengraph_tpl.jst.hbs b/app/assets/templates/opengraph_tpl.jst.hbs index 634c6b8d4..15da820eb 100644 --- a/app/assets/templates/opengraph_tpl.jst.hbs +++ b/app/assets/templates/opengraph_tpl.jst.hbs @@ -1,9 +1,11 @@ -{{#if open_graph_cache}} - -
- - {{open_graph_cache.title}} -

{{open_graph_cache.description}}

-
-
-{{/if}} +{{#unless o_embed_cache}} + {{#if open_graph_cache}} + +
+ + {{open_graph_cache.title}} +

{{open_graph_cache.description}}

+
+
+ {{/if}} +{{/unless}}