Sha256: d654abdbe07832d4be721c83d0b8df1990bd37b3ad898bfbfac410c727a8a014

Contents?: true

Size: 1.17 KB

Versions: 10

Compression:

Stored size: 1.17 KB

Contents

{% assign type    = page.type | prepend: ' type-' %}
{% assign book    = page.collection | prepend: ' book-' %}
{% assign style   = site.setup.style | replace: ' ','-' | prepend: ' style-' | downcase %}
{% assign chapter = page.chapter | replace: ' ','-' | prepend: ' chapter-' | downcase %}
{% assign topic   = page.topic | prepend: ' topic-' | downcase %}
{% assign title   = page.title | replace: ' ','-' | prepend: ' title-' | downcase %}
{% assign tag     = page.tag | replace: ' ',' tag-' | prepend: ' tag-' %}

<div class="wrap{{ type }}{%- if site.setup.style -%}{{ style }}{%- endif -%}{% if page.collection %}{{ book }}{% endif %}{% if page.chapter %}{{ chapter }}{% endif %}{% if page.topic %}{{ topic }}{% endif %}{{ title }}">
  <div class="stop" id="{% if page.chapter %}{{ page.chapter | replace: ' ','-' | downcase | append: '-' }}{% endif %}{{ page.title | replace: ' ','-' | downcase }}"></div>
{% if page.type == 'chapter' %}
  <div class="area{{ type }}{%- if site.setup.style -%}{{ style }}{%- endif -%}{{ book }}{{ chapter }}">
{% else %}
  <div class="area{{ type }}{%- if site.setup.style -%}{{ style }}{%- endif -%}{% if page.tag %}{{ tag }}{% endif %}">
{% endif %}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
futuro-0.5.7 _includes/html/page/header.liquid
futuro-0.5.6 _includes/html/page/header.liquid
futuro-0.5.5 _includes/html/page/header.liquid
futuro-0.5.4 _includes/html/page/header.liquid
futuro-0.5.3 _includes/html/page/header.liquid
futuro-0.5.2 _includes/html/page/header.liquid
futuro-0.5.1 _includes/html/page/header.liquid
futuro-0.5.0 _includes/html/page/header.liquid
futuro-0.4.9 _includes/html/page/header.liquid
futuro-0.4.8 _includes/html/page/header.liquid