HTML Hosting Runtime Variables: Update Content Without Re-uploading

Create a pst5_ key, place it directly in hosted HTML, and update its value without uploading the page again.

ADAdvertisement
HTML Hosting Runtime Variables: Update Content Without Re-uploading

Runtime variables separate values that change from the HTML that rarely changes. A phone number, price label or announcement can be updated from the Dashboard without uploading the file again.

Use the exact variable syntax

Create a variable with a key that begins with pst5_, such as pst5_campaign_phone. Write that exact text directly in the HTML; braces are not needed.

<a href="tel:pst5_campaign_phone">pst5_campaign_phone</a>

At render time every exact occurrence of the key is replaced with its value. Matching is literal, so check spelling and case when a value remains unchanged.

Publish step by step

  1. Create a key beginning with pst5_ in HTML Hosting Variables.
  2. Place the exact key in the HTML, attach the variable and test the rendered page.
Open HTML Hosting

Update it later

You can replace the uploaded file or GitHub source later. If the public page still shows an older version, use the page's Clean cache action and test again.

Important boundaries

Runtime variables are public page content, not secrets or server environment variables. Do not place passwords, tokens or private data in them.

Frequently asked questions

Do variable keys need braces?

Create a variable with a key that begins with pst5_, such as pst5_campaign_phone. Write that exact text directly in the HTML; braces are not needed.

Are all matching variable keys replaced?

At render time every exact occurrence of the key is replaced with its value. Matching is literal, so check spelling and case when a value remains unchanged.

Can I store secrets in a runtime variable?

Runtime variables are public page content, not secrets or server environment variables. Do not place passwords, tokens or private data in them.

Why is the old version still visible?

You can replace the uploaded file or GitHub source later. If the public page still shows an older version, use the page's Clean cache action and test again.

Continue through the HTML Hosting guides

These guides cover the same verified one-page hosting workflow from different angles.

ADAdvertisement