Skip to content

Commit dc0bbcf

Browse files
committed
Changes download button in order to prevent outdated versioning
1 parent 33db619 commit dc0bbcf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/pages/index.soy

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ description: "Build UI components in a solid, flexible way."
2929
<h1 class="header-title">{$site.index.title}</h1>
3030
<h2 class="header-subtitle">{$site.index.description}</h2>
3131
<div class="header-cta">
32-
<a href="https://github.com/metal/metal.js/archive/v{$site.latestRelease}.zip" class="btn btn-accent">Download Metal.js v{$site.latestRelease}</a>
32+
<a href="https://github.com/metal/metal.js/archive/master.zip" class="btn btn-accent">Download Now</a>
3333
<a href="/docs/getting-started/" class="btn btn-default">Get Started</a>
3434
</div>
3535
</div>
3636
</header>
3737
{/template}
3838

3939
/**
40-
* @param site
40+
*
4141
*/
4242
{template .why}
4343
<article class="about">
@@ -46,7 +46,7 @@ description: "Build UI components in a solid, flexible way."
4646
<div class="col-md-12 col-md-offset-2">
4747
<h3 class="about-title">Start building today. Are you ready?</h3>
4848
<p class="about-description header-cta">
49-
<a href="https://github.com/metal/metal.js/archive/v{$site.latestRelease}.zip" class="btn btn-default">Download Metal.js v{$site.latestRelease}</a>
49+
<a href="https://github.com/metal/metal.js/archive/master.zip" class="btn btn-default">Download Now</a>
5050
</p>
5151
</div>
5252
</div>

src/site.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "Metal.js",
33
"githubRepo": "metal/metaljs.com",
4-
"googleAnalytics": "UA-37033501-7",
5-
"latestRelease": "2.9.0"
4+
"googleAnalytics": "UA-37033501-7"
65
}

0 commit comments

Comments
 (0)