Compare commits
No commits in common. "0a863b07138462dbd238b7633dcc9f2f662ea382" and "95d674e95916a197378ef73a80caf3d2047e2511" have entirely different histories.
0a863b0713
...
95d674e959
|
@ -82,8 +82,7 @@ input[type=text]:focus {
|
||||||
}
|
}
|
||||||
.anchor-tag {
|
.anchor-tag {
|
||||||
font-size: 70%;
|
font-size: 70%;
|
||||||
position: relative;
|
margin-left: 7px;
|
||||||
bottom: 2.6px;
|
|
||||||
background-size: 100% 0;
|
background-size: 100% 0;
|
||||||
background-position: 0 150%;
|
background-position: 0 150%;
|
||||||
&::after {
|
&::after {
|
||||||
|
|
|
@ -121,8 +121,7 @@
|
||||||
}
|
}
|
||||||
.anchor-tag {
|
.anchor-tag {
|
||||||
font-size: 70%;
|
font-size: 70%;
|
||||||
position: relative;
|
margin-left: 7px;
|
||||||
bottom: 2.6px;
|
|
||||||
background-size: 100% 0;
|
background-size: 100% 0;
|
||||||
background-position: 0 150%;
|
background-position: 0 150%;
|
||||||
&::after {
|
&::after {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
<div class="frontmatter">
|
<div class="frontmatter">
|
||||||
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
<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>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>
|
</div>
|
||||||
{{- if .Params.toc }}
|
{{- if .Params.toc }}
|
||||||
<aside id="toc">
|
<aside id="toc">
|
||||||
|
@ -15,7 +14,7 @@
|
||||||
</aside>
|
</aside>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{{ .Content | replaceRE "(<h[1-6] id=\"(.+)\".*>)(.*)(</h[1-6]>)" `${1}${3} <a class="anchor-tag" ariaLabel="Anchor" href="#${2}">¶</a>${4}` | safeHTML }}
|
{{ .Content | replaceRE "(<h[1-6] id=\"(.+)\".*>)(.*)(</h[1-6]>)" `${1}${3}<a class="anchor-tag" ariaLabel="Anchor" href="#${2}">¶</a>${4}` | safeHTML }}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue