Browse Source

fix get started button

Artur Paikin 7 years ago
parent
commit
6e84dd2ca1
2 changed files with 3 additions and 4 deletions
  1. 2 3
      website/src/docs/plugins.md
  2. 1 1
      website/themes/uppy/layout/index.ejs

+ 2 - 3
website/src/docs/plugins.md

@@ -63,14 +63,13 @@ uppy.use(GoogleDrive, {target: Dashboard, host: 'http://localhost:3020'})
 
 ### `setMetaFromTargetForm`
 
-If `setMetaFromTargetForm === true`, UI acquire type plugins, like Dashboard, FileInput and DragDrop, before mounting themselves or doing anything else, will extract FormData
-from the target `<form>` element (it must be a form currently), and merge the object with the global `uppy.state.meta`.
+If `setMetaFromTargetForm === true`, UI acquire type plugins, like Dashboard, FileInput and DragDrop, before mounting themselves or doing anything else, will extract FormData from the target `<form>` element (it must be a form currently), and merge the object with the global `uppy.state.meta`.
 
 If you have a form like this one:
 
 ```html
 <form class="MyForm" action="/">
-  <input type="file" />
+  <input type="file">
   <input type="hidden" name="bla" value="12333">
   <input type="text" name="yo" value="1">
   <button type="submit">Upload</button>

+ 1 - 1
website/themes/uppy/layout/index.ejs

@@ -35,7 +35,7 @@
     <%- partial('partials/frontpage-code-sample') %>
   </div>
 
-  <a class="GetStartedBtn" href="/guide/index.html">Get Started</a>
+  <a class="GetStartedBtn" href="/docs/">Get Started</a>
 </section>
 
 <section class="IndexAbout">