cyberark/secretless-broker

View on GitHub
docs/_layouts/post.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="en-us">

  {% include head.html %}

  <body>

    {% include top_nav.html %}

    <div class="container">
      <div class="row">
        <div class="col-md-10 offset-md-1">
          <article class="post-single">
              {% if page.image %}
                <img class="post-image" src="{{ base.url }}/img/blog/{{ page.image }}" alt="{{ page.image-alt }}">
              {% endif %}
              <header class="post-header">
                <h1 class="post-title">{{ page.title | escape }}</h1>
                <p class="post-meta">
                  Published <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">
                    {%- assign date_format = site.minima.date_format | default: "%B %-d, %Y" -%}
                    {{ page.date | date: date_format }}
                  </time>
                  {%- if page.author -%}
                    by <span>{{ page.author }}</span>
                  {%- endif -%}</p>
              </header>
            
              <div class="post-content">
                {{ content }}
              </div>
            
              <br />
              <br />
            
              <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
            </article>
        </div>
      </div>
    </div>

    {% include footer.html %}

  </body>
</html>