Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions get/index.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@ <h1>Will you read the code in the JavaScript and CSS files?</h1>
No, give me something compressed
</label>
</article>
<article>
<h1>What browser support do you need?</h1>
<label>
<input type="radio" property name="transpile" value="" checked>
Modern browsers only
</label>
<label>
<input type="radio" name="transpile" value="es5">
Slightly older browsers <em>+ 20% filesize</em>
</label>
</article>
<article>
<h1>Feeling adventurous?</h1>
<label>
Expand All @@ -58,11 +47,14 @@ <h1>Feeling adventurous?</h1>
</article>
</div>

<meta property="filename" content="mavo[if(transpile, '.' & transpile)][if(minify, '.' & min)].js">
<meta property="filename" content="mavo[if(minify, '.' & min)].js">

<p>Now copy and paste the following code in your page’s <code>&lt;head></code> section, or click on the links below to download these files locally:</p>
<pre class="language-foo"><code>&lt;script src="<a href="https://get.mavo.io/[path][filename]" download>https://get.mavo.io/[path][filename]</a>">&lt;/script>
&lt;link rel="stylesheet" href="<a href="https://get.mavo.io/[path]mavo[if(minify, '.' & min)].css" download>https://get.mavo.io/[path]mavo[if(minify, '.' & min)].css</a>"></code></pre>

<p>Looking for another option? You have the choice to <a href="https://www.npmjs.com/package/mavo">install Mavo via npm</a>:</p>
<pre class="language-foo"><code>npm install mavo</code></pre>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this should be an option. If they select it, they get appropriate instructions. e.g. npm install mavo@version etc

</section>

<section mv-app id="releases" mv-source="https://api.github.com/repos/mavoweb/mavo/releases"
Expand Down