websegura/pages/index.njk

71 lines
1.7 KiB
Plaintext
Raw Normal View History

---
layout: base
2021-01-29 00:01:50 +01:00
name: España
2021-01-27 22:43:53 +01:00
permalink: /
2021-02-08 22:11:38 +01:00
title: "#websegura"
---
2021-02-05 14:17:53 +01:00
2021-02-05 19:43:09 +01:00
<h1>#websegura</h1>
<p class="subtitle">Analizamos
<strong>
2021-02-06 22:52:24 +01:00
{{ all | length }}
</strong>
2021-02-14 12:50:04 +01:00
sitios públicos para saber si protegen la privacidad y seguridad de sus usuarios.</p>
2021-02-08 17:21:36 +01:00
<p class="centered">🎖️ Sólo
<a href="/ranking/">
<strong>
{{ all | scoreGt(69) | length }}
</strong>
sitios</a>
tienen una nota segura.<br/>
☠️
<a href="/ranking/#hall-of-shame">
<strong>
2021-02-06 22:52:24 +01:00
{{ all | testsPassedLt(5) | length }}
</strong>
sitios</a>
no tienen seguridad alguna.</p>
2021-02-05 14:17:53 +01:00
2021-02-08 17:21:36 +01:00
<div class="score-container">
<div class="score-bar">
<div class="score-progress" data-score="{{ all | safeScore }}"></div>
</div>
<p><strong>{{ all | safeScore }}%</strong> de las webs completamente seguras</p>
</div>
<p>
2021-02-05 12:28:49 +01:00
<button class="provincia">
2021-02-05 13:38:06 +01:00
<a href="#cta-featured">Webs nacionales</a>
2021-02-05 12:28:49 +01:00
</button>
{% for code, p in provincias %}
2021-02-02 23:00:14 +01:00
<button class="provincia">
<a href="/p/{{ code }}">{{ p.name }}</a>
</button>
{% endfor %}
</p>
2021-01-27 20:55:24 +01:00
2021-02-14 12:50:04 +01:00
{% if provincias | length < 50 %}
<p>
2021-02-14 12:50:04 +01:00
<small>
(<a href="https://github.com/PucelaBits/websegura#a%C3%B1adir-una-web">Ayúdanos a añadir otras provincias, ¡ya sólo faltan {{ 50 - provincias | length }}!</a>)
</small>
</p>
2021-02-14 12:50:04 +01:00
{% endif %}
2021-01-27 21:23:23 +01:00
{% include "header.njk" %}
2021-01-27 21:23:23 +01:00
{% from "tabla.njk" import tabla %}
<section>
<div class="table-wrapper" id="resultados">
<h2>{{ name }}</h2>
{{ tabla(all | filterByTerritorioId("general"), path=page.url) }}
<p>
<a href="https://github.com/PucelaBits/websegura#a%C3%B1adir-una-web">+ Añadir una web nueva</a>
</p>
</div>
</section>