Skip to content

Latest commit

 

History

History
67 lines (61 loc) · 1.69 KB

projects.md

File metadata and controls

67 lines (61 loc) · 1.69 KB
layout page
title Projects
permalink /projects/
description Under construction.
nav true
nav_order 4
show_page_title false
display_categories
work
fun
horizontal false

{% comment %}

{% if site.enable_project_categories and page.display_categories %} {% for category in page.display_categories %} {% assign categorized_projects = site.projects | where: "category", category %} {% assign sorted_projects = categorized_projects | sort: "importance" %} {% if page.horizontal %}
{% for project in sorted_projects %} {% include projects_horizontal.liquid %} {% endfor %}
{% else %}
{% for project in sorted_projects %} {% include projects.liquid %} {% endfor %}
{% endif %} {% endfor %}

{% else %}

{% assign sorted_projects = site.projects | sort: "importance" %}

{% if page.horizontal %}

{% for project in sorted_projects %} {% include projects_horizontal.liquid %} {% endfor %}
{% else %}
{% for project in sorted_projects %} {% include projects.liquid %} {% endfor %}
{% endif %} {% endif %}
{% endcomment %}