Skip to content

Commit 65e33c6

Browse files
author
Sagar Jain
committed
feat: code cleanup
1 parent 3aa23ad commit 65e33c6

File tree

258 files changed

+241
-13589
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+241
-13589
lines changed

gatsby-config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ module.exports = {
4242
resolve: `gatsby-wordpress-inline-images`,
4343
options: {
4444
baseUrl: `${process.env.GATSBY_WORDPRESS_URL_PATH}`,
45-
protocol: `${process.env.GATSBY_WORDPRESS_URL_PROTOCOL}`
45+
protocol: `${process.env.GATSBY_WORDPRESS_URL_PROTOCOL}`,
46+
maxWidth: 960,
47+
withWebp: true
4648
}
4749
}],
4850
hostingWPCOM: false,
@@ -134,7 +136,7 @@ module.exports = {
134136
profile: process.env.GATSBY_FACEBOOK_SOURCE,
135137
width: 340,
136138
height: 500,
137-
tabs: 'timeline',
139+
tabs: 'timeline, events, messages',
138140
hideCover: false,
139141
showFacepile: true,
140142
smallHeader: false,
@@ -148,7 +150,7 @@ module.exports = {
148150
{
149151
resolve: 'gatsby-plugin-offline',
150152
options: {
151-
precachePages: ['/posts/*', '/post/*', '/about/'],
153+
precachePages: ['/', '/posts/*', '/post/*', '/tag/*', '/category/*', '/about/']
152154
}
153155
}
154156
]

public/404.html

Lines changed: 0 additions & 17 deletions
This file was deleted.

public/404/index.html

Lines changed: 0 additions & 17 deletions
This file was deleted.

public/about/index.html

Lines changed: 0 additions & 89 deletions
This file was deleted.

public/app-d76971688c83c09b25ff.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

public/app-d76971688c83c09b25ff.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/category/adventure/index.html

Lines changed: 0 additions & 106 deletions
This file was deleted.

public/category/food/index.html

Lines changed: 0 additions & 113 deletions
This file was deleted.

public/category/life/index.html

Lines changed: 0 additions & 106 deletions
This file was deleted.

public/category/nature/index.html

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)