added 'remember me'
This commit is contained in:
parent
61fcf2dcfe
commit
ab454f4b99
9 changed files with 63 additions and 35 deletions
|
|
@ -33,7 +33,7 @@ func Render(p *core.Page) string {
|
|||
toc, html := buildTOC(string(rend))
|
||||
html = strings.Replace(html, "<table>", `<table class="table">`, -1)
|
||||
html = strings.Replace(html, "</h1>", `</h1><hr>`, -1)
|
||||
html = strings.Replace(html, "<a", `<a target="_blank"`, -1)
|
||||
html = strings.Replace(html, "<a", `<a target="_blank" rel="noopener noreferrer"`, -1)
|
||||
p.TOC = template.HTML(toc)
|
||||
p.HTML = template.HTML(html)
|
||||
return whiteSpace.ReplaceAllString(string(filter.Filter(rend)), " ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue