Sha256: ee0ca3024883dd7b76e45d4db65b965cda22b365241a6cfd62d50a3bdea51f40
Contents?: true
Size: 953 Bytes
Versions: 1
Compression:
Stored size: 953 Bytes
Contents
{%- assign hero_data = include.data -%} {%- assign hero_style = "" -%} {%- if hero_data.image -%} {%- assign hero_style = hero_style | append: "background-image: url(" | append: hero_data.image | append: ");" -%} {%- endif -%} {%- if hero_data.height -%} {%- assign hero_style = hero_style | append: "height: " | append: hero_data.height | append: ";" -%} {%- endif -%} <div class="l-hero {%- if hero_data.overflow %} l-hero--overflow{%- endif -%}"> <div class="c-hero" style="{{- hero_style -}}"> {%- if hero_data.title -%} <div class="c-hero__title"> {{- hero_data.title -}} </div> {%- endif -%} {%- if hero_data.description -%} <div class="c-hero__description"> {{- hero_data.description -}} </div> {%- endif -%} {%- if hero_data.links -%} <div class="c-hero__links"> {{- hero_data.links -}} </div> {%- endif -%} </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
databook-theme-0.1.1 | _includes/layout/hero.liquid |