()
| 114 | } |
| 115 | |
| 116 | func (p *PublicPost) augmentReadingDestination() { |
| 117 | if p.IsPaid { |
| 118 | p.HTMLContent += template.HTML("\n\n" + `<p><a class="read-more" href="` + p.Collection.CanonicalURL() + p.Slug.String + `">` + localStr("Read more...", p.Language.String) + `</a> ($)</p>`) |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | func applyMarkdown(data []byte, baseURL string, cfg *config.Config) string { |
| 123 | return applyMarkdownSpecial(data, baseURL, cfg, cfg.App.SingleUser) |
no test coverage detected