Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
[#95] Atualiza exemplos de frontpress.json
Browse files Browse the repository at this point in the history
  • Loading branch information
teles committed Dec 9, 2016
1 parent be9564e commit 7e83d51
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 14 deletions.
22 changes: 15 additions & 7 deletions frontpress.json.v1.sample
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
{
"restApiUrl": "https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com",
"apiVersion": "v1",
"pageSize": "5",
"disqusShortname": "frontpress",
"overrides": {
"title": "FrontPress - This title is overwritten by frontpress.json configuration file."
}
"restApiUrl": "https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com",
"apiVersion": "v1",
"pageSize": "5",
"infiniteScroll": true,
"routes": {
"post": "/:postYear/:postMonth/:postDay/:postSlug",
"home.pagination": "/pagina/:pageNumber"
},
"titles": {
"post": ":postTitle - :siteName",
"home": "Home - :siteName"
},
"overrides": {
"siteName": "FrontPress Default Template"
}
}
22 changes: 15 additions & 7 deletions frontpress.json.v2.sample
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
{
"restApiUrl": "https://www.vivadecora.com.br/revista/wp-json",
"apiVersion": "v2",
"pageSize": "5",
"disqusShortname": "frontpress",
"overrides": {
"title": "FrontPress - This title is overwritten by frontpress.json configuration file."
}
"restApiUrl": "https://demo.wp-api.org/wp-json",
"apiVersion": "v2",
"pageSize": "5",
"infiniteScroll": true,
"routes": {
"post": "/:postYear/:postMonth/:postDay/:postSlug",
"home.pagination": "/pagina/:pageNumber"
},
"titles": {
"post": ":postTitle - :siteName",
"home": "Home - :siteName"
},
"overrides": {
"siteName": "FrontPress Default Template"
}
}

0 comments on commit 7e83d51

Please sign in to comment.