Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-01-31 20:52:27 +0300
committerDillon <dillonzq@outlook.com>2020-01-31 20:52:27 +0300
commit8aa4b6dce6da9601411c7caa07e6352c98ddc4f4 (patch)
tree15ee677595ab544b8af442b2b4caf22ce66aed7d /layouts/_default/single.html
parent2a7611b5aec71c5b42984be947934d4c074a092e (diff)
feat(author): add author_link and fix highlight bug
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index eb6e346..cdc44ca 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -17,7 +17,7 @@
{{- $content = replaceRE $REin $REout $content -}}
{{- $REin = `<sup>\[return\]</sup>` -}}
- {{- $REout = printf "<sup>[%s]</sup>" (T "return") -}}
+ {{- $REout = `↩︎` -}}
{{- $content = replaceRE $REin $REout $content -}}
{{- $REin = `<(h[23456]) (id=".+?")>` -}}
@@ -28,6 +28,10 @@
{{- $REout = `<a class="post-dummy-target" $2></a><$1>` -}}
{{- $content = replaceRE $REin $REout $content -}}
+ {{- $REin = `<li (id="fn:.+?")(.*?)>\s?<p>` -}}
+ {{- $REout = `<li $2><p><a class="post-dummy-target" $1></a>` -}}
+ {{- $content = replaceRE $REin $REout $content -}}
+
{{- $content | safeHTML -}}
</div>
</div>