-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: "Project 1" | ||
due_date: 2024-17-10 | ||
pdf: "/assets/projects/proj1.pdf" | ||
--- |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
title: "Projects" | ||
nav_order: 3 | ||
--- | ||
|
||
# Projects | ||
|
||
{% assign limit_value = 1 %} <!-- Set this to the number of projects to display--> | ||
{% assign sorted_projects = site.projects | sort: 'release_date' %} | ||
{% assign filtered_projects = sorted_projects | slice: 0, limit_value %} | ||
|
||
<!-- Debugging output --> | ||
<!-- <p>Limit Value: {{ limit_value }}</p> | ||
<p>Total Items: {{ total_items }}</p> | ||
<p>Start Index: {{ start_index }}</p> --> | ||
<!-- <p>Sorted projects:</p> | ||
<pre>{{ sorted_projects | inspect }}</pre> --> | ||
<!-- <p>Filtered projects:</p> | ||
<pre>{{ filtered_projects |inspect }}</pre> --> | ||
|
||
{% for proj in filtered_projects %} | ||
## {{ proj.title }} | ||
|
||
<!-- - **Release Date:** {{ proj.release_date | date: "%B %d, %Y" }} --> | ||
- **Due Date:** {{ proj.due_date | date: "%B %d, %Y" }} | ||
- {% if proj.pdf %} **[PDF]({{ proj.pdf }})** {% else %} **PDF:** *To be released* {% endif %} | ||
- {% if proj.sln %} **[Solution]({{ proj.sln }})** {% else %} **Solution:** *To be released* {% endif %} | ||
{% if proj.additional_links %} - **Additional Links:** {% for link in proj.additional_links %} | ||
- [{{ link.name }}]({{ link.link }}) {% endfor %} {% endif %} | ||
|
||
{% endfor %} | ||
|
||
<!-- - {% if proj.gradescope_link %} **[Submit to Gradescope]({{ proj.gradescope_link }})** {% else %} **Submit to Gradescope:** *To be released* {% endif %} --> |