Add internship footer to posts (sorry)

This commit is contained in:
Danila Fedorin 2020-12-30 13:41:03 -08:00
parent 0467e4e12f
commit b1943ede2f
4 changed files with 20 additions and 1 deletions

View File

@ -170,6 +170,15 @@ hr.header-divider {
border-radius: 0.15rem;
}
hr.footer-divider {
margin: auto;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
max-width: $container-width;
border: none;
border-bottom: $standard-border;
}
ul.post-list {
list-style: none;
padding: 0;

View File

@ -7,6 +7,6 @@
<main class="container">
{{- block "main" . }}{{- end }}
</main>
{{- partial "footer.html" . -}}
{{- block "after" . }}{{- end }}
</body>
</html>

View File

@ -30,3 +30,13 @@
{{ .Content }}
</div>
{{ end }}
{{ define "after" }}
<hr class="footer-divider">
<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>,
and <a href="https://danilafe.com/tags/compilers/">compiler series</a>
to learn more about me!
</footer>
{{ end }}