commit 4bed6e9ae1060a39f7136e8d86024dc7e5a5a893
parent d4b8be1ea26eccce91388c97e3697599ba24e815
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Tue, 7 Jan 2020 21:11:21 -0600
Keep link to comment and only remove the reply link
Diffstat:
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/README.org b/README.org
@@ -7,7 +7,7 @@ Insert comment section with
{{ partial "hyperskip.html" . }}
#+END_SRC
-For best compatibility with web feeds like RSS or ATOM, use the following =<nav>=-less version to avoid use of =onlick= and anchors
+For best compatibility with web feeds like RSS or ATOM, use the following to avoid including =<script>= and =<form>=
#+BEGIN_SRC html
{{ partial "hyperskip_feed.html" . }}
#+END_SRC
diff --git a/layouts/partials/list_comment.html b/layouts/partials/list_comment.html
@@ -17,13 +17,11 @@
</h3>
<nav><p>
{{- .time.Format "2006-01-02" -}}
+ | <a href="#{{ $hash }}">#{{ $hash }}</a>
{{- if not ($.Scratch.Get "is_feed") -}}
- | <a href="#{{ $hash }}">#
- {{- $hash -}}
- </a> | <a href="#comment" onclick="reply({{ $hash }})">
+ | <a href="#comment" onclick="reply({{ $hash }})">
{{- i18n "hyperskip-reply" -}}
</a>
- {{- else -}} | #{{ $hash }}
{{- end -}}
</p></nav>
</header>