From f23009c824a80477dc27daad5b707aabe2eb0211 Mon Sep 17 00:00:00 2001 From: David Arcos Date: Sun, 25 Oct 2026 09:41:49 +0100 Subject: [PATCH 1/7] Give every link that opens a new tab a rel="noopener" A link with target="_blank" and no rel="noopener" hands the opened page a handle on this one (window.opener), which a hostile page can use to send the reader somewhere else. Modern browsers imply noopener, older ones do not, and the security audit counted 7 such links on the home page. Five templates (the footer, the people summary, the contact page, the event detail, and the agenda) and two pages with raw HTML (PyDay BCN 2018, 7 links, and the 2022 Django workshop of PyLadies BCN, 1 link) get rel="noopener", next to any rel value they already had. Measured on a -D build, the frozen pages under archives/ left out: no link with target="_blank" lacks noopener. bin/check-content: 0 errors, 79 warnings. bin/check-html-safety and bin/check-rendered: PASS. --- .../events/other_events/django_pyladies_2022.md | 2 +- content/events/pyday_bcn/pyday_bcn_2018.md | 14 +++++++------- themes/pybcn_theme/layouts/_default/contact.html | 4 ++-- themes/pybcn_theme/layouts/partials/agenda.html | 2 +- .../pybcn_theme/layouts/partials/event_detail.html | 2 +- themes/pybcn_theme/layouts/partials/footer.html | 2 +- .../layouts/partials/people_summary.html | 8 ++++---- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/content/events/other_events/django_pyladies_2022.md b/content/events/other_events/django_pyladies_2022.md index 95ab8d366..e8f4518ed 100644 --- a/content/events/other_events/django_pyladies_2022.md +++ b/content/events/other_events/django_pyladies_2022.md @@ -47,7 +47,7 @@ free_text_sections: - title: When and where id: when_and_where - content: It is scheduled for **Saturday 11th June** in Canòdrom - Ateneu d'Innovació Digital i Democràtica, from 9:00pm to 18:30pm CET. + content: It is scheduled for **Saturday 11th June** in Canòdrom - Ateneu d'Innovació Digital i Democràtica, from 9:00pm to 18:30pm CET. - title: Important dates id: important_dates diff --git a/content/events/pyday_bcn/pyday_bcn_2018.md b/content/events/pyday_bcn/pyday_bcn_2018.md index c44e1a9d8..df3caf6e5 100644 --- a/content/events/pyday_bcn/pyday_bcn_2018.md +++ b/content/events/pyday_bcn/pyday_bcn_2018.md @@ -322,7 +322,7 @@ sponsor_levels: We are excited and glad to announce that we are organizing the second edition of PyDay in Barcelona!

-PyDay Barcelona 2018 is going to take place on November 24th at PuntMultimèdia (Espanya Industrial, Sants), full of FREE workshops, talks and contests for the local Python community and an opportunity to spread the word of its existence to other people that could be interested in Python. +PyDay Barcelona 2018 is going to take place on November 24th at PuntMultimèdia (Espanya Industrial, Sants), full of FREE workshops, talks and contests for the local Python community and an opportunity to spread the word of its existence to other people that could be interested in Python.

What is PyDay Barcelona 2018 about?

@@ -330,7 +330,7 @@ PyDay Barcelona 2018 has the aim of expanding the local Python community. It wil

Join the event

-Eventbrite - PyDay Barcelona 2018 +Eventbrite - PyDay Barcelona 2018

Agenda

@@ -415,7 +415,7 @@ In this short workshop we give a quick and dirty introduction to pytorch. You wi

Data analysis with Jupyter Notebook, Pandas and Plotly

Speaker: Natàlia Padilla (@nataliasirera) and Laura Pérez (@laura-perez-mayos) (@PyLadiesBCN)
@@ -424,12 +424,12 @@ In this short workshop we give a quick and dirty introduction to pytorch. You wi Level: Beginner
Requirements: a laptop + Jupyter + Pandas + Plotly + an appetite for learning!
Installation:
-• Option 1: Install Anaconda anaconda.com/download
+• Option 1: Install Anaconda anaconda.com/download
• Option 2: Execute on the terminal: pip install jupyter pandas plotly

Mirror, mirror on the wall, who is the fairest of them all? (Introduction to OpenCV)

Speaker: Ismael Benito (@ismansiete)
Language: English
-Description: An introduction to OpenCV for NumPy-Scipy-Matplotlib stack users. Starting with Anaconda pre-compiled versions, specially from Menpo project (https://anaconda.org/menpo/opencv3). Covering inputs and outputs, from basic image handling, such as: 'imread', 'imshow', 'imwrite', etc; to video streams. Some basics in color treatment and thresholding techniques. Also, fundamentals of image warping and cropping. Finally, a small project to be able to find a specific object, for example a QR Code, in a scene and trimmed it.
+Description: An introduction to OpenCV for NumPy-Scipy-Matplotlib stack users. Starting with Anaconda pre-compiled versions, specially from Menpo project (https://anaconda.org/menpo/opencv3). Covering inputs and outputs, from basic image handling, such as: 'imread', 'imshow', 'imwrite', etc; to video streams. Some basics in color treatment and thresholding techniques. Also, fundamentals of image warping and cropping. Finally, a small project to be able to find a specific object, for example a QR Code, in a scene and trimmed it.
Level: Intermediate
Requirements: A laptop with a Miniconda/Anaconda distribution. You must create an environment:

@@ -459,7 +459,7 @@ apt install -y libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-d

Speaker: Jordi Guix
Language: English
Description: Learn how to access and manage big data with Python. How to access to DB, basic CRUD operations (Create, Read, Update, Delete) and overview of advance operations.
-Get the workshop materials.

+Get the workshop materials.

  1. Presentació (5 min)
  2. Breu introducció de: (10 - 15 min)

    Organizando chistes con NLP

    Speaker: Julio Martínez (@liopic)
    diff --git a/themes/pybcn_theme/layouts/_default/contact.html b/themes/pybcn_theme/layouts/_default/contact.html index b15a957f5..8cdb4a177 100644 --- a/themes/pybcn_theme/layouts/_default/contact.html +++ b/themes/pybcn_theme/layouts/_default/contact.html @@ -10,7 +10,7 @@

    PyBCN

    {{ range sort $.Site.Params.social_items "weight" }} - + {{ end }}


    {{ end }} @@ -19,7 +19,7 @@

    PyLadiesB

    {{ range sort $.Site.Params.social_items_pyladies "weight" }} - + {{ end }}

    diff --git a/themes/pybcn_theme/layouts/partials/agenda.html b/themes/pybcn_theme/layouts/partials/agenda.html index 3516fbad1..1bb7577a0 100644 --- a/themes/pybcn_theme/layouts/partials/agenda.html +++ b/themes/pybcn_theme/layouts/partials/agenda.html @@ -146,7 +146,7 @@

    {{ with $event.room }}
    {{ if or (in . "www") (in . "http") }} - {{ . }} + {{ . }} {{ else }} {{ . }} {{ end }} diff --git a/themes/pybcn_theme/layouts/partials/event_detail.html b/themes/pybcn_theme/layouts/partials/event_detail.html index 3f79d39bb..7bc87cf93 100644 --- a/themes/pybcn_theme/layouts/partials/event_detail.html +++ b/themes/pybcn_theme/layouts/partials/event_detail.html @@ -37,7 +37,7 @@