Skip to content

Commit

Permalink
Another attempt at using a global current week variable
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzarrizvi committed Jan 16, 2024
1 parent 3ba20c4 commit 7b2c4b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ UC Berkeley, Spring 2024
</div>
</div>

{% assign announcement = site.announcements | where: 'week', {{ site.current_week }} %}
{{ site.current_week }}
{% assign announcement = site.announcements | where: 'week', site.current_week %}
{{ announcement }}


Expand Down

0 comments on commit 7b2c4b2

Please sign in to comment.