Skip to content

Commit

Permalink
fixes "and not" bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sathish-t committed Dec 6, 2023
1 parent b42ee90 commit 86d18e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lectures/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ title: Lectures
<th>Title</th>
</tr>
{% for lecture in site.pages %}
{% if lecture.layout == 'page' and lecture.element == 'lecture' and not lecture.title contains "Template" %}
{% if lecture.layout == 'page' and lecture.element == 'lecture' %}
{% unless lecture.title contains "Template" %}
<tr>
<td nowrap><a href="{{ lecture.url | prepend: site.baseurl }}">
{{ lecture.title }}</a></td>
</tr>
{% endunless %}
{% endif %}
{% endfor %}
</table>

0 comments on commit 86d18e4

Please sign in to comment.