un-quote class name not requiring quotes
This commit is contained in:
parent
c5f99ec212
commit
4f2f2bb3fd
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ defmodule SloaneSH.Layouts.Partials do
|
|||
<header class="flex flex-col gap-2">
|
||||
<a href="/"><h1 class="text-xl">sloane.sh</h1></a>
|
||||
<nav class="flex flex-row gap-2">
|
||||
<a href="/" class="<%= cx("underline": attrs[:permalink] == "/") %>">home</a>
|
||||
<a href="/about" class="<%= cx("underline": attrs[:permalink] == "/about") %>">about</a>
|
||||
<a href="/" class="<%= cx(underline: attrs[:permalink] == "/") %>">home</a>
|
||||
<a href="/about" class="<%= cx(underline: attrs[:permalink] == "/about") %>">about</a>
|
||||
</nav>
|
||||
</header>
|
||||
""",
|
||||
|
|
Loading…
Reference in a new issue