Skip to content

Commit cece053

Browse files
author
Svetlana Karslioglu
authored
Merge pull request #169 from pytorch/update-footer
Update footer to align with the rest of the site
2 parents 363c40f + 5a3646f commit cece053

File tree

4 files changed

+79
-9
lines changed

4 files changed

+79
-9
lines changed

pytorch_sphinx_theme/layout.html

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -433,19 +433,43 @@ <h2>Resources</h2>
433433
</ul>
434434
</div>
435435

436-
<div class="footer-links-col follow-us-col">
436+
<div class="footer-links-col">
437437
<ul>
438-
<li class="list-title">Stay Connected</li>
439-
</ul>
440-
441-
<div class="footer-social-icons">
442-
<a href="{{ theme_variables.external_urls['facebook'] }}" target="_blank" class="facebook"></a>
443-
<a href="{{ theme_variables.external_urls['twitter'] }}" target="_blank" class="twitter"></a>
444-
<a href="{{ theme_variables.external_urls['youtube'] }}" target="_blank" class="youtube"></a>
438+
<li class="list-title">Stay up to date</li>
439+
<li><a href="{{ theme_variables.external_urls['facebook'] }}" target="_blank">Facebook</a></li>
440+
<li><a href="{{ theme_variables.external_urls['twitter'] }}" target="_blank">Twitter</a></li>
441+
<li><a href="{{ theme_variables.external_urls['youtube'] }}" target="_blank">YouTube</a></li>
442+
<li><a href="{{ theme_variables.external_urls['linkedIn'] }}" target="_blank">LinkedIn</a></li>
443+
</ul>
445444
</div>
445+
446+
<div class="footer-links-col">
447+
<ul>
448+
<li class="list-title">PyTorch Podcasts</li>
449+
<li><a href="{{ theme_variables.external_urls['spotify'] }}" target="_blank">Spotify</a></li>
450+
<li><a href="{{ theme_variables.external_urls['apple'] }}" target="_blank">Apple</a></li>
451+
<li><a href="{{ theme_variables.external_urls['google'] }}" target="_blank">Google</a></li>
452+
<li><a href="{{ theme_variables.external_urls['amazon'] }}" target="_blank">Amazon</a></li>
453+
</ul>
454+
</div>
455+
</div>
456+
457+
<div class="privacy-policy">
458+
<ul>
459+
<li class="privacy-policy-links"><a href="https://www.linuxfoundation.org/terms/" target="_blank">Terms</a></li>
460+
<li class="privacy-policy-links">|</li>
461+
<li class="privacy-policy-links"><a href="https://www.linuxfoundation.org/privacy-policy/" target="_blank">Privacy</a></li>
462+
</ul>
446463
</div>
464+
<div class="copyright">
465+
<p>© Copyright The Linux Foundation. The PyTorch Foundation is a project of The Linux Foundation.
466+
For web site terms of use, trademark policy and other policies applicable to The PyTorch Foundation please see
467+
<a href="www.linuxfoundation.org/policies/">www.linuxfoundation.org/policies/</a>. The PyTorch Foundation supports the PyTorch open source
468+
project, which has been established as PyTorch Project a Series of LF Projects, LLC. For policies applicable to the PyTorch Project a Series of LF Projects, LLC,
469+
please see <a href="www.lfprojects.org/policies/">www.lfprojects.org/policies/</a>.</p>
447470
</div>
448-
</div>
471+
</div>
472+
449473
</footer>
450474

451475
{% include "cookie_banner.html" %}

pytorch_sphinx_theme/static/css/theme.css

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pytorch_sphinx_theme/static/js/theme.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,4 +1124,5 @@ $(window).scroll(function () {
11241124
});
11251125
});
11261126

1127+
11271128
},{"jquery":"jquery"}]},{},[1,2,3,4,5,6,7,8,9,10,"pytorch-sphinx-theme"]);

pytorch_sphinx_theme/theme_variables.jinja

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
'contributing': 'https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md',
55
'docs': 'https://pytorch.org/docs/stable/index.html',
66
'twitter': 'https://twitter.com/pytorch',
7+
'spotify': 'https://open.spotify.com/show/6UzHKeiy368jKfQMKKvJY5',
8+
'apple': 'https://podcasts.apple.com/us/podcast/pytorch-developer-podcast/id1566080008',
9+
'google': 'https://www.google.com/podcasts?feed=aHR0cHM6Ly9mZWVkcy5zaW1wbGVjYXN0LmNvbS9PQjVGa0lsOA%3D%3D',
10+
'amazon': 'https://music.amazon.com/podcasts/7a4e6f0e-26c2-49e9-a478-41bd244197d0/PyTorch-Developer-Podcast?',
11+
'linkedIn': 'https://www.linkedin.com/company/pytorch',
712
'facebook': 'https://www.facebook.com/pytorch',
813
'slack': 'https://pytorch.slack.com',
914
'discuss': 'https://discuss.pytorch.org',

0 commit comments

Comments
 (0)