File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,23 +12,25 @@ Would you like your project added to the list? We would!
1212<ul id =" projects-list " >
1313 {% for post in site.posts %}
1414 {% if post.categories contains "projects" %}
15- <li>
16- <div class="project-tile-title">
17- <h4>
18- <a href="{{ site.github.url }}{{ post.url }}">{{ post.title }}</a>
19- </h4>
20- </div>
21- {% assign num_words = 40 %}
22- {% if post.youtube_video_id %}
23- {% assign num_words = 20 %}
24- <a href="{{ site.github.url }}{{ post.url }}">
25- <img class="project-tile-img" src="http://img.youtube.com/vi/{{post.youtube_video_id}}/mqdefault.jpg" />
26- </a>
27- {% endif %}
28- <span class="project-tile-excerpt">
29- {{ post.excerpt | truncatewords: num_words }}
30- </span>
31- </li>
15+ {% unless post.id == '/projects/2014/03/21/Example-Project' %}
16+ <li>
17+ <div class="project-tile-title">
18+ <h4>
19+ <a href="{{ site.github.url }}{{ post.url }}">{{ post.title }}</a>
20+ </h4>
21+ </div>
22+ {% assign num_words = 40 %}
23+ {% if post.youtube_video_id %}
24+ {% assign num_words = 20 %}
25+ <a href="{{ site.github.url }}{{ post.url }}">
26+ <img class="project-tile-img" src="http://img.youtube.com/vi/{{post.youtube_video_id}}/mqdefault.jpg" />
27+ </a>
28+ {% endif %}
29+ <span class="project-tile-excerpt">
30+ {{ post.excerpt | truncatewords: num_words }}
31+ </span>
32+ </li>
33+ {% endunless %}
3234 {% endif %}
3335 {% endfor %}
3436</ul >
You can’t perform that action at this time.
0 commit comments