fixed template loader webnotes/wnframework#351
diff --git a/erpnext/portal/templates/base.html b/erpnext/portal/templates/base.html
index bc6fb97..3eb7adc 100644
--- a/erpnext/portal/templates/base.html
+++ b/erpnext/portal/templates/base.html
@@ -1,3 +1,3 @@
-{% extends "lib/website/templates/base.html" %}
+{% extends "website/templates/base.html" %}
 
-{% block footer %}{% include "app/portal/templates/includes/footer.html" %}{% endblock %}
\ No newline at end of file
+{% block footer %}{% include "portal/templates/includes/footer.html" %}{% endblock %}
\ No newline at end of file
diff --git a/erpnext/portal/templates/includes/footer.html b/erpnext/portal/templates/includes/footer.html
index cd75fd1..9912c9c 100644
--- a/erpnext/portal/templates/includes/footer.html
+++ b/erpnext/portal/templates/includes/footer.html
@@ -1,4 +1,4 @@
-{% extends "lib/website/templates/includes/footer.html" %}
+{% extends "website/templates/includes/footer.html" %}
 
 {% block powered %}<a href="http://erpnext.org" style="color: #aaa;">ERPNext Powered</a>{% endblock %}
 
diff --git a/erpnext/portal/templates/pages/cart.html b/erpnext/portal/templates/pages/cart.html
index 1abe467..db81229 100644
--- a/erpnext/portal/templates/pages/cart.html
+++ b/erpnext/portal/templates/pages/cart.html
@@ -1,7 +1,7 @@
 {% extends base_template %}
 
 {% block javascript %}
-<script>{% include "app/portal/templates/includes/cart.js" %}</script>
+<script>{% include "portal/templates/includes/cart.js" %}</script>
 {% endblock %}
 
 {% set title="Shopping Cart" %}
diff --git a/erpnext/portal/templates/sales_transactions.html b/erpnext/portal/templates/sales_transactions.html
index f4fd5d1..632793c 100644
--- a/erpnext/portal/templates/sales_transactions.html
+++ b/erpnext/portal/templates/sales_transactions.html
@@ -1,4 +1,4 @@
-{% extends "app/portal/templates/includes/transactions.html" %}
+{% extends "portal/templates/includes/transactions.html" %}
 
 {% block javascript -%}
 <script>