Skip to content

Commit

Permalink
hakyll doesn't support boolean logic in ifs, try a less elegant approach
Browse files Browse the repository at this point in the history
  • Loading branch information
myShoggoth committed Jun 19, 2023
1 parent ad03c10 commit 6bdf8ae
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions templates/puzzle.html
Expand Up @@ -32,8 +32,13 @@ <h5 class="card-title">
<p>
$rules$
</p>
$if(solve-jcgodart || solve-bremster)$
$if(solve-jcgodart)$
<div>Solve videos:</div>
$else$
$if(solve-bremster)$
<div>Solve videos:</div>
$endif$
$endif$
<ul>
$if(solve-bremster)$
<li><a href="$solve-bremster$">BremSter</a></li>
Expand All @@ -42,6 +47,5 @@ <h5 class="card-title">
<li><a href="$solve-jcgodart$">JC Godart Sudoku</a></li>
$endif$
</ul>
$endif$
</div>
</div>

0 comments on commit 6bdf8ae

Please sign in to comment.