do not bother with favicon stuff for now

master
nate smith 2019-09-09 13:22:28 -05:00
parent 7678d529b4
commit 2a4fef7566
1 changed files with 1 additions and 8 deletions

View File

@ -43,7 +43,6 @@ type User struct {
Mtime int64 `json:"mtime"` // Timestamp representing the last time a user's index.html was modified
// Town additions
DefaultPage bool `json:"default"` // Whether or not user has updated their default index.html
Favicon string `json:"favicon"` // URL to a small image representing the user
}
type TildeData struct {
@ -132,11 +131,6 @@ func detectDefaultPageFor(username string) bool {
return true
}
func detectFaviconFor(username string) string {
// TODO
return "TODO.jpg"
}
func getUsers() (users []User) {
// For the purposes of this program, we discover users via:
// - presence in /home/
@ -162,7 +156,6 @@ func getUsers() (users []User) {
PageTitle: pageTitleFor(username),
Mtime: mtimeFor(username),
DefaultPage: detectDefaultPageFor(username),
Favicon: detectFaviconFor(username),
}
users = append(users, user)
}