PWA: Add square and glow app icons

This commit is contained in:
Michael Mayer
2021-11-25 17:24:53 +01:00
parent ff66b3bccc
commit 34e1773595
92 changed files with 199 additions and 124 deletions

View File

@@ -84,7 +84,13 @@ func configAction(ctx *cli.Context) error {
fmt.Printf("%-25s %t\n", "detect-nsfw", conf.DetectNSFW())
fmt.Printf("%-25s %t\n", "upload-nsfw", conf.UploadNSFW())
// Progressive Web App.
fmt.Printf("%-25s %s\n", "app-name", conf.AppName())
fmt.Printf("%-25s %s\n", "app-mode", conf.AppMode())
fmt.Printf("%-25s %s\n", "app-icon", conf.AppIcon())
// Site.
fmt.Printf("%-25s %s\n", "cdn-url", conf.CdnUrl("/"))
fmt.Printf("%-25s %s\n", "site-url", conf.SiteUrl())
fmt.Printf("%-25s %s\n", "site-author", conf.SiteAuthor())
fmt.Printf("%-25s %s\n", "site-title", conf.SiteTitle())
@@ -92,13 +98,7 @@ func configAction(ctx *cli.Context) error {
fmt.Printf("%-25s %s\n", "site-description", conf.SiteDescription())
fmt.Printf("%-25s %s\n", "site-preview", conf.SitePreview())
// Progressive Web App.
fmt.Printf("%-25s %s\n", "app-name", conf.AppName())
fmt.Printf("%-25s %s\n", "app-mode", conf.AppMode())
fmt.Printf("%-25s %s\n", "app-icon", conf.AppIcon())
// URLs.
fmt.Printf("%-25s %s\n", "cdn-url", conf.CdnUrl("/"))
// URIs.
fmt.Printf("%-25s %s\n", "content-uri", conf.ContentUri())
fmt.Printf("%-25s %s\n", "static-uri", conf.StaticUri())
fmt.Printf("%-25s %s\n", "api-uri", conf.ApiUri())