浏览代码

Add subtitle to hero include. Workson #90

Edd Baldry 8 年之前
父节点
当前提交
1a7345cd96
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      bakerydemo/templates/base/include/header-hero.html

+ 6 - 0
bakerydemo/templates/base/include/header-hero.html

@@ -8,6 +8,9 @@
             <div class="row">
             <div class="row">
                 <div class="col-md-7">
                 <div class="col-md-7">
                     <h1>{{ page.title }}</h1>
                     <h1>{{ page.title }}</h1>
+                    {% if page.subtitle %}
+                        <p class="stand-first">{{ page.subtitle }}</p>
+                    {% endif %}
                 </div>
                 </div>
             </div>
             </div>
         </div>
         </div>
@@ -17,6 +20,9 @@
         <div class="row">
         <div class="row">
             <div class="col-md-7">
             <div class="col-md-7">
                 <h1>{{ page.title }}</h1>
                 <h1>{{ page.title }}</h1>
+                {% if page.subtitle %}
+                    <p class="stand-first">{{ page.subtitle }}</p>
+                {% endif %}
             </div>
             </div>
         </div>
         </div>
     </div>
     </div>