diff --git a/examples/blog/server.js b/examples/blog/server.js
index <HASH>..<HASH> 100644
--- a/examples/blog/server.js
+++ b/examples/blog/server.js
@@ -5,7 +5,7 @@ var server = express();
 
 var blog = new Paperpress({
 	directory : 'static',
-	themePath : '/examples/blog/static/layouts',
+	themePath : 'static/layouts',
 	basePath  : '/blog',
 	pagesPath : '',
 	articlesPerPage : 5
diff --git a/paperpress.js b/paperpress.js
index <HASH>..<HASH> 100644
--- a/paperpress.js
+++ b/paperpress.js
@@ -26,7 +26,7 @@ var Paperpress = function (config) {
 
 	swig.setDefaults({ cache: false });
 
-	var themePath = path.join(__dirname, this.themePath);
+	var themePath = path.join(process.cwd(), this.themePath);
 
 	this.pageTpl = swig.compileFile(themePath + '/page.html');
 	this.singleTpl = swig.compileFile(themePath + '/single.html');
Made theme path relative to the process path, not the paperpress.js file