Skip to content

Commit 8ecfe8d

Browse files
bphbgrgicak
andauthored
Update Kanso theme install (#120)
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]>
1 parent b896532 commit 8ecfe8d

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

blueprints/install-activate-setup-theme-from-gh-repo/blueprint.json

+12-15
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,28 @@
3131
},
3232
{
3333
"step": "installTheme",
34-
"themeZipFile": {
35-
"resource": "url",
36-
"url": "https://github-proxy.com/proxy/?repo=richtabor/kanso&branch=main"
34+
"themeData": {
35+
"resource":"url",
36+
"url": "https://github.com/richtabor/kanso/archive/refs/heads/main.zip"
3737
},
3838
"options": {
3939
"activate": true
4040
}
41-
},
41+
},
4242
{
4343
"step": "importWxr",
4444
"file": {
4545
"resource": "url",
46-
"url": "https://raw.githubusercontent.com/WordPress/blueprints/trunk/blueprints/install-activate-setup-theme-from-gh-repo/blueprint-content.xml"
47-
}
48-
},
49-
{
50-
"step": "setSiteOptions",
51-
"options": {
52-
"blogname": "Rich Tabor",
53-
"blogdescription": "Multidisciplinary maker specializing in the intersection of product, design and engineering. Making WordPress.",
54-
"show_on_front": "page",
55-
"page_on_front": 6,
56-
"page_for_posts": 2
46+
"url": "https://github.com/WordPress/blueprints/blob/trunk/blueprints/install-activate-setup-theme-from-gh-repo/blueprint-content.xml"
5747
}
5848
}
5949
],
50+
"siteOptions": {
51+
"blogname": "Rich Tabor",
52+
"blogdescription": "Multidisciplinary maker specializing in the intersection of product, design and engineering. Making WordPress.",
53+
"show_on_front": "page",
54+
"page_on_front": "6",
55+
"page_for_posts": "2"
56+
},
6057
"plugins": ["todo-list-block", "markdown-comment-block"]
6158
}

0 commit comments

Comments
 (0)