Only include elements that are specified

main
Matthew Watkins 7 years ago
parent 89d407fb98
commit 95fab36237

@ -15,20 +15,28 @@
<h2>{{ post.title }}</h2> <h2>{{ post.title }}</h2>
<hr class="star-primary"> <hr class="star-primary">
<img src="img/portfolio/{{ post.img }}" class="img-responsive img-centered" alt="{{ post.alt }}"> <img src="img/portfolio/{{ post.img }}" class="img-responsive img-centered" alt="{{ post.alt }}">
<p>{{ post.description }}</p> {% if post.description %}
<p>{{ post.description }}</p>
{% endif %}
<ul class="list-inline item-details"> <ul class="list-inline item-details">
<li>Client: {% if post.client %}
<strong><a href="http://startbootstrap.com">{{ post.client }}</a> <li>Client:
</strong> <strong><a href="http://startbootstrap.com">{{ post.client }}</a>
</li> </strong>
<li>Date: </li>
<strong><a href="http://startbootstrap.com">{{ post.project-date }}</a> {% endif %}
</strong> {% if post.project-date %}
</li> <li>Date:
<li>Service: <strong><a href="http://startbootstrap.com">{{ post.project-date }}</a>
<strong><a href="http://startbootstrap.com">{{ post.category }}</a> </strong>
</strong> </li>
</li> {% endif %}
{% if post.category %}
<li>Service:
<strong><a href="http://startbootstrap.com">{{ post.category }}</a>
</strong>
</li>
{% endif %}
</ul> </ul>
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
</div> </div>

Loading…
Cancel
Save