blog-static/themes/vanilla/layouts/blog/single.html

47 lines
1.6 KiB
HTML
Raw Normal View History

2019-08-02 22:53:52 -07:00
{{ define "main" }}
<h2>{{ .Title }}</h2>
<div class="post-subscript">
2020-05-04 03:23:55 -07:00
<p>
2019-08-02 22:53:52 -07:00
{{ range .Params.tags }}
<a class="button" href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">{{ . }}</a>
{{ end }}
</p>
2020-05-04 03:23:55 -07:00
<p>Posted on {{ .Date.Format "January 2, 2006" }}.</p>
2019-08-02 22:53:52 -07:00
</div>
<div class="post-content">
2020-06-30 22:11:27 -07:00
{{ if not (eq .TableOfContents "<nav id=\"TableOfContents\"></nav>") }}
2020-06-24 22:46:22 -07:00
<div class="table-of-contents">
2020-06-30 22:11:27 -07:00
<div class="wrapper">
2020-06-24 22:46:22 -07:00
<em>Table of Contents</em>
{{ .TableOfContents }}
</div>
</div>
2020-06-30 22:11:27 -07:00
{{ end }}
2020-09-27 16:22:29 -07:00
{{ if .Draft }}
<div class="draft-warning">
<em>Warning!</em> This post is a draft. At best, it may contain grammar mistakes;
at worst, it can include significant errors and bugs. Please
use your best judgement!
</div>
{{ end }}
2019-08-02 22:53:52 -07:00
{{ .Content }}
</div>
{{ end }}
2020-12-30 13:41:03 -08:00
{{ define "after" }}
2020-12-30 18:06:38 -08:00
<hr class="container footer-divider">
2020-12-30 13:41:03 -08:00
<footer class="container">
2021-02-24 17:54:22 -08:00
<p>Liked this article? Have any questions or comments?
Please don't hesitate to reach out to me at <a href="mailto:danila.fedorin@gmail.com">
danila.fedorin@gmail.com</a>! I love receiving emails from readers, and I'm always happy
to provide any additional clarification or assistance.</p>
<p>I'm also currently looking for Computer Science internships for the summer
2020-12-30 13:41:03 -08:00
of 2021. Take a look at my <a href="/Resume-Danila-Fedorin.pdf">resume</a>,
<a href="https://github.com/DanilaFe">GitHub profile</a>,
2020-12-30 14:45:30 -08:00
and <a href="/favorites">my favorite articles from this blog</a>
2021-02-24 17:54:22 -08:00
to learn more about me!</p>
2020-12-30 13:41:03 -08:00
</footer>
{{ end }}