Search and comments are the casualties of static-sites - unless you bow and crumble to the use of something 3rd party (Disqus or Google Site Search to name some poor examples)
The demo site uses Algolia though https://mmistakes.github.io/minimal-mistakes/
Comments, contact forms and other features that "creates" content are more difficult.