~evanj/evanjon.es

ref: b2569bb225045d9d1d9f58c51dbc8cb5a9f79f58 evanjon.es/internal/s/tmpl/html/_aside.html -rw-r--r-- 408 bytes
b2569bb2Evan J Feat(go1.16, embed, Nu Html Checker): Fixing HTML issues as reported by 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{with .Aside.Must}}
<aside>
  <div>
    <div>
      <a href="/">
        <h2 class='site-title'>{{.Val "string1"}}</h2>
      </a>
      <p>{{.Val "desc"}}</p>
      <nav>
        <ul>
          {{range .List "nav"}}
          {{with .Must}}
          <li><a href='{{.Val "slug"}}'>{{.Val "name"}}</a></li>
          {{end}}
          {{end}}
        </ul>
      </nav>
    </div>
  </div>
</aside>
{{end}}