mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:34:31 +08:00
DEV: Add theme-color meta to bootstrap (#13615)
It's rendered in Rails in:
ebcc70a5ba/app/views/layouts/_head.html.erb (L9-L9)
This commit is contained in:
@ -54,6 +54,7 @@ class BootstrapController < ApplicationController
|
||||
|
||||
bootstrap = {
|
||||
theme_id: theme_id,
|
||||
theme_color: "##{ColorScheme.hex_for_name('header_background', scheme_id)}",
|
||||
title: SiteSetting.title,
|
||||
current_homepage: current_homepage,
|
||||
locale_script: locale,
|
||||
|
Reference in New Issue
Block a user