aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/getting-started/download.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-16 19:03:53 -0700
committerMark Otto <[email protected]>2014-03-16 19:03:53 -0700
commit2a43e7e78a59c70e217383c12c9ef0482cabb163 (patch)
tree8fc0b4560d171f63efb353d4c9965aa5c761d82c /docs/_includes/getting-started/download.html
parentbdb70fa471965728609d86c001384791fa44398b (diff)
downloadbootstrap-2a43e7e78a59c70e217383c12c9ef0482cabb163.tar.xz
bootstrap-2a43e7e78a59c70e217383c12c9ef0482cabb163.zip
Break up docs into includes
Diffstat (limited to 'docs/_includes/getting-started/download.html')
-rw-r--r--docs/_includes/getting-started/download.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html
new file mode 100644
index 000000000..e3adffd8b
--- /dev/null
+++ b/docs/_includes/getting-started/download.html
@@ -0,0 +1,46 @@
+<div class="bs-docs-section">
+ <h1 id="download" class="page-header">Download</h1>
+
+ <p class="lead">Bootstrap (currently v{{ site.current_version }}) has a few easy ways to quickly get started, each one appealing to a different skill level and use case. Read through to see what suits your particular needs.</p>
+
+ <div class="row bs-downloads">
+ <div class="col-sm-4">
+ <h3 id="download-bootstrap">Bootstrap</h3>
+ <p>Compiled and minified CSS, JavaScript, and fonts. No docs or original source files are included.</p>
+ <p>
+ <a href="{{ site.download.dist }}" class="btn btn-lg btn-outline" role="button" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download compiled']);">Download Bootstrap</a>
+ </p>
+ </div>
+ <div class="col-sm-4">
+ <h3 id="download-source">Source code</h3>
+ <p>Source Less, JavaScript, and font files, along with our docs. <strong>Requires a Less compiler and <a href="{{ site.repo }}#compiling-css-and-javascript">some setup.</a></strong></p>
+ <p>
+ <a href="{{ site.download.source }}" class="btn btn-lg btn-outline" role="button" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);">Download source</a>
+ </p>
+ </div>
+ <div class="col-sm-4">
+ <h3 id="download-sass">Sass</h3>
+ <p><a href="{{ site.sass_repo }}">Bootstrap ported from Less to Sass</a> for easy inclusion in Rails, Compass, or Sass-only projects.</p>
+ <p>
+ <a href="{{ site.download.sass }}" class="btn btn-lg btn-outline" role="button" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download Sass']);">Download Sass</a>
+ </p>
+ </div>
+ </div>
+
+ <h3 id="download-cdn">Bootstrap CDN</h3>
+ <p>The folks over at <a href="http://www.maxcdn.com/">MaxCDN</a> graciously provide CDN support for Bootstrap's CSS and JavaScript. Just use these <a href="http://www.bootstrapcdn.com/">Bootstrap CDN</a> links.</p>
+{% highlight html %}
+<!-- Latest compiled and minified CSS -->
+<link rel="stylesheet" href="{{ site.cdn.css }}">
+
+<!-- Optional theme -->
+<link rel="stylesheet" href="{{ site.cdn.css_theme }}">
+
+<!-- Latest compiled and minified JavaScript -->
+<script src="{{ site.cdn.js }}"></script>
+{% endhighlight %}
+
+ <h3 id="download-bower">Install with Bower</h3>
+ <p>Install and manage Bootstrap's Less, CSS, JavaScript, and fonts using <a href="http://bower.io">Bower</a>.</p>
+ {% highlight bash %}$ bower install bootstrap{% endhighlight %}
+</div>