Sha256: 7ee1a3864670dc7a060da30484e7720011bfe3ec292b4bdd7f3e1f83de3a3856

Contents?: true

Size: 730 Bytes

Versions: 9

Compression:

Stored size: 730 Bytes

Contents

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    {% if node.title %}<title>{{ node.title }}</title>{% endif %}
  </head>
  <body>
    {%- if node.title -%}
      <header>
        <h1>{{ node.title }}</h1>
        {% if node.subtitle %}<p class="subtitle">{{ node.subtitle }}</p>{% endif %}
        {%- if node.authors.size > 0 -%}
          {%- for author in node.authors -%}
            <p class="author">{{ author.name }}</p>
          {%- endfor -%}
        {%- endif -%}
      </header>
    {%- endif -%}

    {% if node.attributes.toc %}
      <nav class="toc">
        <h1>{{ node.attributes.toc-title }}</h1>
        {{ node.outline }}
      </nav>
    {% endif %}

    {{ node.content }}
  </body>
</html>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
asciibook-0.1.0 templates/document.html
asciibook-0.1.0.pre.beta templates/document.html
asciibook-0.0.5 templates/document.html
asciibook-0.0.4 templates/document.html
asciibook-0.0.3 templates/document.html
asciibook-0.0.2 templates/document.html
asciibook-0.0.2.beta2 templates/document.html
asciibook-0.0.2.beta1 templates/document.html
asciibook-0.0.1 templates/document.html