list.html 665 B

1234567891011121314151617
  1. {{ define "main" }}
  2. <div class="panel space-y-2">
  3. <h1>Blog Posts</h1>
  4. <p>Here is an archive of articles I've written over the years. Some will be technical, and some will be more personal.</p>
  5. </div>
  6. {{ range .Pages.ByPublishDate.Reverse }}
  7. <div class="panel my-2">
  8. <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
  9. <div class="flex flex-row flex-wrap md:flex-nowrap mt-2">
  10. <span class="image-wrapper w-full h-32 md:w-32 md:h-32">
  11. <img srcset="/imgs/no-image-new.webp" src="/imgs/no-image-new.png" alt="Filler" />
  12. </span>
  13. <p class="m-2 flex-1">{{ .Params.Intro | markdownify }}</p>
  14. </div>
  15. </div>
  16. {{ end }}
  17. {{ end }}