func (s *SSIElement) SetTemplate(h string) error {
	if h == "false" {
		s.hasTemplate = false
	} else {
		s.hasTemplate = true
	}
	return nil
}
SetTemplate enables go templating
package momos
import (
	"bytes"
	"html/template"
	"strconv"
	"strings"
	"time"
	"github.com/PuerkitoBio/goquery"
)
const (
	ssiErrorTag         = "ssi-error"
	ssiTimeoutTag       = "ssi-timeout"
	jsIncludeSelection  = "script"
	cssIncludeSelection = "link"
	defaultTimeout      = 2000
)
type TemplateContext struct {
	DateLocal string
	Date      string
	RequestId string
	Name      string
}
type SSIAttributes map[string]string
type SSIElement struct {
	Tag             string
	HasErrorTag     bool
	errorTag        *goquery.Selection
	HasTimeoutTag   bool
	timeoutTag      *goquery.Selection
	Attributes      SSIAttributes
	Element         *goquery.Selection
	templateContext TemplateContext
	filterIncludes  bool
	name            string
	src             string
	timeout         time.Duration
	hasTemplate     bool
}
func (s *SSIElement) GetErrorTag() error {
	node := s.Element.Find(ssiErrorTag)
	s.HasErrorTag = node.Length() > 0
	s.errorTag = node
	return nil
}
func (s *SSIElement) GetTimeoutTag() error {
	node := s.Element.Find(ssiTimeoutTag)
	s.HasTimeoutTag = node.Length() > 0
	s.timeoutTag = node
	return nil
}
func (s *SSIElement) SetName(name string) error {
	s.name = name
	return nil
}
func (s *SSIElement) SetSrc(src string) error {
	s.src = src
	return nil
}