func (p *Post) BriefHTML() template.HTML {
	return template.HTML(p.briefBytes)
}
BriefHTML get brief html content
package model
import (
	"bytes"
	"errors"
	"fmt"
	"html/template"
	"io"
	"io/ioutil"
	"path/filepath"
	"strings"
	"time"
	"github.com/BurntSushi/toml"
	"github.com/Unknwon/com"
	"github.com/go-xiaohei/pugo/app/helper"
	"golang.org/x/net/html"
	"gopkg.in/ini.v1"
)
var (
	tomlPrefix         = []byte("toml")
	titleReplacer      = strings.NewReplacer(" ", "-")
	postBlockSeparator = []byte("```")
	postBriefSeparator = []byte("<!--more-->")
)
type Post struct {
	Title      string       `toml:"title" ini:"title"`
	Slug       string       `toml:"slug" ini:"slug"`
	Desc       string       `toml:"desc" ini:"desc"`
	Date       string       `toml:"date" ini:"date"`
	Update     string       `toml:"update_date" ini:"update_date"`
	AuthorName string       `toml:"author" ini:"author"`
	Thumb      string       `toml:"thumb" ini:"thumb"`
	Draft      bool         `toml:"draft" ini:"draft"`
	TagString  []string     `toml:"tags" ini:"-"`
	Tags       []*Tag       `toml:"-" ini:"-"`
	Author     *Author      `toml:"-" ini:"-"`
	Index      []*PostIndex `toml:"-" ini:"-"`
	dateTime   time.Time
	updateTime time.Time
	Bytes        []byte `toml:"-"`
	contentBytes []byte
	briefBytes   []byte
	postURL      string
	fileURL      string
	destURL      string
}
func (p *Post) SetURL(url string) {
	p.postURL = url
}
func (p *Post) SetDestURL(url string) {
	p.destURL = url
}
func (p *Post) SetPlaceholder(stringReplacer, htmlReplacer *strings.Replacer) {
	p.Thumb = stringReplacer.Replace(p.Thumb)
	p.contentBytes = []byte(htmlReplacer.Replace(string(p.contentBytes)))
	p.briefBytes = []byte(htmlReplacer.Replace(string(p.briefBytes)))
}
func (p *Post) URL() string {
	return p.postURL
}
func (p *Post) SourceURL() string {
	return filepath.ToSlash(p.fileURL)
}
func (p *Post) DestURL() string {
	return filepath.ToSlash(p.destURL)
}
func (p *Post) ContentHTML() template.HTML {
	return template.HTML(p.contentBytes)
}
func (p *Post) Content() []byte {
	return p.contentBytes
}