Updated papers section

This commit is contained in:
2025-01-03 02:21:58 -07:00
parent 546a49f550
commit f32ba4faf6
6 changed files with 39 additions and 31 deletions

View File

@ -0,0 +1,34 @@
{{define "title"}}
Atridad Lahiji // Papers
{{end}}
{{define "headercontent"}}
Atridad Lahiji // Papers
{{end}}
{{define "head"}}
<link rel="stylesheet" href="/public/css/styles.css" />
{{end}}
{{define "main"}}
{{if .Papers}}
<section class="flex flex-row flex-wrap gap-2 justify-center align-middle">
{{range .Papers}}
{{template "cardlinks" .}}
{{end}}
</section>
{{end}}
{{if not .Papers}}
<section class="flex flex-row flex-wrap gap-2 justify-center align-middle">
<h2 class="text-2xl font-extrabold tracking-tight text-white sm:text-[2rem]">
Nothing to see here (yet)!
</h2>
</section>
{{end}}
{{end}}
{{define "foot"}}
{{end}}