Sha256: e4e2ab533dac2e0aa255a742620509f5037c81dd13cd4831e07d734b5352293b

Contents?: true

Size: 1.04 KB

Versions: 13

Compression:

Stored size: 1.04 KB

Contents

{% assign type    = page.type | prepend: ' type-' %}
{% assign book    = page.collection | prepend: ' book-' %}
{% assign setup   = site.setup | 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

13 entries across 13 versions & 1 rubygems

Version Path
futuro-0.4.1 _includes/html/page/header.liquid
futuro-0.4.0 _includes/html/page/header.liquid
futuro-0.3.9 _includes/html/page/header.liquid
futuro-0.3.8 _includes/html/page/header.liquid
futuro-0.3.7 _includes/html/page/header.liquid
futuro-0.3.6 _includes/html/page/header.liquid
futuro-0.3.5 _includes/html/page/header.liquid
futuro-0.3.4 _includes/html/page/header.liquid
futuro-0.3.3 _includes/html/page/header.liquid
futuro-0.3.2 _includes/html/page/header.liquid
futuro-0.3.1 _includes/html/page/header.liquid
futuro-0.3.0 _includes/html/page/header.liquid
futuro-0.2.9 _includes/html/page/header.liquid