diff options
author | Issei Suzuki <4515431+isseis@users.noreply.github.com> | 2020-12-07 22:37:22 +0300 |
---|---|---|
committer | Issei Suzuki <4515431+isseis@users.noreply.github.com> | 2020-12-07 22:37:22 +0300 |
commit | c12b11566b59d9869ae1e94fbd0fb490f985176b (patch) | |
tree | 04f85d18d526cbdcc82e04174e9dedee1de9ada6 | |
parent | 25bc32e73c49497530285aec3b90e7fbd980cea6 (diff) |
Adds comment_custom.html allowing a custom comment system.
-rwxr-xr-x | layouts/_default/single.html | 1 | ||||
-rw-r--r-- | layouts/partials/comment_custom.html | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6456e63..c303f03 100755 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -21,6 +21,7 @@ {{ .Content }} </section> <footer> + {{ partial "comment_custom.html" }} {{ with ($.Param "disqus") }} <div id="disqus_thread"></div> <script> diff --git a/layouts/partials/comment_custom.html b/layouts/partials/comment_custom.html new file mode 100644 index 0000000..bfb727b --- /dev/null +++ b/layouts/partials/comment_custom.html @@ -0,0 +1,4 @@ +<!-- +If you want to include any custom html just after <footer>, put it in /layouts/partials/comment_custom.html +Do not put anything in this file - it's only here so that hugo won't throw an error if /layouts/partials/comment_custom.html doesn't exist. +--> |