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:
David Taylor 2019-01-28 11:34:11 +00:00
parent 99e0820c0b
commit 033cd4f31d
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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>")