github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/themes/wind/templates/page.html (about) 1 {% extends "base.html" %} 2 3 {% block title %} 4 <title>{% if page.Title %}{{page.Title|truncatechars:50|safe}}{% endif %}{% if page.Node %} / {{page.Node}}{% endif %} - {{SiteName}}</title> 5 {% endblock title %} 6 7 {% block mainland %} 8 <div id="main" class="container"> 9 <div class="row"> 10 <div id="content" class="col-md-12"> 11 <div class="box"> 12 <div class="cell first last"> 13 {% if page.Content %} 14 {% if not (page.Attachment=="") %} 15 {% for img in Split(page.Attachment,",") %} 16 <img src="{{domain47niu}}{{img}}?imageView/2/w/612/q/100" style="display:block;margin-bottom:1em;clear:both;width:100%;height:auto;"/> 17 {% endfor %} 18 <span class="clearfix"></span> 19 {% endif %} 20 {{ page.Content | safe }} 21 {% endif %} 22 </div> 23 </div> 24 </div> 25 </div> 26 </div> 27 {% endblock mainland %}