diff options
author | 2020-10-25 01:09:49 +1000 | |
---|---|---|
committer | 2020-10-25 01:09:49 +1000 | |
commit | fcf0067ea4f68003ed0e2954d645398df82a43e0 (patch) | |
tree | f4f4a14df813e9d3385f3a7c40f0a362738a7783 | |
parent | Change discord nav item to distinct CTA button. (diff) |
Use local img for welcome video thumbnail.
-rw-r--r-- | pydis_site/static/images/frontpage/welcome.jpg | bin | 0 -> 51725 bytes | |||
-rw-r--r-- | pydis_site/templates/home/index.html | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/static/images/frontpage/welcome.jpg b/pydis_site/static/images/frontpage/welcome.jpg Binary files differnew file mode 100644 index 00000000..0eb8f672 --- /dev/null +++ b/pydis_site/static/images/frontpage/welcome.jpg diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html index 7d91feb4..7f59231c 100644 --- a/pydis_site/templates/home/index.html +++ b/pydis_site/templates/home/index.html @@ -42,7 +42,7 @@ span{height:1.5em;text-align:center;font:68px/1.5 sans-serif;color:#FFFFFFEE;text-shadow:0 0 0.1em #00000020} </style> <a href=https://www.youtube.com/embed/ZH26PuX3re0?autoplay=1> - <img src=https://i.ytimg.com/vi/ZH26PuX3re0/maxresdefault.jpg alt='Welcome to Python Discord'> + <img src='{% static "images/frontpage/welcome.jpg" %}' alt='Welcome to Python Discord'> <span>▶</span> </a>" allow="autoplay; accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |