Compare commits

...

2 Commits

Author SHA1 Message Date
Amolith 0a863b0713
improve heading link style 2021-11-10 04:08:54 -05:00
Amolith 6900f128aa
add links for alternate files 2021-11-10 04:08:38 -05:00
3 changed files with 6 additions and 3 deletions

View File

@ -82,7 +82,8 @@ input[type=text]:focus {
}
.anchor-tag {
font-size: 70%;
margin-left: 7px;
position: relative;
bottom: 2.6px;
background-size: 100% 0;
background-position: 0 150%;
&::after {

View File

@ -121,7 +121,8 @@
}
.anchor-tag {
font-size: 70%;
margin-left: 7px;
position: relative;
bottom: 2.6px;
background-size: 100% 0;
background-position: 0 150%;
&::after {

View File

@ -4,6 +4,7 @@
<div class="frontmatter">
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<p><strong>Reading Time:</strong> {{ .ReadingTime }} minutes | <strong>Published:</strong> {{ dateFormat "2006-01-02" .Date }} | <strong>Last Edited:</strong> {{ dateFormat "2006-01-02" .Lastmod }}</a></p>
<p><strong>Download this post as:</strong> <a href="{{ .Permalink | replaceRE "^[^/]+://[^/]+/(.*)/$" "$1" }}.pdf">PDF,</a> <a href="{{ .Permalink | replaceRE "^[^/]+://[^/]+/(.*)/$" "$1" }}.epub">EPUB,</a> or <a href="{{ .Permalink | replaceRE "^[^/]+://[^/]+/(.*)/$" "$1" }}.txt">plaintext</a></p>
</div>
{{- if .Params.toc }}
<aside id="toc">