Skip to content

Commit b05f151

Browse files
committed
Ignore projects with no date_head #40
1 parent 981d591 commit b05f151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stm_html_ui/templates/dev.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h5><small>Software Developer</small></h5>
8484
{% if user.report.projects_included %}
8585
<h3 class="mt-4">Projects</h3>
8686
<ul class="list-inline">
87-
{% for proj in user.report.projects_included | sort(attribute="date_head") | reverse %}
87+
{% for proj in user.report.projects_included | filter(attribute="date_head") | sort(attribute="date_head") | reverse %}
8888
{% if proj.loc > 0 %}
8989
<li class="pe-4 mb-4 .text-nowrap list-inline-item">
9090
<div class="card" style="width: 20rem;">

0 commit comments

Comments
 (0)