aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar Janine vN <[email protected]>2021-09-19 11:27:33 -0400
committerGravatar Janine vN <[email protected]>2021-09-19 11:27:33 -0400
commit9193466aa1d26a6138634098007f001606581c53 (patch)
tree8dc9e67599a16656d8525456e298b2c14cb183a8 /pydis_site
parentUse the correct theme and update image link (diff)
Change external links to "_blank" and "noopener"
This changes external links to open in a new tab. It also adds `rel="noopener"` for some bonus security and performance gains. This commit only effects files that are within the scope of this PR. It does not do this against other pages.
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/templates/events/index.html8
-rw-r--r--pydis_site/templates/events/pages/code-jams/8/_index.html22
-rw-r--r--pydis_site/templates/events/sidebar/events-list.html4
3 files changed, 17 insertions, 17 deletions
diff --git a/pydis_site/templates/events/index.html b/pydis_site/templates/events/index.html
index a9a027b9..158ec56b 100644
--- a/pydis_site/templates/events/index.html
+++ b/pydis_site/templates/events/index.html
@@ -20,14 +20,14 @@
<div class="columns is-3" style="--columnGap: 0.75rem;">
<div class="column">
<p>
- For the past 15 years, <a href="https://pyweek.org">PyWeek</a> has been running a bi-annual game jam for the
+ For the past 15 years, <a href="https://pyweek.org" target="_blank" rel="noopener">PyWeek</a> has been running a bi-annual game jam for the
Python language. As of 2020, we are excited to say we are officially partnered with PyWeek to co-run these
events.
</p>
<p>
During each PyWeek event, we open a special discussion channel in which our members can discuss their
submissions, meet other participants, and talk to PyWeek staff. The PyWeek organizer,
- Daniel Pope (<a href="https://twitter.com/lordmauve">@lordmauve</a>) will be present during the entire event to answer
+ Daniel Pope (<a href="https://twitter.com/lordmauve" target="_blank" rel="noopener">@lordmauve</a>) will be present during the entire event to answer
questions and post announcements and information in our community.
</p>
<p>
@@ -47,7 +47,7 @@
<div class="column">
<p>
Each year, many of our members take part of an online coding competition called
- <a href="https://adventofcode.com/">Advent of Code</a> that takes place in December. Advent of Code is an
+ <a href="https://adventofcode.com/" target="_blank" rel="noopener">Advent of Code</a> that takes place in December. Advent of Code is an
Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved
in any programming language you like, including Python.
</p>
@@ -81,7 +81,7 @@
<p>
The participants will have ten days to create a game using the technology we've selected, and drawing
inspiration from a provided theme. After the event, a panel of judges will play all the games and select a
- winner. The top 5 will featured in a special video on our <a href="https://www.youtube.com/channel/UCQsrA4xo6jvdgsJZhKaBL6w">YouTube channel</a>.
+ winner. The top 5 will featured in a special video on our <a href="https://www.youtube.com/channel/UCQsrA4xo6jvdgsJZhKaBL6w" target="_blank" rel="noopener">YouTube channel</a>.
</p>
<p>
The <a class="has-text-link" href="{% url "events:page" path="game-jams/2020" %}">first edition of the Game Jam</a> ran from
diff --git a/pydis_site/templates/events/pages/code-jams/8/_index.html b/pydis_site/templates/events/pages/code-jams/8/_index.html
index c789adef..c3e7010e 100644
--- a/pydis_site/templates/events/pages/code-jams/8/_index.html
+++ b/pydis_site/templates/events/pages/code-jams/8/_index.html
@@ -27,9 +27,9 @@
<p>
What the Python (wtpython) is a simple terminal user interface that allows you to explore relevant answers on Stackoverflow without leaving your terminal or IDE. When you get an error, all you have to do is swap python for wtpython. When your code hits an error, you'll see a textual interface for exploring relevant answers allowing you to stay focused and ship faster!
<br/>
- <a href="https://www.youtube.com/watch?v=DV3uMdsw9KE" title="Perceptive Porcupines Demo Video"><i class="fa fa-video"> </i> Demo video</a>
+ <a href="https://www.youtube.com/watch?v=DV3uMdsw9KE" title="Perceptive Porcupines Demo Video" target="_blank" rel="noopener"><i class="fa fa-video"> </i> Demo video</a>
<br/>
- <a href="https://github.com/what-the-python/wtpython" title="Perceptive Porcupines GitHub Repository"><i class="fa fa-github"></i> Githib Repository</a>
+ <a href="https://github.com/what-the-python/wtpython" title="Perceptive Porcupines GitHub Repository" target="_blank" rel="noopener"><i class="fa fa-github"></i> Githib Repository</a>
<br/>
</p>
@@ -41,9 +41,9 @@
The terminal program created by the Lovable Lobsters allows you to play Ultimate Tic Tac Toe right form your terminal. The really impressive part though? You can play with your friends and family over your network! Their program has a server-client set-up that lets you play with your friends and family from different computers.
<br/>
- <a href="https://www.youtube.com/watch?v=WI9tgQeAfXw" title="Lovable Lobsters Demo Video"><i class="fa fa-video"> </i> Demo video</a>
+ <a href="https://www.youtube.com/watch?v=WI9tgQeAfXw" title="Lovable Lobsters Demo Video" target="_blank" rel="noopener"><i class="fa fa-video"> </i> Demo video</a>
<br/>
- <a href="https://github.com/A5rocks/code-jam-8" title="Lovable Lobsters GitHub Repository"><i class="fa fa-github"></i> Githib Repository</a>
+ <a href="https://github.com/A5rocks/code-jam-8" title="Lovable Lobsters GitHub Repository" target="_blank" rel="noopener"><i class="fa fa-github"></i> Githib Repository</a>
<br/>
</p>
@@ -54,7 +54,7 @@
Just like a real world Rubik's cube, you can move this cube around to look at it from all sides. And, of course, you can rotate the individual discs it is made up of to first scramble up the order and then to try and solve it into perfect ordering again.
<br/>
- <a href="https://github.com/bjoseru/pdcj8-robust-reindeer" title="Robust Reindeer GitHub Repository"><i class="fa fa-github"></i> Githib Repository</a>
+ <a href="https://github.com/bjoseru/pdcj8-robust-reindeer" title="Robust Reindeer GitHub Repository" target="_blank" rel="noopener"><i class="fa fa-github"></i> Githib Repository</a>
<br/>
</p>
@@ -67,7 +67,7 @@
<h3 id="important-dates"><a href="#important-dates">Important Dates</a></h3>
<ul>
<li>Tuesday, June 15 - Form to submit theme suggestions opens</li>
- <li>Monday, June 21 - <a href="https://github.com/python-discord/cj8-qualifier">The Qualifier</a> is released</li>
+ <li>Monday, June 21 - <a href="https://github.com/python-discord/cj8-qualifier" target="_blank" rel="noopener">The Qualifier</a> is released</li>
<li>Friday, June 25 - Voting for the theme opens</li>
<li>Saturday, June 26 @ 4PM UTC- <a class="has-text-link" href="{% url "events:page" path="code-jams/8/github-bootcamp" %}">GitHub Bootcamp</a></li>
<li>Wednesday, July 1 - The Qualifier closes</li>
@@ -80,14 +80,14 @@
<p>
The chosen technology/tech stack for this year is <strong>Text User Interfaces</strong> (TUIs).
Each team must create a program with one of <a href="{% url "events:page" path="code-jams/8/frameworks" %}">the approved frameworks</a> that creates a user interface that is text based.
- For more information of TUIs and what's involved with such an interface, check out <a href="https://en.wikipedia.org/wiki/Text-based_user_interface">this wikipedia article</a>.
+ For more information of TUIs and what's involved with such an interface, check out <a href="https://en.wikipedia.org/wiki/Text-based_user_interface" target="_blank" rel="noopener">this wikipedia article</a>.
</p>
<h3 if="qualifier"><a href="#qualifier">The Qualifier</a></h3>
<p>
The qualifier is a coding challenge that you are required to complete before registering for the code jam.
This is meant as a basic assessment of your skills to ensure you have enough python knowledge to effectively contribute in a team environment.
</p>
- <p class="has-text-centered"><a class="button is-link" href="https://github.com/python-discord/cj8-qualifier" target="_blank">View the Qualifier</a></p>
+ <p class="has-text-centered"><a class="button is-link" href="https://github.com/python-discord/cj8-qualifier" target="_blank" rel="noopener">View the Qualifier</a></p>
<p>
Please note the requirements for the qualifier.
<ul>
@@ -111,7 +111,7 @@
<img src="{% static "images/events/DO_Logo_Vertical_Blue.png" %}" alt="Digital Ocean">
</div>
<div class="media-content">
- <p class="subtitle has-link"><a href="https://www.digitalocean.com/">DigitalOcean</a></p>
+ <p class="subtitle has-link"><a href="https://www.digitalocean.com/" target="_blank" rel="noopener">DigitalOcean</a></p>
<p class="is-italic">
Scalable compute platform with add-on storage, security, and monitoring capabilities.
We make it simple to launch in the cloud and scale up as you grow—whether you’re running one virtual machine or ten thousand.
@@ -130,7 +130,7 @@
<img src="{% static "images/sponsors/jetbrains.png" %}" alt="JetBrains">
</div>
<div class="media-content">
- <p class="subtitle has-link"><a href="https://www.jetbrains.com/">JetBrains</a></p>
+ <p class="subtitle has-link"><a href="https://www.jetbrains.com/" target="_blank" rel="noopener">JetBrains</a></p>
<p class="is-italic">
Whatever platform or language you work with, JetBrains has a development tool for you.
We help developers work faster by automating common, repetitive tasks to enable them to stay focused on code design and the big picture.
@@ -149,7 +149,7 @@
<img src="{% static "images/events/Tabnine.png" %}" alt="Tabnine">
</div>
<div class="media-content">
- <p class="subtitle has-link"><a href="https://www.tabnine.com/now?utm_source=discord&utm_medium=Ins&utm_campaign=PythonDis">Tabnine</a></p>
+ <p class="subtitle has-link"><a href="https://www.tabnine.com/now?utm_source=discord&utm_medium=Ins&utm_campaign=PythonDis" target="_blank" rel="noopener">Tabnine</a></p>
<p class="is-italic">Tabnine is an AI-powered code completion tool used by millions of devs around the world every day
- Tabnine supports dozens of programming languages, in all of your favorite IDEs, saving you tons of time - so that you can type less and code more.
Tabnine comes as a plugin and has a free-forever basic plan, so you can get started with it right away!
diff --git a/pydis_site/templates/events/sidebar/events-list.html b/pydis_site/templates/events/sidebar/events-list.html
index 6029ae74..5dfe5dc2 100644
--- a/pydis_site/templates/events/sidebar/events-list.html
+++ b/pydis_site/templates/events/sidebar/events-list.html
@@ -1,10 +1,10 @@
<div class="box">
<p class="menu-label">Event Calendar 2021</p>
<ul class="menu-list">
- <li><a class="has-text-link" href="https://pyweek.org/31/">March: PyWeek 31</a></li>
+ <li><a class="has-text-link" href="https://pyweek.org/31/" target="_blank" rel="noopener">March: PyWeek 31</a></li>
<li><a class="has-text-black" style="cursor: default;">May: Pixels</a></li>
<li><a class="has-text-link" href="{% url "events:page" path="code-jams/8" %}">July: Summer Code Jam</a></li>
- <li><a class="has-text-link" href="https://pyweek.org/32/">September: PyWeek 32</a></li>
+ <li><a class="has-text-link" href="https://pyweek.org/32/" target="_blank" rel="noopener">September: PyWeek 32</a></li>
<li><a class="has-text-black" style="cursor: default;">December: Advent of Code</a></li>
</ul>
</div>