Re-add testimonials link

This commit is contained in:
Oliver Davies 2017-03-18 16:07:30 +00:00
parent debcf11439
commit 5a6c4529ef
3 changed files with 8 additions and 1 deletions

View file

@ -2,6 +2,9 @@
+clearfix +clearfix
margin-bottom: 10px margin-bottom: 10px
&__role
color: #777
&__image &__image
@extend .img-circle @extend .img-circle
@extend .pull-right @extend .pull-right

View file

@ -20,6 +20,10 @@
<a href="/experience">Experience</a> <a href="/experience">Experience</a>
</li> </li>
<li class="{{ page.url == '/testimonials' ? 'active' }}">
<a href="/testimonials">Testimonials</a>
</li>
<li class="{{ page.url == '/talks' or '/talks/' in page.url ? 'active' }}"> <li class="{{ page.url == '/talks' or '/talks/' in page.url ? 'active' }}">
<a href="/talks">Talks</a> <a href="/talks">Talks</a>
</li> </li>

View file

@ -103,7 +103,7 @@ use: [posts]
{{ testimonial.role }} {{ testimonial.role }}
</p> </p>
{% elseif testimonial.role and company.name %}{% spaceless %} {% elseif testimonial.role and company.name %}{% spaceless %}
<p class="lead"> <p class="testimonial__role">
{{ testimonial.role }} at {{ testimonial.role }} at
{% if company.url %} {% if company.url %}
<a href="{{ company.url }}" title="{{ company.name }}">{{ company.name }}</a> <a href="{{ company.url }}" title="{{ company.name }}">{{ company.name }}</a>