diff --git a/404.html b/assets/404.html
similarity index 100%
rename from 404.html
rename to assets/404.html
diff --git a/feed.xml b/assets/feed.xml
similarity index 99%
rename from feed.xml
rename to assets/feed.xml
index d11f54a..7e2f4e7 100644
--- a/feed.xml
+++ b/assets/feed.xml
@@ -1,5 +1,6 @@
---
layout: compress
+permalink: /feed.xml
# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html
---
diff --git a/app.js b/assets/js/pwa/app.js
similarity index 88%
rename from app.js
rename to assets/js/pwa/app.js
index b821164..fff0cc6 100644
--- a/app.js
+++ b/assets/js/pwa/app.js
@@ -1,5 +1,6 @@
---
layout: compress
+permalink: '/app.js'
---
/* Registering Service Worker */
diff --git a/sw.js b/assets/js/pwa/sw.js
similarity index 98%
rename from sw.js
rename to assets/js/pwa/sw.js
index c8074db..1f85e3b 100644
--- a/sw.js
+++ b/assets/js/pwa/sw.js
@@ -1,5 +1,6 @@
---
layout: compress
+permalink: '/sw.js'
# PWA service worker
---
diff --git a/robots.txt b/assets/robots.txt
similarity index 82%
rename from robots.txt
rename to assets/robots.txt
index 681b4c6..45c34e0 100644
--- a/robots.txt
+++ b/assets/robots.txt
@@ -1,5 +1,5 @@
---
-permalink: robots.txt
+permalink: /robots.txt
# The robots rules
---
diff --git a/jekyll-theme-chirpy.gemspec b/jekyll-theme-chirpy.gemspec
index 79bef12..6b1add4 100644
--- a/jekyll-theme-chirpy.gemspec
+++ b/jekyll-theme-chirpy.gemspec
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").select { |f|
- f.match(%r!^((assets\/(css|img|js\/[a-z])|_(includes|layouts|sass|config|data|tabs|plugins))|README|LICENSE|index|feed|app|sw|404|robots)!i)
+ f.match(%r!^((assets\/(css|img|js\/[a-z])|_(includes|layouts|sass|config|data|tabs|plugins))|README|LICENSE|index)!i)
}
spec.metadata = {