quant page
Deploy a single HTML page to QuantCDN at a specific URL. Use this for hotfixes or one-off page uploads; for full-site deploys use quant deploy.
Synopsis
Section titled “Synopsis”quant page <file> <location> [options]Description
Section titled “Description”quant page uploads one HTML file and makes it available at location. By default the CLI normalises URLs by stripping index.html — so deploying about.html to /about serves at /about/. Pass --enable-index-html to keep index.html in URLs.
For non-HTML assets (CSS, JS, images), use quant file instead.
Arguments
Section titled “Arguments”| Name | Description |
|---|---|
file |
Path to the local HTML file (required). |
location |
The URL path the page should be available at (required). |
Options
Section titled “Options”| Flag | Description | Default |
|---|---|---|
--enable-index-html |
Keep index.html in URLs. |
false |
Examples
Section titled “Examples”Deploy a page
Section titled “Deploy a page”quant page index.html /aboutDeploy keeping index.html in the URL
Section titled “Deploy keeping index.html in the URL”quant page about.html /about --enable-index-htmlSee also
Section titled “See also”quant file— deploy a non-HTML asset.quant deploy— deploy a directory.
