_includes/header.html in urban-static-0.1.6 vs _includes/header.html in urban-static-0.1.7

- old
+ new

@@ -5,18 +5,28 @@ <div class="row"> <div class="col-md-{{ page.header.width|default:8 }} col-md-offset-{{ page.header.offset|default:2 }}"> <h1 class="brand-heading">{{ page.header.title }}</h1> <p class="sub-head">{{ page.header.subtitle }}</p> - {% if page.header.cta %} <p class="intro-text"> + {% if page.header.cta %} + {% if page.header.cta.first %} + {% for link in page.header.cta %} + <div class="col-xs-12 col-md-{{ 12 | divided_by: forloop.length }}"> + <a type="button" name="button" class="btn btn-lg btn-default" href="{{ link }}"> + {{ page.header.subsubtitle[forloop.index0] }} + </a> + </div> + {% endfor %} + {% else %} <a type="button" name="button" class="btn btn-lg btn-default" href="{{ page.header.cta }}"> - {{ page.header.subsubtitle }} + {{ page.header.subsubtitle }} </a> - </p> + {% endif %} {% else %} - <p class="intro-text">{{ page.header.subsubtitle }}</p> + {{ page.header.subsubtitle }} {% endif %} + </p> {% if page.header.down-arrow %} {% if page.key == "home" %} <a href="#{{ site.site-map[page.key].sections[0] }}" class="btn btn-circle page-scroll"> <i class="fa fa-angle-double-down animated"></i> </a>