1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 17:11:48 +02:00

Add a script to zip the built examples (#30130)

This commit is contained in:
XhmikosR
2020-04-29 21:03:26 +03:00
committed by GitHub
parent 7153c2c3bf
commit df88748eb7
5 changed files with 61 additions and 1 deletions

View File

@@ -14,6 +14,7 @@
<p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p>
{{ if eq .Title "Examples" }}
<a href="{{ .Site.Params.download.source }}" class="btn btn-lg btn-bd-primary" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download');">Download source code</a>
<a href="{{ .Site.Params.download.dist_examples }}" class="btn btn-lg btn-bd-primary mt-3 mt-sm-0 ml-sm-3 ml-md-5" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download Examples');">Download Examples</a>
{{ end }}
{{ partial "ads" . }}
</div>