{{ define "main" }}
<article>
  <div class="post-header">
    <h1>{{ .Title }}</h1>
    <div class="post-meta">
      {{ .Date.Format "January 2, 2006" }} · {{ .ReadingTime }} min read
      {{ with .Params.tags }} · {{ range $i, $t := . }}{{ if $i }}, {{ end }}<a href="{{ absURL (printf "tags/%s/" (urlize $t)) }}">{{ $t }}</a>{{ end }}{{ end }}
    </div>
  </div>
  <div class="post-content">
    {{ .Content }}
  </div>
  <div class="post-footer">
    <div class="cta-box">
      <p>Try pdfmux — self-healing PDF extraction for LLM pipelines.</p>
      <p><code>pip install pdfmux</code></p>
      <p class="cta-action"><a class="btn-primary" href="{{ .Site.Params.github }}">View on GitHub &rarr;</a></p>
    </div>
  </div>
</article>
{{ end }}
