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

43 lines
1.3 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">
Liked this article? I'm currently looking for Computer Science internships for the summer
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>
2020-12-30 13:41:03 -08:00
to learn more about me!
</footer>
{{ end }}