MCPcopy Index your code
hub / github.com/writefreely/writefreely / defaultContactPage

Function defaultContactPage

pages.go:95–105  ·  view source on GitHub ↗
(app *App)

Source from the content-addressed store, hash-verified

93}
94
95func defaultContactPage(app *App) string {
96 c, err := app.db.GetCollectionByID(1)
97 if err != nil {
98 return ""
99 }
100 return `_` + app.cfg.App.SiteName + `_ is administered by: [**` + c.Alias + `**](/` + c.Alias + `/).
101
102Contact them at this email address: _EMAIL GOES HERE_.
103
104You can also reach them here...`
105}
106
107func defaultPrivacyPolicy(cfg *config.Config) string {
108 return `[WriteFreely](https://writefreely.org), the software that powers this site, is built to enforce your right to privacy by default.

Callers 2

getContactPageFunction · 0.85
handleViewAdminPagesFunction · 0.85

Calls 1

GetCollectionByIDMethod · 0.65

Tested by

no test coverage detected