|
123456789101112131415161718192021222324252627282930313233 |
- {{ define "main" }}
- <article>
- <h1>{{ .Title }}</h1>
- <p class=byline>Collected by <a href=/>{{ .Site.Params.AuthorName }}</a>.</p>
- {{ .Content }}
-
- <h2>Categories</h2>
- <ul>
- {{- range sort .Site.Data.bookmarks "title" }}
- <li><a href="#{{ urlize .title }}">{{ .title }}</a></li>
- {{- end }}
- </ul>
-
- {{ range sort .Site.Data.bookmarks "title" }}
- <section id="{{ urlize .title }}">
- <h2>{{ .title }}</h2>
- {{ if .notes -}}
- <p>{{ .notes }}</p>
- {{ end }}
- {{- range sort .bookmarks "title" }}
- <div>
- <h3>
- <a href="{{ .url }}">{{ .title }}</a>
- </h3>
- {{ if .notes -}}
- <p>{{ .notes }}</p>
- {{- end }}
- </div>
- {{- end }}
- </section>
- {{- end }}
- </article>
- {{ end }}
|