mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 07:43:43 +08:00
DEV: Include "_learn_more" key in theme about.json
This does not serve any technical purpose. It is there to provide a signpost for any user/developer that wants to know what to do with a theme archive.
This commit is contained in:
parent
99e0820c0b
commit
033cd4f31d
|
@ -454,6 +454,8 @@ class Theme < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
meta[:_learn_more] = "https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966"
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -88,7 +88,8 @@ describe ThemeStore::TgzExporter do
|
|||
"header_background": "1E1E1E",
|
||||
"tertiary": "858585"
|
||||
}
|
||||
}
|
||||
},
|
||||
"_learn_more": "https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966"
|
||||
)
|
||||
|
||||
expect(File.read("common/body_tag.html")).to eq("<b>testtheme1</b>")
|
||||
|
|
Loading…
Reference in New Issue
Block a user