diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html
index 13c461173b..104366c8c4 100644
--- a/lms/templates/navigation.html
+++ b/lms/templates/navigation.html
@@ -1,6 +1,6 @@
## mako
<%namespace name='static' file='static_content.html'/>
-<%namespace file='main.html' import="login_query"/>
+<%namespace file='main.html' import="login_query, stanford_theme_enabled"/>
<%!
from django.core.urlresolvers import reverse
@@ -10,6 +10,9 @@ import branding
from status.status import get_site_status_msg
%>
+## Provide a hook for themes to inject branding on top.
+<%block name="navigation_top" />
+
<%block cached="False">
<%
try:
@@ -38,9 +41,12 @@ site_status_msg = get_site_status_msg(course_id)