<commit_before><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><commit_msg>Add Twitter cards support in blog posts<commit_after><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>
{'fraction_non_alphanumeric': 0.2246808510638298, 'fraction_numerical': 0.0029787234042553193, 'mean_word_length': 3.8474226804123712, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 56, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3431134', 'n_tokens_mistral': 795, 'n_tokens_neox': 770, 'n_words': 119}