Sha256: e5af25708099a39016caf6513580b0b96ba0176d42e13938d9c5c1565b718a9e

Contents?: true

Size: 1018 Bytes

Versions: 3

Compression:

Stored size: 1018 Bytes

Contents

<!DOCTYPE html>

<html lang="en">
  <head>
    <meta charset="utf-8">

    <title>{{ title | escape }}</title>
    <meta name="description" content="{{ description | escape }}">
    <meta name="author" content="{{ author | escape }}">

    {% for style in styles %}
      {% if style.inline? %}
        {% comment %}
          Style and Script tags, in HTML5, are CDATA.  No escaping needed.
        {% endcomment %}
        <style>{{ style.content }}</style>
      {% else %}
        <link rel="stylesheet" href="{{ style.content | escape }}">
      {% endif %}
    {% endfor %}
  </head>

  <body>
    <div id="container">
      {{ content }}
    </div>

    {% for script in scripts %}
      {% if script.inline? %}
        {% comment %}
          Style and Script tags, in HTML5, are CDATA.  No escaping needed.
        {% endcomment %}
        <script>{{ script.content }}</script>
      {% else %}
        <script src="{{ script.content | escape }}"></script>
      {% endif %}
    {% endfor %}
  </body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brandish-0.1.3 defaults/templates/html.liquid
brandish-0.1.2 defaults/templates/html.liquid
brandish-0.1.1 defaults/templates/html.liquid