Add robots meta tag to prevent indexing and archiving of pages

This commit is contained in:
Eduardo Silva
2026-03-24 12:38:18 -03:00
parent 7aeb37ce28
commit 0a6d70d144
4 changed files with 4 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, noarchive">
<title>{% block title %}Gatekeeper{% endblock %}</title> <title>{% block title %}Gatekeeper{% endblock %}</title>
<link rel="stylesheet" href="{{ external_path }}/static/style.css"> <link rel="stylesheet" href="{{ external_path }}/static/style.css">
</head> </head>

View File

@@ -5,6 +5,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex, noarchive">
<title>wireguard_webadmin</title> <title>wireguard_webadmin</title>
<!-- Google Font: Source Sans Pro --> <!-- Google Font: Source Sans Pro -->

View File

@@ -1,6 +1,7 @@
{% load i18n %} {% load i18n %}
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex, noarchive">
<title>{% if page_title %}{{ page_title }} | {% endif %}wireguard-webadmin</title> <title>{% if page_title %}{{ page_title }} | {% endif %}wireguard-webadmin</title>
<!-- Google Font: Source Sans Pro --> <!-- Google Font: Source Sans Pro -->

View File

@@ -2,6 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="robots" content="noindex, noarchive">
<title>{% if authenticated %}VPN Invite{% else %}Authentication Required{% endif %}</title> <title>{% if authenticated %}VPN Invite{% else %}Authentication Required{% endif %}</title>
<style> <style>
body { body {