Skip to content

Commit

Permalink
Update theme docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimafisk committed May 17, 2022
1 parent 6bec17b commit 3b08719
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions content/docs/new-site.json
Expand Up @@ -37,8 +37,8 @@
"Creates a minimalist site scaffolding with less default content."
],
[
"<code>--theme=\"git@github.com:user/repo\"</code>",
"<code>-t=\"git@github.com:user/repo\"</code>",
"<code>--theme=\"https://github.com/user/repo\"</code>",
"<code>-t=\"https://github.com/user/repo\"</code>",
"Point to a Git repository to use a base theme for your site."
]
]
Expand All @@ -47,4 +47,4 @@
]
}
]
}
}
6 changes: 3 additions & 3 deletions layouts/content/themes.svelte
Expand Up @@ -17,11 +17,11 @@

<div class="install">
<div>Start a new project using this theme:</div>
<div><code>plenti new site my-site --theme=git@github.com:plenti-themes/{machine_name}</code></div>
<div><code>plenti new site my-site --theme=https://github.com/plenti-themes/{machine_name}</code></div>
<details>
<summary>Or add this theme to an existing project:</summary>
<ol>
<li><code>plenti theme add git@github.com:plenti-themes/{machine_name}</code></li>
<li><code>plenti theme add https://github.com/plenti-themes/{machine_name}</code></li>
<li><code>plenti theme enable {machine_name}</code></li>
<li>Make sure you manually copy any route overrides and delete conflicting content or layouts.</li>
</ol>
Expand Down Expand Up @@ -81,4 +81,4 @@
height: auto;
}
}
</style>
</style>

0 comments on commit 3b08719

Please sign in to comment.