📦️ Add resume.pdf

This commit is contained in:
Dan Jones 2024-04-29 15:48:56 -05:00
commit a0664bdba8
2 changed files with 5 additions and 2 deletions

Binary file not shown.

View file

@ -24,13 +24,13 @@
{{ if .Params.Cover }} {{ if .Params.Cover }}
<figure class="post-cover"> <figure class="post-cover">
<img src="{{ .Params.Cover | absURL }}" alt="{{ .Title }}" /> <img src="{{ .Params.Cover | absURL }}" alt="{{ .Title }}" />
{{ if .Params.CoverCaption }} {{ if .Params.CoverCaption }}
<figcaption class="center">{{ .Params.CoverCaption | markdownify }}</figcaption> <figcaption class="center">{{ .Params.CoverCaption | markdownify }}</figcaption>
{{ end }} {{ end }}
</figure> </figure>
{{ end }} {{ end }}
{{ if .Params.toc }} {{ if .Params.toc }}
<hr /> <hr />
<aside id="toc"> <aside id="toc">
@ -47,6 +47,9 @@
{{ $toc = strings.TrimSuffix "</ul>\n</nav>" $toc }} {{ $toc = strings.TrimSuffix "</ul>\n</nav>" $toc }}
{{ $toc | safeHTML }} {{ $toc | safeHTML }}
</ul> </ul>
{{ with .Resources.GetMatch "dan-jones-resume.pdf" }}
<p><a href="{{ .RelPermalink }}">Download a PDF</a></p>
{{ end }}
</nav> </nav>
</aside> </aside>
<hr /> <hr />