<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorator="layout">
<head>
    <title th:inline="text">[[${post.title}]]</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/blog.css}" href="../../../../../../sagan-client/src/css/blog.css" />
</head>
<body>
  <div layout:fragment="header-container"></div>
  <div layout:fragment="content" class="container" th:object="${post}">
    <div class="main-body--wrapper">
      <div class="row-fluid blog--wrapper">
        <article id="content" class="span8 mobile-left-pane" layout:include="blog/_full_post :: full-post" >
        </article>
        <aside id="sidebar" class="span4 mobile-right-pane">
          <div layout:include="blog/_right-pane :: right-pane"></div>
        </aside>
      </div>
    </div>
  </div>
</body>
</html>

<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorator="layout">
<head>
    <title th:inline="text">[[${post.title}]]</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/blog.css}" href="../../../../../../sagan-client/src/css/blog.css" />

    <!-- Twitter card -->
    <meta name="twitter:card" content="summary">
    <meta name="twitter:site" content="@springcentral">
    <meta name="twitter:title" th:content="${post.title}">
    <meta name="twitter:description" th:content="${post.renderedSummary}">
    <meta name="twitter:creator" th:if="${post.author.hasTwitterUsername()}" th:content="'@' + ${post.author.twitterUsername}">
    <meta name="twitter:image:src" th:unless="${#strings.isEmpty(post.author.avatarUrl)}" th:content="${post.author.avatarUrl} + '?s=200'">
</head>
<body>
  <div layout:fragment="header-container"></div>
  <div layout:fragment="content" class="container" th:object="${post}">
    <div class="main-body--wrapper">
      <div class="row-fluid blog--wrapper">
        <article id="content" class="span8 mobile-left-pane" layout:include="blog/_full_post :: full-post" >
        </article>
        <aside id="sidebar" class="span4 mobile-right-pane">
          <div layout:include="blog/_right-pane :: right-pane"></div>
        </aside>
      </div>
    </div>
  </div>
</body>
</html>

Add Twitter cards support in blog posts
Add Twitter cards support in blog posts

Add meta tags to support Twitter summary cards in blog posts.

Fixes #436
