Skip to content

Commit 148203d

Browse files
committed
Fix mobile and tutorials link
1 parent 61e0c0e commit 148203d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_sass/_home.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
font-size: 18px;
4242
line-height: 1.55em;
4343
letter-spacing: 0em;
44-
margin-bottom: 50px;
44+
margin-bottom: 25px;
4545
}
4646

4747
.btn {

index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h4>Browse projects built using PyTorch.</h4>
7878
<img src="/static/img/tutorials.svg">
7979
<h3>Tutorials</h3>
8080
<h4>Learn how to use the PyTorch library</h4>
81-
<a class="btn" href="/tutorials/intro/">Browse Tutorials</a>
81+
<a class="btn" href="https://github.com/pytorch/tutorials">Browse Tutorials</a>
8282
</div>
8383
</div>
8484
</div>
@@ -87,7 +87,7 @@ <h4>Learn how to use the PyTorch library</h4>
8787

8888
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
8989
<script>
90-
90+
9191
(function($, cmdMap) {
9292
var cmdTxt = $('.command .text');
9393
var opts = {
@@ -98,7 +98,7 @@ <h4>Learn how to use the PyTorch library</h4>
9898
};
9999

100100
function buildMatcher() {
101-
return opts.pm.toLowerCase() + ',' + opts.os.toLowerCase() + ',cuda'
101+
return opts.pm.toLowerCase() + ',' + opts.os.toLowerCase() + ',cuda'
102102
+ opts.cuda.toLowerCase() + ',python' + opts.python.toLowerCase();
103103
}
104104

0 commit comments

Comments
 (0)