Merge pull request #78 from watkinsmatthewp/master

Only include elements that are specified in modals
main
Jerome Lachaud 7 years ago committed by GitHub
commit d079055fa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 }}">
{% if post.description %}
<p>{{ post.description }}</p> <p>{{ post.description }}</p>
{% endif %}
<ul class="list-inline item-details"> <ul class="list-inline item-details">
{% if post.client %}
<li>Client: <li>Client:
<strong><a href="http://startbootstrap.com">{{ post.client }}</a> <strong><a href="http://startbootstrap.com">{{ post.client }}</a>
</strong> </strong>
</li> </li>
{% endif %}
{% if post.project-date %}
<li>Date: <li>Date:
<strong><a href="http://startbootstrap.com">{{ post.project-date }}</a> <strong><a href="http://startbootstrap.com">{{ post.project-date }}</a>
</strong> </strong>
</li> </li>
{% endif %}
{% if post.category %}
<li>Service: <li>Service:
<strong><a href="http://startbootstrap.com">{{ post.category }}</a> <strong><a href="http://startbootstrap.com">{{ post.category }}</a>
</strong> </strong>
</li> </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