added Apple site icon configuration and frame - closes issue #5
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ __debug_bin*
|
||||
/test*.yaml
|
||||
|
||||
# Ignore mac-specific files
|
||||
/.DS_Store
|
||||
.DS_Store
|
||||
|
||||
@@ -92,6 +92,7 @@ type AmConfig struct {
|
||||
Type string `yaml:"type"`
|
||||
} `yaml:"siteIcon"`
|
||||
SiteShortcutIcon string `yaml:"siteShortcutIcon"`
|
||||
SiteAppleIcon string `yaml:"siteAppleIcon"`
|
||||
SiteLogo string `yaml:"siteLogo"`
|
||||
TopRefresh int `yaml:"topRefresh"`
|
||||
LoginCookieName string `yaml:"loginCookieName"`
|
||||
|
||||
@@ -17,6 +17,7 @@ site:
|
||||
path: "/img/builtin/AmsterdamIcon32.png"
|
||||
type: "image/png"
|
||||
siteShortcutIcon: "/img/builtin/AmsterdamIcon32.ico"
|
||||
siteAppleIcon: "/img/builtin/AmsterdamAppleIcon.png"
|
||||
siteLogo: "/img/builtin/powered-by-amsterdam.png"
|
||||
topRefresh: 300
|
||||
loginCookieName: AmsterdamAuth
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
@@ -17,6 +17,7 @@
|
||||
<title>{{ .FrameTitle() | raw }} - {{ GlobalConfig.Site.Title }}</title>
|
||||
<link rel="icon" href="{{ GlobalConfig.Site.SiteIcon.Path }}" type="{{ GlobalConfig.Site.SiteIcon.Type }}" />
|
||||
<link rel="shortcut icon" href="{{ GlobalConfig.Site.SiteShortcutIcon }}" />
|
||||
<link rel="apple-touch-icon" href="{{ GlobalConfig.Site.SiteAppleIcon }}" />
|
||||
{{ range k, v := .FrameMetadata(0) }}
|
||||
<meta http-equiv="{{ k }}" content="{{ v }}">
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user