Skip to content

Commit 0f5d6b9

Browse files
authored
Merge pull request pytorch#777 from shiftlab/add-podcast-to-footer
Add podcast links to footer
2 parents 08deb84 + 311805b commit 0f5d6b9

File tree

3 files changed

+26
-7
lines changed

3 files changed

+26
-7
lines changed

_config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ external_urls:
3535
previous_pytorch_versions: https://pytorch.org/previous-versions/
3636
udacity_courses: https://pytorch.org
3737
youtube: https://www.youtube.com/pytorch
38+
spotify: https://open.spotify.com/show/6UzHKeiy368jKfQMKKvJY5
39+
apple: https://podcasts.apple.com/us/podcast/pytorch-developer-podcast/id1566080008
40+
google: https://www.google.com/podcasts?feed=aHR0cHM6Ly9mZWVkcy5zaW1wbGVjYXN0LmNvbS9PQjVGa0lsOA%3D%3D
41+
amazon: https://music.amazon.com/podcasts/7a4e6f0e-26c2-49e9-a478-41bd244197d0/PyTorch-Developer-Podcast?
42+
linkedIn: https://www.linkedin.com/company/pytorch
3843
livereload: true
3944
markdown: kramdown
4045
highlighter: rouge

_includes/footer.html

+18-7
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,27 @@ <h2>Resources</h2>
5151
</ul>
5252
</div>
5353

54-
<div class="footer-links-col follow-us-col">
55-
54+
<div class="footer-links-col">
55+
<ul>
56+
<li class="list-title"><p>Stay up to date</p></li>
57+
<li><a href="{{ site.external_urls.facebook }}" target="_blank">Facebook</a></li>
58+
<li><a href="{{ site.external_urls.twitter }}" target="_blank">Twitter</a></li>
59+
<li><a href="{{ site.external_urls.youtube }}" target="_blank">YouTube</a></li>
60+
<li><a href="{{ site.external_urls.linkedIn }}" target="_blank">LinkedIn</a></li>
61+
</ul>
62+
</div>
5663

57-
<div class="footer-social-icons">
58-
<a href="{{ site.external_urls.facebook }}" target="_blank" class="facebook"></a>
59-
<a href="{{ site.external_urls.twitter }}" target="_blank" class="twitter"></a>
60-
<a href="{{ site.external_urls.youtube }}" target="_blank" class="youtube"></a>
61-
</div>
64+
<div class="footer-links-col">
65+
<ul>
66+
<li class="list-title"><p>PyTorch Podcasts</p></li>
67+
<li><a href="{{ site.external_urls.spotify }}" target="_blank">Spotify</a></li>
68+
<li><a href="{{ site.external_urls.apple }}" target="_blank">Apple</a></li>
69+
<li><a href="{{ site.external_urls.google }}" target="_blank">Google</a></li>
70+
<li><a href="{{ site.external_urls.amazon }}" target="_blank">Amazon</a></li>
71+
</ul>
6272
</div>
6373
</div>
74+
6475
<div class="privacy-policy">
6576
<ul>
6677
<li class="privacy-policy-links"><a href="{{ site.baseurl }}/assets/tos-oss-privacy-policy/fb-tos-privacy-policy.pdf" target="_blank">Terms</a></li>

_sass/footer.scss

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
&.list-title {
3434
padding-bottom: rem(12px);
3535
color: $white;
36+
p {
37+
margin-bottom: 0;
38+
}
3639
}
3740
}
3841

0 commit comments

Comments
 (0)