(content string, replacements map[string]string)
| 50 | } |
| 51 | |
| 52 | func replaceStrings(content string, replacements map[string]string) string { |
| 53 | for old, new := range replacements { |
| 54 | content = strings.Replace(content, old, new, 1) |
| 55 | } |
| 56 | return content |
| 57 | } |
| 58 | |
| 59 | func initIndex(siteConfig SiteConfig) { |
| 60 | utils.Log.Debug("Initializing index.html...") |
no outgoing calls
no test coverage detected