<commit_before>extends layout

block content
  .wrap
    header
      h1#logo Broken Template, Fix me
      nav
        a(href="/") home
        a(href="http://blog.liftsecurity.io") blog
        a.active(href="/advisories") advisories
        a(href="mailto:<EMAIL>") contact
        a(href="http://twitter.com/liftsecurity", data-icon="t")
    section.clearfix
      article!= meta.html

<commit_msg>port advisory view and make vulnerable and patched versions work<commit_after>extends layout

block content
  .content-container(role="main")
    .container
      .row-fluid
        .hero-unit.advisory-detail
          .span8
            .advisory-title
              h1= advisory.meta.title
            i.icon-calendar
            | #{advisory.meta.publish_date}
            .advisory-author
              i.icon-user
              | &nbsp;Credit: #{advisory.meta.author}

          .span4.advisory-right
            .module-name
              a(href='https://npmjs.org/package/#{advisory.meta.module_name}')
                |#{advisory.module_name}
            .module-version Vulnerable: #{advisory.meta.vulnerable_versions}
            .module-version Patched: #{advisory.meta.patched_versions}
          .clearfix

          .advisory-description
            != advisory.html

          #disqus_thread
            script(type="text/javascript").
              var disqus_shortname = 'nodesecurity';
              (function() {
                  var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
                  dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
                  (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
              })();

{'fraction_non_alphanumeric': 0.12577903682719546, 'fraction_numerical': 0.0033994334277620396, 'mean_word_length': 1.9531772575250836, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '71630', 'n_tokens_mistral': 533, 'n_tokens_neox': 506, 'n_words': 83}