diff --git a/app.js b/app.js index 0a7e61b..e07b7e3 100644 --- a/app.js +++ b/app.js @@ -18,6 +18,7 @@ const date = require('metalsmith-build-date'); const Handlebars = require('handlebars'); const emoji = require('markdown-it-emoji'); const moment = require('moment'); +const striptags = require('striptags'); const port = process.env.PORT || 8000; const oneDay = 86400000; @@ -35,6 +36,9 @@ Handlebars.registerHelper('markdown', function(text) { Handlebars.registerHelper('moment', function(date, format) { return new moment(date).format(format); }); +Handlebars.registerHelper("striptags", function(text){ + return striptags(text); +}); Metalsmith(__dirname) diff --git a/package.json b/package.json index b4d2600..5fcdc73 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "metalsmith-pagination": "^1.4.0", "metalsmith-permalinks": "^0.5.0", "metalsmith-sass": "^1.3.0", - "moment": "^2.13.0" + "moment": "^2.13.0", + "striptags": "^2.1.1" }, "engines": { "node": "6.0.0" diff --git a/src/browserconfig.xml b/src/browserconfig.xml new file mode 100644 index 0000000..3e75bb7 --- /dev/null +++ b/src/browserconfig.xml @@ -0,0 +1,2 @@ + +#ffffff \ No newline at end of file diff --git a/src/favicon.ico b/src/favicon.ico new file mode 100644 index 0000000..c70e4ae Binary files /dev/null and b/src/favicon.ico differ diff --git a/src/images/favico/android-icon-144x144.png b/src/images/favico/android-icon-144x144.png new file mode 100644 index 0000000..710dd91 Binary files /dev/null and b/src/images/favico/android-icon-144x144.png differ diff --git a/src/images/favico/android-icon-192x192.png b/src/images/favico/android-icon-192x192.png new file mode 100644 index 0000000..396b6b9 Binary files /dev/null and b/src/images/favico/android-icon-192x192.png differ diff --git a/src/images/favico/android-icon-36x36.png b/src/images/favico/android-icon-36x36.png new file mode 100644 index 0000000..0cb46ab Binary files /dev/null and b/src/images/favico/android-icon-36x36.png differ diff --git a/src/images/favico/android-icon-48x48.png b/src/images/favico/android-icon-48x48.png new file mode 100644 index 0000000..2937fbf Binary files /dev/null and b/src/images/favico/android-icon-48x48.png differ diff --git a/src/images/favico/android-icon-72x72.png b/src/images/favico/android-icon-72x72.png new file mode 100644 index 0000000..c6990b7 Binary files /dev/null and b/src/images/favico/android-icon-72x72.png differ diff --git a/src/images/favico/android-icon-96x96.png b/src/images/favico/android-icon-96x96.png new file mode 100644 index 0000000..3e6bcb1 Binary files /dev/null and b/src/images/favico/android-icon-96x96.png differ diff --git a/src/images/favico/apple-icon-114x114.png b/src/images/favico/apple-icon-114x114.png new file mode 100644 index 0000000..81ad820 Binary files /dev/null and b/src/images/favico/apple-icon-114x114.png differ diff --git a/src/images/favico/apple-icon-120x120.png b/src/images/favico/apple-icon-120x120.png new file mode 100644 index 0000000..ae5e25c Binary files /dev/null and b/src/images/favico/apple-icon-120x120.png differ diff --git a/src/images/favico/apple-icon-144x144.png b/src/images/favico/apple-icon-144x144.png new file mode 100644 index 0000000..710dd91 Binary files /dev/null and b/src/images/favico/apple-icon-144x144.png differ diff --git a/src/images/favico/apple-icon-152x152.png b/src/images/favico/apple-icon-152x152.png new file mode 100644 index 0000000..90f1ca3 Binary files /dev/null and b/src/images/favico/apple-icon-152x152.png differ diff --git a/src/images/favico/apple-icon-180x180.png b/src/images/favico/apple-icon-180x180.png new file mode 100644 index 0000000..28ebe2a Binary files /dev/null and b/src/images/favico/apple-icon-180x180.png differ diff --git a/src/images/favico/apple-icon-57x57.png b/src/images/favico/apple-icon-57x57.png new file mode 100644 index 0000000..f4af0fc Binary files /dev/null and b/src/images/favico/apple-icon-57x57.png differ diff --git a/src/images/favico/apple-icon-60x60.png b/src/images/favico/apple-icon-60x60.png new file mode 100644 index 0000000..d70d02a Binary files /dev/null and b/src/images/favico/apple-icon-60x60.png differ diff --git a/src/images/favico/apple-icon-72x72.png b/src/images/favico/apple-icon-72x72.png new file mode 100644 index 0000000..c6990b7 Binary files /dev/null and b/src/images/favico/apple-icon-72x72.png differ diff --git a/src/images/favico/apple-icon-76x76.png b/src/images/favico/apple-icon-76x76.png new file mode 100644 index 0000000..3bac51c Binary files /dev/null and b/src/images/favico/apple-icon-76x76.png differ diff --git a/src/images/favico/apple-icon-precomposed.png b/src/images/favico/apple-icon-precomposed.png new file mode 100644 index 0000000..796ac33 Binary files /dev/null and b/src/images/favico/apple-icon-precomposed.png differ diff --git a/src/images/favico/apple-icon.png b/src/images/favico/apple-icon.png new file mode 100644 index 0000000..796ac33 Binary files /dev/null and b/src/images/favico/apple-icon.png differ diff --git a/src/images/favico/favicon-16x16.png b/src/images/favico/favicon-16x16.png new file mode 100644 index 0000000..0624f4c Binary files /dev/null and b/src/images/favico/favicon-16x16.png differ diff --git a/src/images/favico/favicon-32x32.png b/src/images/favico/favicon-32x32.png new file mode 100644 index 0000000..825d245 Binary files /dev/null and b/src/images/favico/favicon-32x32.png differ diff --git a/src/images/favico/favicon-96x96.png b/src/images/favico/favicon-96x96.png new file mode 100644 index 0000000..3e6bcb1 Binary files /dev/null and b/src/images/favico/favicon-96x96.png differ diff --git a/src/images/favico/ms-icon-144x144.png b/src/images/favico/ms-icon-144x144.png new file mode 100644 index 0000000..710dd91 Binary files /dev/null and b/src/images/favico/ms-icon-144x144.png differ diff --git a/src/images/favico/ms-icon-150x150.png b/src/images/favico/ms-icon-150x150.png new file mode 100644 index 0000000..64498ff Binary files /dev/null and b/src/images/favico/ms-icon-150x150.png differ diff --git a/src/images/favico/ms-icon-310x310.png b/src/images/favico/ms-icon-310x310.png new file mode 100644 index 0000000..4312b5a Binary files /dev/null and b/src/images/favico/ms-icon-310x310.png differ diff --git a/src/images/favico/ms-icon-70x70.png b/src/images/favico/ms-icon-70x70.png new file mode 100644 index 0000000..c54b163 Binary files /dev/null and b/src/images/favico/ms-icon-70x70.png differ diff --git a/src/manifest.json b/src/manifest.json new file mode 100644 index 0000000..511a4ae --- /dev/null +++ b/src/manifest.json @@ -0,0 +1,41 @@ +{ + "name": "Marcus Noble - Blog", + "icons": [ + { + "src": "\/images\/favico\/android-icon-36x36.png", + "sizes": "36x36", + "type": "image\/png", + "density": "0.75" + }, + { + "src": "\/images\/favico\/android-icon-48x48.png", + "sizes": "48x48", + "type": "image\/png", + "density": "1.0" + }, + { + "src": "\/images\/favico\/android-icon-72x72.png", + "sizes": "72x72", + "type": "image\/png", + "density": "1.5" + }, + { + "src": "\/images\/favico\/android-icon-96x96.png", + "sizes": "96x96", + "type": "image\/png", + "density": "2.0" + }, + { + "src": "\/images\/favico\/android-icon-144x144.png", + "sizes": "144x144", + "type": "image\/png", + "density": "3.0" + }, + { + "src": "\/images\/favico\/android-icon-192x192.png", + "sizes": "192x192", + "type": "image\/png", + "density": "4.0" + } + ] +} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 6379247..890fe4c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,7 +1,7 @@ - {{>head }} + {{>head title=site.title summary=site.description}} {{> header }} diff --git a/templates/partials/head.html b/templates/partials/head.html index 0e9fdf2..fd9a15f 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -7,12 +7,29 @@ - + + + + + + + + + + + + + + + + + + + -