Skip to content

Commit

Permalink
docs(pgs): _redirects copy
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Oct 20, 2023
1 parent bd85d12 commit 65a287c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
27 changes: 27 additions & 0 deletions pgs/html/help.page.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,36 @@
<li>woff</li>
<li>woff2</li>
<li>md</li>
<li>rss</li>
<li>xml</li>
<li>atom</li>
<li>map</li>
<li>webmanifest</li>
</ul>
</section>

<section id="redirects">
<h2 class="text-xl">
<a href="#redirects" rel="nofollow noopener">#</a>
User-defined Redirects
</h2>
<p>
We support custom redirects via a special file <code>_redirects</code>.
Read more about it at <a href="https://docs.netlify.com/routing/redirects">netflify</a>
</p>
</section>

<section id="spa">
<h2 class="text-xl">
<a href="#spa" rel="nofollow noopener">#</a>
Single-Page Applications (SPAs)
</h2>
<p>
pgs supports SPAs! Upload a <code>_redirects</code> file your project:
</p>
<pre>/* /index.html 200</pre>
</section>

<section id="custom-domain">
<h2 class="text-xl">
<a href="#custom-domain" rel="nofollow noopener">#</a>
Expand Down
4 changes: 3 additions & 1 deletion pgs/html/marketing.page.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
<li>Deploy via <code>scp -r ./public/* erock@{{.Site.Domain}}:/myproject</code></li>
<li>Promotion/rollback support (via symbolic linking from one project to another)</li>
<li>Managed HTTPS for all projects (e.g. https://erock-myproject.{{.Site.Domain}})</li>
<li>Custom domains for projects (managed simply by `TXT` records)</li>
<li><a href="/help#custom-domain">Custom domains</a> for projects (managed simply by `TXT` records)</li>
<li><a href="/help#redirects">User-defined redirects</a></li>
<li><a href="/help#spa">SPA support</a></li>
<li>1GB max storage</li>
<li>50MB max file size</li>
<li>All assets are public-only</li>
Expand Down

0 comments on commit 65a287c

Please sign in to comment.