diff --git a/build/css-renamer.go b/build/css-renamer.go
index ca31c2c..0cf6331 100644
--- a/build/css-renamer.go
+++ b/build/css-renamer.go
@@ -37,7 +37,7 @@ func getCssFilesPaths() []string {
 		panic(err)
 	}
 	for _, file := range files {
-		paths = append(paths, "/static/styles/"+file.Name())
+		paths = append(paths, "static/styles/"+file.Name())
 	}
 	return paths
 }
@@ -47,7 +47,7 @@ func createCssMap() map[string]string {
 	var cssMap = make(map[string]string)
 	origPaths := getCssFilesPaths()
 	for _, origPath := range origPaths {
-		newPath := "/static/styles/" + randomString(10) + ".css"
+		newPath := "static/styles/" + randomString(10) + ".css"
 		cssMap[origPath] = newPath
 	}
 
diff --git a/templates/components/footer.html b/templates/components/footer.html
index 7234109..0452790 100644
--- a/templates/components/footer.html
+++ b/templates/components/footer.html
@@ -2,7 +2,7 @@
   <footer class="py-4">
     <div class="container text-center">
       <a href="https://github.com/yanislav-igonin/micrach" target="blank">
-        <img class="github-icon" src="/static/icons/github.svg" alt="github icon">
+        <img class="github-icon" src="static/icons/github.svg" alt="github icon">
       </a>
     </div>
   </footer>
diff --git a/templates/head/static.html b/templates/head/static.html
index a8b980d..e49152f 100644
--- a/templates/head/static.html
+++ b/templates/head/static.html
@@ -10,7 +10,7 @@
     integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj"
     crossorigin="anonymous">
   </script>
-  <link rel="icon" href="/static/favicon.ico"/>
-  <link href="/static/styles/utils.css" rel="stylesheet">
-  <link href="/static/styles/post-form.css" rel="stylesheet">
+  <link rel="icon" href="static/favicon.ico"/>
+  <link href="static/styles/utils.css" rel="stylesheet">
+  <link href="static/styles/post-form.css" rel="stylesheet">
 {{ end }}
diff --git a/templates/pages/400.html b/templates/pages/400.html
index 0057cda..4376734 100644
--- a/templates/pages/400.html
+++ b/templates/pages/400.html
@@ -2,7 +2,7 @@
 <html lang="en">
 <head>
   {{ template "static" }}
-  <link href="/static/styles/error-image.css" rel="stylesheet">
+  <link href="static/styles/error-image.css" rel="stylesheet">
   {{ template "meta-tags-static" }}
 </head>
 
@@ -13,7 +13,7 @@
     <a href="/" class="error-image-link">
       <img
         class="error-image"
-        src="/static/images/errors/404.png"
+        src="static/images/errors/404.png"
         alt="Bad request"
       >
     </a>
diff --git a/templates/pages/404.html b/templates/pages/404.html
index 614a3d4..25cfd57 100644
--- a/templates/pages/404.html
+++ b/templates/pages/404.html
@@ -2,7 +2,7 @@
 <html lang="en">
 <head>
   {{ template "static" }}
-  <link href="/static/styles/error-image.css" rel="stylesheet">
+  <link href="static/styles/error-image.css" rel="stylesheet">
   {{ template "meta-tags-static" }}
 </head>
 
@@ -13,7 +13,7 @@
     <a href="/" class="error-image-link">
       <img
         class="error-image"
-        src="/static/images/errors/404.png"
+        src="static/images/errors/404.png"
         alt="Not found"
       >
     </a>
diff --git a/templates/pages/500.html b/templates/pages/500.html
index 3215fa5..15f4fd1 100644
--- a/templates/pages/500.html
+++ b/templates/pages/500.html
@@ -2,7 +2,7 @@
 <html lang="en">
 <head>
   {{ template "static" }}
-  <link href="/static/styles/error-image.css" rel="stylesheet">
+  <link href="static/styles/error-image.css" rel="stylesheet">
   {{ template "meta-tags-static" }}
 </head>
 
@@ -13,7 +13,7 @@
     <a href="/" class="error-image-link">
       <img
         class="error-image"
-        src="/static/images/errors/500.png"
+        src="static/images/errors/500.png"
         alt="All broken"
       >
     </a>
diff --git a/templates/pages/index.html b/templates/pages/index.html
index 32a1204..edddc7b 100644
--- a/templates/pages/index.html
+++ b/templates/pages/index.html
@@ -3,7 +3,7 @@
 
 <head>
   {{ template "static" }}
-  <link href="/static/styles/index.css" rel="stylesheet">
+  <link href="static/styles/index.css" rel="stylesheet">
   {{ template "meta-tags-static" }}
 </head>
 
diff --git a/templates/pages/thread.html b/templates/pages/thread.html
index 4671a2f..aa6da5a 100644
--- a/templates/pages/thread.html
+++ b/templates/pages/thread.html
@@ -6,8 +6,8 @@
 <head>
   {{ template "static" }}
   {{ template "meta-tags-dynamic" $FirstPost }}
-  <link href="/static/styles/thread.css" rel="stylesheet">
-  <link href="/static/styles/post.css" rel="stylesheet">
+  <link href="static/styles/thread.css" rel="stylesheet">
+  <link href="static/styles/post.css" rel="stylesheet">
 </head>
 
 <body>