Move posts to top on lite mode
This commit is contained in:
parent
3d84fe1c7b
commit
67eecb9f16
|
@ -12,6 +12,15 @@ Lead Hardware Engineer at Critical Control, 2016-2018
|
|||
Electrical Engineer at Opener Aero, 2016-2016
|
||||
BSc. Electrical Engineering from University of Calgary
|
||||
|
||||
Posts
|
||||
|
||||
{% for article in articles_page.object_list if article.category.name == 'Writing' %}
|
||||
{% if loop.index <= 4 %}
|
||||
<a href={{ article.url }}>{{ article.title }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<a href=x>[more]</a>
|
||||
|
||||
Projects
|
||||
|
||||
{% for article in articles_page.object_list|selectattr('category.name', '==', 'Projects')|sort(attribute='order') %}
|
||||
|
@ -29,12 +38,3 @@ Creations
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
<a href=z>[more]
|
||||
</a>
|
||||
Writing
|
||||
|
||||
{% for article in articles_page.object_list if article.category.name == 'Writing' %}
|
||||
{% if loop.index <= 4 %}
|
||||
<a href={{ article.url }}>{{ article.title }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<a href=x>[more]
|
||||
|
|
Loading…
Reference in New Issue
Block a user