Skip to content

Staticman Nested Comments

Pre-release
Pre-release
Compare
Choose a tag to compare
@VincentTam VincentTam released this 16 Nov 10:57
· 182 commits to master since this release

Demo

https://vincenttam.gitlab.io/bhdemo

New functionalities

  • Add support to nested comments, based on dancwilliams/networkhobo@07033e0
  • Add some basic CSS code for backreferencing
  • Add a "reset" button to clear form data and reply target

Bug fixes

Backward compatibility

  • Compatible with existing posts
    • Visual output: a "reply to ..." link is added screenshot_2018-11-16 test staticman
    • Working principle: existing comment data stored as YAML files with missing fields replyThread, replyName, replyID won't cause an error while in {{ if not .replyThread }} in the template layout file.
  • It can be merged with the main branch.