diff --git a/content/en/hosting-and-deployment/hugo-deploy.md b/content/en/hosting-and-deployment/hugo-deploy.md index 178c9b176..1156b2fee 100644 --- a/content/en/hosting-and-deployment/hugo-deploy.md +++ b/content/en/hosting-and-deployment/hugo-deploy.md @@ -54,7 +54,7 @@ In the configuration file for your site, add a `[deployment]` section with one or more `[[deployment.targets]]` section, one for each deployment target. Here's a detailed example: -``` +```toml [deployment] # By default, files are uploaded in an arbitrary order. # Files that match the regular expressions in the "Order" list @@ -116,7 +116,8 @@ gzip = true ## Deploy To deploy to a target: -``` + +```bash hugo deploy [--target=, defaults to first target] ```