list.html 562 B

12345678910111213141516
  1. {{ define "main" }}
  2. <div class="panel space-y-2">
  3. {{ .Content }}
  4. </div>
  5. {{ range .Pages.ByPublishDate.Reverse }}
  6. <div class="panel my-2">
  7. <h2 id="{{ .Section }}-{{ .Title | anchorize }}"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
  8. <div class="flex flex-row flex-wrap md:flex-nowrap mt-2">
  9. <span class="image-wrapper w-full h-32 md:w-32 md:h-32">
  10. <img srcset="/imgs/no-image-new.webp" src="/imgs/no-image-new.png" alt="Filler" />
  11. </span>
  12. <p class="m-2 flex-1">{{ .Params.Intro | markdownify }}</p>
  13. </div>
  14. </div>
  15. {{ end }}
  16. {{ end }}