<div class="mt-6 md:mt-8">

    <aside class="post-metadata">

        <div class="tags
                flex flex-row gap-2">

            <a class="nav-link pill-henryc hidden md:block" href="/{{.Section}}">
                {{ if .Params.externalLink }}link
                {{ else if eq .Section "letter" }}letter
                {{ else if eq .Section "s" }}short
                {{ else if eq .Section "blog" }}post
                {{ else if eq .Section "ppt" }}talk
                {{ else }}
                {{ .Section | singularize }}
                {{ end }}
            </a>


            {{ if .Draft }}
            <div class="draft
                    pill-henryc2-solid">Draft</div>
            {{ end }}
        </div>

        <h1 class=" post-link-url
                    mt-1 lg:mt-2
                    md:text-2xl lg:text-3xl font-semibold">
            <a class="no-underline" href="{{ .RelPermalink }}">
                {{ if eq .Section "log" }} {{ .Date.Format "January 2006" }} {{ else }} {{ .Title }} {{ end }}
            </a>
        </h1>

        <!--<div class="post-metametadata">

        {{ if not (eq .Section "log") }}
        <div class="post-link-date">{{ .PublishDate.Format "2006.01.02" }}</div>
        {{ end}}


        {{ if .Params.Categories }}
        {{ $category := index .Params.Categories 0}}
        <div class="category">
            <a href="/categories/#{{$category}}">#{{ $category }}</a>
        </div>
        {{ end }}


        {{ if eq .Section "ppt" }}
        <div class="category">
            <a href="/ppt">#ppt</a>
        </div>
        {{ end}}

    </div>-->
    </aside>

    <article class="post-summary hidden md:block
                text-henryt-light line-clamp-3
                lg:mt-2">
        {{ .Summary }}
    </article>


</div>