package plugins // I hate this, but I'm creating strings of the templates to avoid having to // track where templates reside. var factoidIndex string = ` Factoids {{if .Error}}
{{.Error}}
{{end}}
{{ $entries := .Entries }} {{if .Count}}
Found {{.Count}} entries.
{{end}} {{range $entries}}
{{.Trigger}} - {{.Action}}
{{end}} `