Skip to content

Commit 8b54671

Browse files
committed
Fixed another issue with lj2024 template
1 parent 4d44f89 commit 8b54671

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/templates/src/include/jam_2024_lj_sections.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ <h3 class="f4">Choose a topic.</h3>
341341
<div class="post-content">
342342
<h3 class="f4">Mar 15-17: Learn!</h3>
343343
<p>
344-
{{ if and (eq .Timespans.DaysUntilStart 0) (not .SubmittedProject.Url) }}
344+
{{ if and (eq .Timespans.DaysUntilStart 0) (not .SubmittedProject) }}
345345
<a href="{{ .NewProjectUrl }}">Create a Handmade Network project</a>
346346
{{ else }}
347347
Create a Handmade Network project

src/templates/src/jam_2024_lj_feed.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h2 class="c--theme-gradient-light mb3">Projects</h2>
1818
<div class="ph3 pv4 bb b--rich-gray">
1919
<h2 class="c--theme-gradient-light">All updates</h2>
2020
<p>
21-
See what community members are learning about their topics. You can share your own updates via your <a href="{{ or .SubmittedProject.Url .NewProjectUrl }}">project page</a> or using the <b>!til</b> command on Discord.
21+
See what community members are learning about their topics. You can share your own updates via your <a href="{{ or (and .SubmittedProject .SubmittedProject.Url) .NewProjectUrl }}">project page</a> or using the <b>!til</b> command on Discord.
2222
</p>
2323
<div class="flex flex-column g2 mt3">
2424
{{ template "lj2024-feeditems" .TimelineItems }}

0 commit comments

Comments
 (0)