Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

single.html 1.0KB

123456789101112131415161718192021222324252627282930313233
  1. {{ define "header" }}
  2. {{/* We can override any block in the baseof file be defining it in the template */}}
  3. {{ partial "page-header.html" . }}
  4. {{ end }}
  5. {{ define "main" }}
  6. <article class="flex-l flex-wrap justify-between mw8 center">
  7. <header class="mt4 w-100">
  8. <p class="f6 b helvetica tracked">
  9. {{/* Humanize removes hyphens and capitalizes the first word */}}
  10. {{ humanize .Section | upper }}
  11. </p>
  12. <h1 class="f1 athelas mb1">
  13. {{ .Title }}
  14. </h1>
  15. {{/* Hugo uses Go's date formatting is set by example. Here are two formats */}}
  16. <time class="f6 mv4 dib tracked" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
  17. {{ .Date.Format "January 2, 2006" }}
  18. </time>
  19. </header>
  20. <main class="nested-copy-line-height lh-copy serif f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l">
  21. {{ .Content }}
  22. {{ partial "tags.html" . }}
  23. </main>
  24. <aside class="w-third-l">
  25. {{ partial "menu-contextual.html" . }}
  26. </aside>
  27. </article>
  28. {{ end }}