diff --git a/js/customElements/mainMenu.js b/js/customElements/mainMenu.js
index 9be85c5f8248e0dddf8544781a8fd4703090be13..945d541661bd57df3753cbca267ae54a07f3ae69 100644
--- a/js/customElements/mainMenu.js
+++ b/js/customElements/mainMenu.js
@@ -16,6 +16,11 @@ class MainMenu extends HTMLElement {
                 a.innerText = element["name"];
 
                 menuContainer.appendChild(a);
+
+                if(window.location['pathname'] === element["url"]){
+                    document.title = element["name"] + " - Jonas Leder";
+                }
+
             } else if(element["type"] === "dropdown"){
                 let dropdown = document.createElement("div");
                 dropdown.className = "dropdown";
@@ -37,6 +42,10 @@ class MainMenu extends HTMLElement {
 
                     let br = document.createElement("br");
                     dropdownContent.appendChild(br);
+
+                    if(window.location['pathname'] === childElement["url"]){
+                        document.title = childElement["name"] + " - Jonas Leder";
+                    }
                 });
 
                 dropdown.appendChild(dropdownContent);
diff --git a/public/internal/header.php b/public/internal/header.php
index b065e9ec1deddb248a488226f4ecc72d537d5c89..e0582fd1ad8ac58ce6699eb36b07bc24aed736b0 100644
--- a/public/internal/header.php
+++ b/public/internal/header.php
@@ -10,7 +10,6 @@ function getHeader($pagetitle)
     <head >
         <meta charset = "UTF-8" >
         <meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
-        <title > $pagetitle - Jonas Leder </title >
     
         <link href = "/css/style.css" rel = "stylesheet" >
     </head >