Skip to content

Commit 069bac1

Browse files
committed
Reduce the external files required for gem installation
1 parent 60a399d commit 069bac1

File tree

6 files changed

+5
-2
lines changed

6 files changed

+5
-2
lines changed
File renamed without changes.

feed.xml renamed to assets/feed.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: compress
3+
permalink: /feed.xml
34
# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html
45
---
56

app.js renamed to assets/js/pwa/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: compress
3+
permalink: '/app.js'
34
---
45

56
/* Registering Service Worker */

sw.js renamed to assets/js/pwa/sw.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: compress
3+
permalink: '/sw.js'
34
# PWA service worker
45
---
56

robots.txt renamed to assets/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
permalink: robots.txt
2+
permalink: /robots.txt
33
# The robots rules
44
---
55

jekyll-theme-chirpy.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
1111
spec.license = "MIT"
1212

1313
spec.files = `git ls-files -z`.split("\x0").select { |f|
14-
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)
14+
f.match(%r!^((assets\/(css|img|js\/[a-z])|_(includes|layouts|sass|config|data|tabs|plugins))|README|LICENSE|index)!i)
1515
}
1616

1717
spec.metadata = {

0 commit comments

Comments
 (0)