Permalink
Browse files

Merge pull request #202 from sindresorhus/build-viewport

Include viewport. Fixes #87
  • Loading branch information...
2 parents a5f9651 + da0a1df commit 1535a0b19ed11a4e4cc8363dce380281c9fa5782 @addyosmani committed Nov 1, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −0 Makefile
  2. +1 −1 build/build.sh
  3. +1 −0 build/head.html
View
@@ -15,6 +15,7 @@ pdf: $(sorce)
html: $(source)
$(pandoc) -s $(source) -o index.html -c style.css \
+ --include-in-header=$(include_dir)/head.html \
--include-before-body=$(include_dir)/author.html \
--include-before-body=$(include_dir)/share.html \
--include-after-body=$(include_dir)/stats.html \
View
2 build/build.sh 100644 → 100755
@@ -7,7 +7,7 @@
#e.g /Users/apple/Desktop/usr/local/bin/pandoc
#html
-pandoc -s ../index.md -o ../index.html -c style.css --include-before-body=author.html --include-before-body=share.html --include-after-body=stats.html --title-prefix='Developing Backbone.js Applications'
+pandoc -s ../index.md -o ../index.html -c style.css --include-in-header=head.html --include-before-body=author.html --include-before-body=share.html --include-after-body=stats.html --title-prefix='Developing Backbone.js Applications'
#epub
pandoc -s -S ../index.md -t epub --epub-metadata=metadata.xml -o ../backbone-fundamentals.epub --epub-stylesheet=../epub.css --title-prefix='Developing Backbone.js Applications' --epub-cover-image=../img/cover.jpg
View
@@ -0,0 +1 @@
+<meta name="viewport" content="width=device-width">

0 comments on commit 1535a0b

Please sign in to comment.