// GetLogo will return the logo image as a response.
// GetLogo will return the logo image as a response.
funcGetLogo(whttp.ResponseWriter,r*http.Request){
funcGetLogo(whttp.ResponseWriter,r*http.Request){
imageFilename:=data.GetLogoPath()
imageFilename:=data.GetLogoPath()
@ -69,7 +71,10 @@ func GetCompatibleLogo(w http.ResponseWriter, r *http.Request) {
ifreferrer==""{
ifreferrer==""{
referrer="an external site"
referrer="an external site"
}
}
log.Warnf("%s requested your logo. because many social networks do not support SVGs we returned a placeholder instead. change your current logo \"%s\" to a png or jpeg to be most compatible with external social networking sites.",referrer,imageFilename)
if!_hasWarnedSVGLogo{
log.Warnf("%s requested your logo. because many social networks do not support SVGs we returned a placeholder instead. change your current logo to a png or jpeg to be most compatible with external social networking sites.",referrer)