Skip to content

Commit 37b7cb9

Browse files
committed
add favicon which handles subdomain
1 parent 3c20a81 commit 37b7cb9

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ git reset --hard master
1818
echo "Starting build"
1919
node build.js
2020
echo "Build complete"
21-
rm -rf `ls -d * | grep -vP 'site|node_modules|favicon.ico' | xargs`
21+
rm -rf `ls -d * | grep -vP 'site|node_modules' | xargs`
2222
echo "Cleaned out directory"
2323
mv site/* .
2424
if [[ $BUILD_ONLY ]]; then

garden.jade

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ html(lang=language)
55
meta(charset='utf-8')
66
meta(name='description', content=description)
77
meta(name='viewport', content='width=device-width, initial-scale=1')
8+
link(rel='shortcut icon' href='/' + pathPrefix + 'favicon.ico?v=2')
89

910
- if (language === baseLanguage)
1011
link(rel='stylesheet', href='style/garden.css', media='all')
File renamed without changes.

0 commit comments

Comments
 (0)