Constructor
new WebApp()
- Source:
Example
<WebApp
name="******"
manifest="/path/to/manifest.json"
tileIcon="/path/to/image"
themeColor="#000000"
icons={[
{ src: '/path/to/image', sizes: '128x128 256x256' },
{ src: '/path/to/image', sizes: '512x512' },
]} />
Members
(static) Cacheable
Cacheable web app meta tags.
This class is supposed to be used in combination with the locals
hexo filter
(module:hexo/filter/locals) and manifest generator (module:hexo/generator/manifest).
- Source:
- See:
Example
<WebApp.Cacheable
name="******"
themeColor="#000000"
favicon="/path/to/image"
icons={[
{ src: '/path/to/image', sizes: '128x128 256x256' },
{ src: '/path/to/image', sizes: '512x512' },
]}
helper={{ url_for: function() {...} }} />