You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+64-10Lines changed: 64 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,6 @@ Play with the [Demo](https://wp-libre-preview.draftbox.co/) to get a first impre
30
30
- Disqus Integration
31
31
- Composable and extensible
32
32
33
-
34
33
## Getting Started
35
34
36
35
1. Install this starter by running
@@ -80,30 +79,83 @@ A quick look at the top-level files and directories you'll see in a Gatsby proje
80
79
81
80
6.**`siteConfig`**: A config file for your website, which includes things like website url, title, Background color, theme color etc.
82
81
83
-
8.**`.wordpress-config.json`**: A config file containing config required to fetch data from wordpress such as url and content keys etc.
82
+
7.**`.wordpress-config.json`**: A config file containing config required to fetch data from wordpress such as url and content keys etc.
84
83
85
-
9.**`README.md`**: A text file containing useful reference information about your project.
84
+
8.**`README.md`**: A text file containing useful reference information about your project.
86
85
87
86
## Configure
88
87
89
88
```js
90
89
//siteConfig.js
91
90
module.exports= {
92
-
siteUrl:"http://localhost:9000", // Site domain. Do not include a trailing slash!
91
+
siteUrl:"https://wp-libre-preview.draftbox.co", // Site domain. Do not include a trailing slash!
93
92
94
-
postsPerPage:2, // Number of posts shown on paginated pages (changes this requires sometimes to delete the cache)
93
+
postsPerPage:10, // Number of posts shown on paginated pages (changes this requires sometimes to delete the cache)
95
94
96
-
siteTitleMeta:"Wordpress Gatsby Starter", // This allows an alternative site title for meta data for pages.
97
-
siteDescriptionMeta:
98
-
"A starter template to build amazing static websites with Wordpress and Gatsby", // This allows an alternative site description for meta data for pages.
95
+
siteTitleMeta:"Built with Draftbox", // This allows an alternative site title for meta data for pages.
96
+
siteDescriptionMeta:"New-age blogging platform", // This allows an alternative site description for meta data for pages.
99
97
100
98
shareImageWidth:1000, // Change to the width of your default share image
101
99
shareImageHeight:523, // Change to the height of your default share image
102
100
103
-
shortTitle:"Wordpress", // Used for App manifest e.g. Mobile Home Screen
101
+
shortTitle:"Built with Draftbox", // Used for App manifest e.g. Mobile Home Screen
104
102
siteIcon:"favicon.png", // Logo in /static dir used for SEO, RSS, and App manifest
105
103
backgroundColor:"#e9e9e9", // Used for Offline Manifest
106
-
themeColor:"#15171A"// Used for Offline Manifest
104
+
themeColor:"#15171A", // Used for Offline Manifest
105
+
apiUrl:"https://wordpress.theasdfghjkl.com",
106
+
subscribeWidget: {
107
+
title:"Subscribe to Draftbox",
108
+
helpText:"Get the latest posts delivered right to your inbox.",
109
+
successMessage:"Thanks for subscribing to Draftbox.",
0 commit comments