diff --git a/templates/edit.html b/templates/edit.html
index 03df921..9ef6165 100644
--- a/templates/edit.html
+++ b/templates/edit.html
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "templates/base.html" %}
{% set active_page = "" %}
{% block title %}HAProxy • Edit{% endblock %}
{% block head %}
diff --git a/templates/home.html b/templates/home.html
index 92e093e..484666b 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "templates/base.html" %}
{% set active_page = "home" %}
{% block title %}HAProxy • Home{% endblock %}
{% block head %}
diff --git a/templates/index.html b/templates/index.html
index cdc01a9..0d9071c 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "templates/base.html" %}
{% set active_page = "index" %}
{% block title %}HAProxy • Index{% endblock %}
{% block head %}
diff --git a/templates/logs.html b/templates/logs.html
index 8f24bbc..914dca9 100644
--- a/templates/logs.html
+++ b/templates/logs.html
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "templates/base.html" %}
{% set active_page = "" %}
{% block title %}HAProxy • Logs{% endblock %}
{% block head %}
diff --git a/templates/statistics.html b/templates/statistics.html
index fbcca96..e54a337 100644
--- a/templates/statistics.html
+++ b/templates/statistics.html
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "templates/base.html" %}
{% set active_page = "" %}
{% block title %}HAProxy • Statistics{% endblock %}
{% block head %}