Commits

Rafael Martins committed ec321b9

fix opengraph title

  • Participants
  • Parent commits 960b247

Comments (0)

Files changed (1)

blohg/templates/_posts.html

 <meta prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article#" />
 <meta property="og:site_name" content="{{ config.TITLE }}" />
 <meta property="og:url" content="{{ request.url }}" />
-<meta property="og:title" content="{% if meta and meta.title %}{{
-    meta.title }}{% else %}{{ config.TITLE }}{% endif %}" />
+<meta property="og:title" content="{{ config.TITLE }}{% if title %} » {{
+    title }}{% endif %}" />
 <meta property="og:description" content="{% if meta and meta.description %}{{
     meta.description }}{% elif tag %}Tag: {{ ' + '.join(tag) }}{% else %}{{
     config.TAGLINE }}{% endif %}" />