Sha256: c1142c31b738da755891d5f4bbce305ecf3ffa50ca3ea78c536193f213784291
Contents?: true
Size: 1.38 KB
Versions: 6
Compression:
Stored size: 1.38 KB
Contents
{% assign style = site.setup.style | replace: ' ','-' | prepend: ' style-' | downcase %} {% assign type = page.type | prepend: ' type-' %} {% assign book = page.collection | prepend: ' book-' %} {% 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-' %} {% assign id1 = page.chapter | replace: ' ','-' | append: '-' %} {% assign id2 = page.title | replace: ' ','-' %} {% assign id = id1 | append: id2 | downcase %} <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="block stop" id="{{ id }}"></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
6 entries across 6 versions & 1 rubygems