Sha256: 998d660d469f7695ca47796db1a9604cf5c4583994fdddcdadf62d7154335d2d

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

{% assign type    = page.type | prepend: ' type-' %}
{% assign book    = page.collection | prepend: ' book-' %}
{% assign setup   = site.setup.type | replace: ' ','-' | prepend: ' setup-' | 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 }}{{ setup }}{% 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 }}{{ setup }}{{ book }}{{ chapter }}">
{% else %}
  <div class="area{{ type }}{{ setup }}{% if page.tag %}{{ tag }}{% endif %}">
{% endif %}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
futuro-0.4.7 _includes/html/page/header.liquid
futuro-0.4.6 _includes/html/page/header.liquid
futuro-0.4.5 _includes/html/page/header.liquid
futuro-0.4.4 _includes/html/page/header.liquid
futuro-0.4.3 _includes/html/page/header.liquid
futuro-0.4.2 _includes/html/page/header.liquid