2016-09-09 09:14:19 -04:00
|
|
|
/**
|
|
|
|
* Default options for the html-webpack-plugin HTML renderer
|
|
|
|
*
|
|
|
|
* See https://github.com/ampedandwired/html-webpack-plugin#configuration
|
|
|
|
* for possible options. Any other options will be available to the template
|
|
|
|
* under `htmlWebpackPlugin.options`
|
|
|
|
*/
|
|
|
|
|
2015-10-20 10:51:33 -04:00
|
|
|
module.exports = {
|
2016-09-09 09:14:19 -04:00
|
|
|
// html-webpack-plugin options
|
|
|
|
template: './src/template.ejs',
|
|
|
|
inject: false,
|
|
|
|
|
2015-10-20 10:51:33 -04:00
|
|
|
// Search and metadata
|
|
|
|
title: 'Imagine, Program, Share',
|
|
|
|
description:
|
|
|
|
'Scratch is a free programming language and online community ' +
|
|
|
|
'where you can create your own interactive stories, games, ' +
|
|
|
|
'and animations.',
|
|
|
|
|
2016-04-26 14:19:21 -04:00
|
|
|
// override if mobile-friendly
|
2016-08-24 07:54:08 -04:00
|
|
|
viewportWidth: 'device-width',
|
2016-04-26 14:19:21 -04:00
|
|
|
|
2015-10-20 10:51:33 -04:00
|
|
|
// Open graph
|
2015-10-29 18:40:56 -04:00
|
|
|
og_image: 'https://scratch.mit.edu/images/scratch-og.png',
|
|
|
|
og_image_type: 'image/png',
|
2015-10-20 10:51:33 -04:00
|
|
|
og_image_width: 986,
|
|
|
|
og_image_height: 860,
|
|
|
|
|
|
|
|
// Analytics & Monitoring
|
2016-05-17 21:09:18 -04:00
|
|
|
ga_tracker: process.env.GA_TRACKER || ''
|
2015-10-20 10:51:33 -04:00
|
|
|
};
|