repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
65a287c
parent
bd85d12
author
Eric Bower
date
2023-10-20 20:47:36 +0000 UTC
docs(pgs): `_redirects` copy
2 files changed,  +30, -1
M pgs/html/help.page.tmpl
+27, -0
 1@@ -108,9 +108,36 @@
 2       <li>woff</li>
 3       <li>woff2</li>
 4       <li>md</li>
 5+      <li>rss</li>
 6+      <li>xml</li>
 7+      <li>atom</li>
 8+      <li>map</li>
 9+      <li>webmanifest</li>
10     </ul>
11   </section>
12 
13+  <section id="redirects">
14+    <h2 class="text-xl">
15+      <a href="#redirects" rel="nofollow noopener">#</a>
16+      User-defined Redirects
17+    </h2>
18+    <p>
19+      We support custom redirects via a special file <code>_redirects</code>.
20+      Read more about it at <a href="https://docs.netlify.com/routing/redirects">netflify</a>
21+    </p>
22+  </section>
23+
24+  <section id="spa">
25+    <h2 class="text-xl">
26+      <a href="#spa" rel="nofollow noopener">#</a>
27+      Single-Page Applications (SPAs)
28+    </h2>
29+    <p>
30+      pgs supports SPAs!  Upload a <code>_redirects</code> file your project:
31+    </p>
32+    <pre>/*  /index.html  200</pre>
33+  </section>
34+
35   <section id="custom-domain">
36     <h2 class="text-xl">
37       <a href="#custom-domain" rel="nofollow noopener">#</a>
M pgs/html/marketing.page.tmpl
+3, -1
 1@@ -63,7 +63,9 @@
 2       <li>Deploy via <code>scp -r ./public/* erock@{{.Site.Domain}}:/myproject</code></li>
 3       <li>Promotion/rollback support (via symbolic linking from one project to another)</li>
 4       <li>Managed HTTPS for all projects (e.g. https://erock-myproject.{{.Site.Domain}})</li>
 5-      <li>Custom domains for projects (managed simply by `TXT` records)</li>
 6+      <li><a href="/help#custom-domain">Custom domains</a> for projects (managed simply by `TXT` records)</li>
 7+      <li><a href="/help#redirects">User-defined redirects</a></li>
 8+      <li><a href="/help#spa">SPA support</a></li>
 9       <li>1GB max storage</li>
10       <li>50MB max file size</li>
11       <li>All assets are public-only</li>