{{/* Visitor comments at the bottom of a machine's pages. Context: the machine page.
With a forum (params.forum.url) and a thread for the machine: the live thread in a frame
sized to its content. Otherwise: the archived comments as static text. */}}
{{ $p := .Params }}
{{ if and $p.forum_thread site.Params.forum.url }}
Comments
{{ partial "forum-thread.html" (dict "id" $p.forum_thread "title" .Title "note" "The first comments were left by visitors of the original site. Log in to the forum to add yours.") }}
{{ else if $p.comments }}
Comments
Comments left by visitors of the original site. New comments are closed.
Comments
{{ partial "forum-thread.html" (dict "id" $p.forum_thread "title" .Title "note" "The first comments were left by visitors of the original site. Log in to the forum to add yours.") }}