Skip to content

Commit c443cdb

Browse files
author
Sagar Jain
committed
feat: read more button added below each post excerpt, author name name and modified date displayed for each post
1 parent e9cdb05 commit c443cdb

File tree

281 files changed

+257
-13637
lines changed

Some content is hidden

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

281 files changed

+257
-13637
lines changed

gatsby-config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ module.exports = {
4444
baseUrl: `${process.env.GATSBY_WORDPRESS_URL_PATH}`,
4545
protocol: `${process.env.GATSBY_WORDPRESS_URL_PROTOCOL}`,
4646
maxWidth: 960,
47+
maxHeight: 600,
48+
quality: 85,
4749
withWebp: true
4850
}
4951
}],

gatsby-node.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,18 @@ exports.createPages = async ({
3333
wordpress_id
3434
title
3535
excerpt
36-
date
36+
date(formatString: "MMMM DD, YYYY")
37+
modified(formatString: "MMMM DD, YYYY")
38+
author {
39+
id
40+
name
41+
url
42+
description
43+
link
44+
slug
45+
path
46+
wordpress_id
47+
}
3748
featured_media {
3849
localFile {
3950
childImageSharp {

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-bd7caa1e561c818d40c2.js

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

public/app-bd7caa1e561c818d40c2.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.

0 commit comments

Comments
 (0)