Skip to content

Commit

Permalink
Update Kanso theme install (#120)
Browse files Browse the repository at this point in the history
Fixes #95 

- Use `siteOptions` shorthand, 
- change types from numbers to string?
- no `https://raw.githubusercontent.com` for wrx url 
- no github-proxy.com anymore. 
- Use https://github.com/richtabor/kanso/archive/refs/heads/main.zip
strait from the repo

---------

Co-authored-by: Bero <[email protected]>
  • Loading branch information
bph and bgrgicak authored Feb 7, 2025
1 parent b896532 commit 8ecfe8d
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions blueprints/install-activate-setup-theme-from-gh-repo/blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,31 +31,28 @@
},
{
"step": "installTheme",
"themeZipFile": {
"resource": "url",
"url": "https://github-proxy.com/proxy/?repo=richtabor/kanso&branch=main"
"themeData": {
"resource":"url",
"url": "https://github.com/richtabor/kanso/archive/refs/heads/main.zip"
},
"options": {
"activate": true
}
},
},
{
"step": "importWxr",
"file": {
"resource": "url",
"url": "https://raw.githubusercontent.com/WordPress/blueprints/trunk/blueprints/install-activate-setup-theme-from-gh-repo/blueprint-content.xml"
}
},
{
"step": "setSiteOptions",
"options": {
"blogname": "Rich Tabor",
"blogdescription": "Multidisciplinary maker specializing in the intersection of product, design and engineering. Making WordPress.",
"show_on_front": "page",
"page_on_front": 6,
"page_for_posts": 2
"url": "https://github.com/WordPress/blueprints/blob/trunk/blueprints/install-activate-setup-theme-from-gh-repo/blueprint-content.xml"
}
}
],
"siteOptions": {
"blogname": "Rich Tabor",
"blogdescription": "Multidisciplinary maker specializing in the intersection of product, design and engineering. Making WordPress.",
"show_on_front": "page",
"page_on_front": "6",
"page_for_posts": "2"
},
"plugins": ["todo-list-block", "markdown-comment-block"]
}

0 comments on commit 8ecfe8d

Please sign in to comment.