diff --git a/build.js b/build.js index d7a4585..a5ea597 100644 --- a/build.js +++ b/build.js @@ -35,7 +35,9 @@ var metalsmith = Metalsmith(__dirname); .use(sass()) ) - .use(fingerprint({pattern: ['style.css']})) + .use(fingerprint({ + pattern: ['style.css', 'favicon.ico'] + })) .use(branch('**/*.md') .use(markdown()) diff --git a/contents/favicon.ico b/contents/favicon.ico new file mode 100644 index 0000000..941858c Binary files /dev/null and b/contents/favicon.ico differ diff --git a/templates/layout.jade b/templates/layout.jade index 75dbd55..23a148d 100644 --- a/templates/layout.jade +++ b/templates/layout.jade @@ -5,6 +5,7 @@ doctype html html(lang="en") head block title + link(rel='shortcut icon', href='/' + fingerprint['favicon.ico'], type='image/x-icon') link(rel='stylesheet', href='/' + fingerprint['style.css']) link(rel='stylesheet', href='https://fonts.googleapis.com/css?family=Montserrat|Open+Sans|Source+Code+Pro:700', type='text/css') meta(name='viewport', content='width=device-width, initial-scale=1.0')