~evanj/cms

ref: 40c0e4fc7f8f794524c1f37f2c5d7355b4985475 cms/internal/s/tmpl/html/_header.html -rw-r--r-- 677 bytes
40c0e4fcEvan M Jones Chore(readme): Removing tag line. 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<header>
  <nav>
    <a href="/">CMS</a>
    <ul>
      {{ if .Space }}
      <li><a href="/">Home</a></li>
      {{ end }}
      {{ if .ContentType }}
      <li><a href="/space/{{ .Space.ID }}">{{ .Space.Name }}</a></li>
      {{ end }}
      {{ if .Hook }}
      <li><a href="/space/{{ .Space.ID }}">{{ .Space.Name }}</a></li>
      {{ end }}
      {{ if .Content }}
      <li><a href="/contenttype/{{ .Space.ID}}/{{ .ContentType.ID }}">{{ .ContentType.Name }}</a></li>
      {{ end }}
      <li><a href="//git.sr.ht/~evanj/cms">Source</a></li>
    </ul>
  </nav>
  <!--
  <h1>A <u>minimalist</u> content management infrastructure for <mark>most</mark>.</h1>
  -->
</header>