mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Use some vars for key urls for easier updating
This commit is contained in:
parent
a285a3db3f
commit
305455a9b3
17
_config.yml
17
_config.yml
@ -1,11 +1,16 @@
|
|||||||
# Dependencies
|
# Dependencies
|
||||||
markdown: rdiscount
|
markdown: rdiscount
|
||||||
pygments: true
|
pygments: true
|
||||||
|
|
||||||
# Permalinks
|
# Permalinks
|
||||||
permalink: pretty
|
permalink: pretty
|
||||||
|
|
||||||
# Server
|
# Server
|
||||||
destination: ./_gh_pages
|
destination: ./_gh_pages
|
||||||
exclude: [".editorconfig", ".gitignore", ".ruby-version", "bower.json", "composer.json", "CONTRIBUTING.md", "LICENSE", "Makefile", "package.json", "node_modules", "README.md", "less"]
|
exclude: [".editorconfig", ".gitignore", ".ruby-version", "bower.json", "composer.json", "CONTRIBUTING.md", "LICENSE", "Makefile", "package.json", "node_modules", "README.md", "less"]
|
||||||
port: 9001
|
port: 9001
|
||||||
|
|
||||||
|
# Custom vars
|
||||||
|
repo: https://github.com/twbs/bootstrap
|
||||||
|
download: https://github.com/twbs/bootstrap/archive/v3.0.0-rc1.zip
|
||||||
|
download_dist: https://github.com/twbs/bootstrap/archive/v3.0.0-rc1-dist.zip
|
||||||
|
@ -40,9 +40,9 @@
|
|||||||
<ul class="footer-links">
|
<ul class="footer-links">
|
||||||
<li><a href="http://blog.getbootstrap.com">Blog</a></li>
|
<li><a href="http://blog.getbootstrap.com">Blog</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twbs/bootstrap/issues?state=open">Issues</a></li>
|
<li><a href="{{ site.repo }}/issues?state=open">Issues</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twbs/bootstrap/releases">Releases</a></li>
|
<li><a href="{{ site.repo }}/releases">Releases</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
@ -51,9 +51,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Quick back to top -->
|
<!-- Quick back to top -->
|
||||||
<a href="#" class="bs-top">
|
<a href="#" class="bs-top">Back to top</a>
|
||||||
Back to top
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<!-- Footer
|
<!-- Footer
|
||||||
================================================== -->
|
================================================== -->
|
||||||
@ -65,9 +63,9 @@
|
|||||||
<ul class="footer-links">
|
<ul class="footer-links">
|
||||||
<li><a href="http://blog.getbootstrap.com">Blog</a></li>
|
<li><a href="http://blog.getbootstrap.com">Blog</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twbs/bootstrap/issues?state=open">Issues</a></li>
|
<li><a href="{{ site.repo }}/issues?state=open">Issues</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twbs/bootstrap/releases">Releases</a></li>
|
<li><a href="{{ site.repo }}/releases">Releases</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<ul class="bs-masthead-links">
|
<ul class="bs-masthead-links">
|
||||||
<li>
|
<li>
|
||||||
<a href="http://github.com/twbs/bootstrap" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a>
|
<a href="{{ site.repo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="http://examples.getbootstrap.com" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
|
<a href="http://examples.getbootstrap.com" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
|
||||||
|
@ -16,18 +16,18 @@ lead: "An overview of Bootstrap, how to download and use, basic templates and ex
|
|||||||
|
|
||||||
<h3>Download compiled CSS and JS</h3>
|
<h3>Download compiled CSS and JS</h3>
|
||||||
<p class="lead">The fastest way to get started is to get the compiled and minified versions of our CSS and JavaScript. No documentation or original source files are included.</p>
|
<p class="lead">The fastest way to get started is to get the compiled and minified versions of our CSS and JavaScript. No documentation or original source files are included.</p>
|
||||||
<p><a class="btn btn-large btn-primary" href="assets/bootstrap.zip" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download compiled']);">Download Bootstrap</a></p>
|
<p><a class="btn btn-large btn-primary" href="{{ site.download_dist }}" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download compiled']);">Download Bootstrap</a></p>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h3 id="download-options">More download options</h3>
|
<h3 id="download-options">More download options</h3>
|
||||||
<div class="bs-docs-dl-options">
|
<div class="bs-docs-dl-options">
|
||||||
<h4>
|
<h4>
|
||||||
<a href="https://github.com/twbs/bootstrap/zipball/master" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);">Download latest source code</a>
|
<a href="{{ site.download }}" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);">Download latest source code</a>
|
||||||
</h4>
|
</h4>
|
||||||
<p>Get the original files for all CSS and JavaScript by downloading the latest version directly from GitHub.</p>
|
<p>Get the original files for all CSS and JavaScript by downloading the latest version directly from GitHub.</p>
|
||||||
<h4>
|
<h4>
|
||||||
<a href="https://github.com/twbs/bootstrap/" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'GitHub project']);">Clone or fork via GitHub</a>
|
<a href="{{ site.repo }}" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'GitHub project']);">Clone or fork via GitHub</a>
|
||||||
</h4>
|
</h4>
|
||||||
<p>Clone the entire project or fork your own version of Bootstrap to make it your own by visiting us on GitHub.</p>
|
<p>Clone the entire project or fork your own version of Bootstrap to make it your own by visiting us on GitHub.</p>
|
||||||
<h4>
|
<h4>
|
||||||
@ -43,10 +43,10 @@ lead: "An overview of Bootstrap, how to download and use, basic templates and ex
|
|||||||
<p>The folks over at <a href="https://www.netdna.com/">NetDNA</a> have graciously provided CDN support for Bootstrap's CSS and JavaScript. To use, swap your local instances for the <a href="http://www.bootstrapcdn.com/">Bootstrap CDN</a> links listed below.</p>
|
<p>The folks over at <a href="https://www.netdna.com/">NetDNA</a> have graciously provided CDN support for Bootstrap's CSS and JavaScript. To use, swap your local instances for the <a href="http://www.bootstrapcdn.com/">Bootstrap CDN</a> links listed below.</p>
|
||||||
{% highlight html linenos %}
|
{% highlight html linenos %}
|
||||||
<!-- Latest compiled and minified CSS -->
|
<!-- Latest compiled and minified CSS -->
|
||||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
|
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css">
|
||||||
|
|
||||||
<!-- Latest compiled and minified JavaScript -->
|
<!-- Latest compiled and minified JavaScript -->
|
||||||
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
|
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/js/bootstrap.min.js"></script>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<div class="bs-callout bs-callout-warning" id="callout-less-compilation">
|
<div class="bs-callout bs-callout-warning" id="callout-less-compilation">
|
||||||
|
@ -8,7 +8,7 @@ title: Bootstrap
|
|||||||
<h1>Bootstrap 3</h1>
|
<h1>Bootstrap 3</h1>
|
||||||
<p class="lead">Sleek, intuitive, and powerful mobile-first front-end framework for faster and easier web development.</p>
|
<p class="lead">Sleek, intuitive, and powerful mobile-first front-end framework for faster and easier web development.</p>
|
||||||
<p>
|
<p>
|
||||||
<a href="assets/bootstrap.zip" class="btn btn-bs btn-large" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 3.0.0 RC1']);">Download Bootstrap</a>
|
<a href="{{ site.download_dist }}" class="btn btn-bs btn-large" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 3.0.0 RC1']);">Download Bootstrap</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user