mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 03:10:46 -06:00
FEATURE: Add site description for the webmanifest (#12217)
This commit is contained in:
parent
fff8a24f2b
commit
6569449ea4
@ -44,6 +44,7 @@ class MetadataController < ApplicationController
|
||||
manifest = {
|
||||
name: SiteSetting.title,
|
||||
short_name: SiteSetting.short_title.presence || SiteSetting.title.truncate(12, separator: ' ', omission: ''),
|
||||
description: SiteSetting.site_description,
|
||||
display: display,
|
||||
start_url: Discourse.base_path.present? ? "#{Discourse.base_path}/" : '.',
|
||||
background_color: "##{ColorScheme.hex_for_name('secondary', scheme_id)}",
|
||||
|
Loading…
Reference in New Issue
Block a user