Skip to content

Commit c6d0e46

Browse files
authored
Added Edge page, ExecuTorch page, and 4 blog posts (pytorch#1480)
* Added Contributor Awards page Signed-off-by: Chris Abraham <[email protected]> * Added PyTorch Edge page Signed-off-by: Chris Abraham <[email protected]> * Added ExecuTorch pages Signed-off-by: Chris Abraham <[email protected]> * update menu link Signed-off-by: Chris Abraham <[email protected]> * Update homepage promo boxes Signed-off-by: Chris Abraham <[email protected]> * Reduced size of topnav menu to fit "PyTorch Edge" Signed-off-by: Chris Abraham <[email protected]> * Added arrows to hero of each page Signed-off-by: Chris Abraham <[email protected]> * fixed some links Signed-off-by: Chris Abraham <[email protected]> * update link Signed-off-by: Chris Abraham <[email protected]> * Tweaks to the Edge page Signed-off-by: Chris Abraham <[email protected]> * Updates to pages Signed-off-by: Chris Abraham <[email protected]> * Fixed links Signed-off-by: Chris Abraham <[email protected]> * Replaced bullets with icons Signed-off-by: Chris Abraham <[email protected]> * fixed up mobile menu Signed-off-by: Chris Abraham <[email protected]> * minor tweaks Signed-off-by: Chris Abraham <[email protected]> * Update Ecosystem menu Signed-off-by: Chris Abraham <[email protected]> * Strips out Contributor Awards page Signed-off-by: Chris Abraham <[email protected]> * Remove contributor awards page Signed-off-by: Chris Abraham <[email protected]> * Added blog posts Signed-off-by: Chris Abraham <[email protected]> * Added PyTorch Edge blog post Signed-off-by: Chris Abraham <[email protected]> * Added blog post Signed-off-by: Chris Abraham <[email protected]> * Need to strip out html from excerpt to avoid orphaned open tags Signed-off-by: Chris Abraham <[email protected]> * fix typo Signed-off-by: Chris Abraham <[email protected]> * swap "partners" for "leaders" Signed-off-by: Chris Abraham <[email protected]> * Update blog publish dates to 10/17 Signed-off-by: Chris Abraham <[email protected]> --------- Signed-off-by: Chris Abraham <[email protected]>
1 parent 9641d22 commit c6d0e46

17 files changed

+621
-30
lines changed

_includes/main_menu.html

+22-15
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,40 @@
66

77
<li class="main-menu-item">
88
<div id="dropdownMenuButton" data-toggle="resources-dropdown" class="resources-dropdown">
9-
<a class="resource-option {% if (current[1] == {{ site.baseurl }} or current[1] == 'foundation' or current[1] == 'join') %}with-down-white-arrow{% else %}with-down-arrow{% endif %}" href="{{ site.baseurl }}/ecosystem">
9+
<a class="resource-option {% if (current[1] == {{ site.baseurl }} or current[1] == 'foundation' or current[1] == 'join' or current[1] == 'edge' or current[1] == 'executorch-overview') %}with-down-white-arrow{% else %}with-down-arrow{% endif %}">
1010
Ecosystem
1111
</a>
1212
<div class="resources-dropdown-menu">
1313
<a class="nav-dropdown-item" href="{{ site.baseurl}}/ecosystem">
1414
<span class="dropdown-title">Tools</span>
1515
<p>Learn about the tools and frameworks in the PyTorch Ecosystem</p>
1616
</a>
17-
<a class="nav-dropdown-item" href="{{ site.baseurl}}/ecosystem/pted/2021">
18-
<span class="dropdown-title">Ecosystem Day - 2021</span>
19-
<p>See the posters presented at ecosystem day 2021</p>
20-
</a>
21-
<a class="nav-dropdown-item" href="{{ site.baseurl}}/ecosystem/ptdd/2021">
22-
<span class="dropdown-title">Developer Day - 2021</span>
23-
<p>See the posters presented at developer day 2021</p>
24-
</a>
2517
<a class="nav-dropdown-item" href="{{ site.baseurl}}/ecosystem/ptc/2022">
2618
<span class="dropdown-title">PyTorch Conference - 2022</span>
27-
<p>See the posters presented at PyTorch conference - 2022</p>
19+
<p>See the posters presented at PyTorch Conference - 2022</p>
20+
</a>
21+
<a class="nav-dropdown-item" href="https://events.linuxfoundation.org/pytorch-conference/">
22+
<span class="dropdown-title">PyTorch Conference - 2023</span>
23+
<p>October 16-17 in San Francisco</p>
2824
</a>
29-
3025
</div>
3126
</div>
3227
</li>
3328

34-
<li class="main-menu-item {% if current[1] == 'mobile' %}active{% endif %}">
35-
<a href="{{ site.baseurl }}/mobile">Mobile</a>
29+
<li class="main-menu-item">
30+
<div id="dropdownMenuButton" data-toggle="resources-dropdown" class="resources-dropdown">
31+
<a class="resource-option {% if (current[1] == {{ site.baseurl }} or current[1] == 'foundation' or current[1] == 'join' or current[1] == 'edge' or current[1] == 'executorch-overview') %}with-down-white-arrow{% else %}with-down-arrow{% endif %}">
32+
PyTorch Edge
33+
</a>
34+
<div class="resources-dropdown-menu">
35+
<a class="nav-dropdown-item" href="{{ site.baseurl}}/edge">
36+
<span class="dropdown-title">About PyTorch Edge</span>
37+
</a>
38+
<a class="nav-dropdown-item" href="{{ site.baseurl}}/executorch-overview">
39+
<span class="dropdown-title">ExecuTorch</span>
40+
</a>
41+
</div>
42+
</div>
3643
</li>
3744

3845
<li class="main-menu-item {% if current[1] == 'blog' %}active{% endif %}">
@@ -45,7 +52,7 @@
4552

4653
<li class="main-menu-item">
4754
<div id="docsDropdownButton" data-toggle="resources-dropdown" class="resources-dropdown">
48-
<a class="doc-option {% if current[1] == {{ site.baseurl }} or current[1] == 'foundation' or current[1] == 'join' %}with-down-white-arrow{% else %}with-down-arrow{% endif %}">
55+
<a class="resource-option {% if (current[1] == {{ site.baseurl }} or current[1] == 'foundation' or current[1] == 'join' or current[1] == 'edge' or current[1] == 'executorch-overview') %}with-down-white-arrow{% else %}with-down-arrow{% endif %}">
4956
Docs
5057
</a>
5158
<div class="resources-dropdown-menu">
@@ -94,7 +101,7 @@
94101
<li class="main-menu-item {% if resources contains current[1] %}active resources-active{% endif %}">
95102

96103
<div id="resourcesDropdownButton" data-toggle="resources-dropdown" class="resources-dropdown">
97-
<a class="resource-option {% if current[1] == {{ site.baseurl }} or current[1] == 'foundation' or current[1] == 'join' %}with-down-white-arrow{% else %}with-down-arrow{% endif %}">
104+
<a class="resource-option {% if (current[1] == {{ site.baseurl }} or current[1] == 'foundation' or current[1] == 'join' or current[1] == 'edge' or current[1] == 'executorch-overview') %}with-down-white-arrow{% else %}with-down-arrow{% endif %}">
98105
Resources
99106
</a>
100107
<div class="resources-dropdown-menu">

_includes/mobile_menu.html

+13-5
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,31 @@
2828
</li>
2929

3030
<li class="resources-mobile-menu-title">
31-
<a href="{{ site.baseurl }}/ecosystem">Ecosystem</a>
31+
<a>Ecosystem</a>
3232
</li>
3333
<ul class="resources-mobile-menu-items">
3434
<li>
3535
<a href="{{ site.baseurl }}/ecosystem">Tools</a>
3636
</li>
3737
<li>
38-
<a href="{{ site.baseurl }}/ecosystem/pted/2021">Ecosystem Day 2021</a>
38+
<a href="{{ site.baseurl}}/ecosystem/ptc/2022">PyTorch Conference - 2022</a>
3939
</li>
4040
<li>
41-
<a href="{{ site.baseurl }}/ecosystem/ptdd/2021">Developer Day 2021</a>
41+
<a href="https://events.linuxfoundation.org/pytorch-conference/">PyTorch Conference - 2023</a>
4242
</li>
4343
</ul>
4444

45-
<li class="{% if current[1] == 'mobile' %}active{% endif %}">
46-
<a href="{{ site.baseurl }}/mobile">Mobile</a>
45+
<li class="resources-mobile-menu-title">
46+
<a>PyTorch Edge </a>
4747
</li>
48+
<ul class="resources-mobile-menu-items">
49+
<li>
50+
<a href="{{ site.baseurl }}/edge">About PyTorch Edge</a>
51+
</li>
52+
<li>
53+
<a href="{{ site.baseurl }}/executorch-overview">ExecuTorch</a>
54+
</li>
55+
</ul>
4856

4957
<li class="{% if current[1] == 'blog' %}active{% endif %}">
5058
<a href="{{ site.baseurl }}/blog">Blog</a>

_layouts/blog.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h1 class="blog-index-title">
4747
<h4>
4848
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
4949
</h4>
50-
<p>{{ post.excerpt | remove: '<p>' | remove: '</p>' | truncate: 500}}</p>
50+
<p>{{ post.excerpt | strip_html | truncate: 500}}</p>
5151
<img src="{{ post.image }}" class="img-fluid">
5252
</div>
5353
<a href="{{ site.baseurl }}{{ post.url }}" class="btn btn-lg with-right-arrow">

0 commit comments

Comments
 (0)