diff --git a/app/assets/stylesheets/new_styles/_base.scss b/app/assets/stylesheets/new_styles/_base.scss index ccca93cb6..42520e3cb 100644 --- a/app/assets/stylesheets/new_styles/_base.scss +++ b/app/assets/stylesheets/new_styles/_base.scss @@ -99,6 +99,19 @@ a { color : $link-blue } height: 480px; max-width: 100%; } + + .opengraph { + a { + text-decoration: none; + color: #000; + } + h2 { + margin-bottom: 20px; + } + img { + margin-bottom: 20px; + } + } } article { //mood posts diff --git a/app/assets/templates/mood_tpl.jst.hbs b/app/assets/templates/mood_tpl.jst.hbs index dcbe39b47..37b9d8a6e 100644 --- a/app/assets/templates/mood_tpl.jst.hbs +++ b/app/assets/templates/mood_tpl.jst.hbs @@ -7,7 +7,16 @@ {{{o_embed_cache.data.html}}} {{/if}} {{/if}} + {{#if open_graph_cache}} +
+ +

{{{open_graph_cache.title}}}

+ +

{{open_graph_cache.description}}

+
+
+ {{/if}}
{{{headline}}}
{{{body}}}
- \ No newline at end of file +