diff --git a/app/templates/jobs/job.html.j2 b/app/templates/jobs/job.html.j2
index a5fe69240aee3bedf2fb5f918853f72ad72931fb..c4db01b4cd3c60d924b7116a6b31ede1c65573d5 100644
--- a/app/templates/jobs/job.html.j2
+++ b/app/templates/jobs/job.html.j2
@@ -1,6 +1,6 @@
 {% extends "nopaque.html.j2" %}
 
-{% set title = '<i class="material-icons left service" data-service="{service}" style="font-size: inherit;"></i>Job'.format(service=job.service) %}
+{% set headline = '<i class="material-icons left service" data-service="{service}" style="font-size: inherit;"></i>Job'.format(service=job.service) %}
 
 {% block page_content %}
 <div class="col s12 m4">
diff --git a/app/templates/nopaque.html.j2 b/app/templates/nopaque.html.j2
index bb36c5f91c2b4e93afff7ad0cbbeb3c161a81d81..bfb03e6f2e753fcd0b0e0d0cc5bd89cdef65c357 100644
--- a/app/templates/nopaque.html.j2
+++ b/app/templates/nopaque.html.j2
@@ -7,7 +7,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>
       nopaque
-      {% if title and not url_for(request.endpoint) == url_for('main.index') %}
+      {% if title and request.path != url_for('main.index') %}
       – {{ title }}
       {% endif %}
     </title>