forked from pytorch/pytorch.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_started.html
61 lines (52 loc) · 1.93 KB
/
get_started.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body class="{{ page.body-class }}">
{% include tag_manager_script.html %} {% include header.html %}
<div class="main-background {{ page.background-class }}"></div>
{% assign items = site.get_started | where: "published",true | sort: "order"
%}
<div class="jumbotron jumbotron-fluid on-dark-background">
<div class="container">
<h1>Get Started</h1>
<p class="lead">
Select preferences and run the command to install PyTorch locally, or
get started quickly with one of the supported cloud platforms.
</p>
</div>
</div>
<div class="main-content-wrapper">
<div class="main-content">
<div class="container-fluid nav-menu-wrapper">
<div class="container">
<nav class="navbar navbar-expand-lg navbar-light main-content-menu">
<ul class="navbar-nav">
{% for item in items %}
<li class="nav-item nav-select">
<a
class="nav-link get-started-nav-link"
data-id="{{ item.slug }}"
href="{{ site.baseurl }}{{ item.permalink }}"
>{{ item.title }}</a
>
</li>
{% endfor %}
</ul>
</nav>
</div>
</div>
<div class="container">
{% if page.get-started-locally == true %} {% include
get_started_locally.html %} {% elsif page.order == 2 %} {% include
pytorch.html %} {% elsif page.get-started-via-cloud == true %} {%
include get_started_via_cloud.html %} {% else %}
<div class="article-wrapper" data-id="{{ item.slug }}">
<article class="pytorch-article">{{ content }}</article>
</div>
{% endif %}
</div>
</div>
</div>
{% include footer.html %}
</body>
</html>