diff --git a/README.md b/README.md
index f5a43da..280b40e 100644
--- a/README.md
+++ b/README.md
@@ -88,6 +88,10 @@ FlashPaper will try to generate the secret retrieval URL based on information pr
- `true`: The setting `site_title` will be displayed at the top of the page. If `display_logo` is enabled, the text will appear to the right of the logo.
- `false`: The setting `site_title` will not be displayed.
+ ### `noindex, nofollow`:
+ - `true`: Is setting the metadata section for `noindex` or `nofollow`. Google bots should not index your page or follow links
+ - `false`: Google bots could index your page or follow links
+
## Donations
PayPal: https://paypal.me/AndrewPaglusch
diff --git a/docker-compose.yml b/docker-compose.yml
index 98a7ca4..6cc19a0 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -13,6 +13,8 @@ services:
SITE_LOGO: "img/logo.svg"
DISPLAY_LOGO: "true"
DISPLAY_TITLE: "false"
+ NOINDEX: "true"
+ NOFOLLOW: "true"
RETURN_FULL_URL: "true"
BASE_URL: "" # https://mydomain.com/flashpaper
MAX_SECRET_LENGTH: "3000"
diff --git a/docker/settings.php b/docker/settings.php
index 34bd285..fbc87eb 100644
--- a/docker/settings.php
+++ b/docker/settings.php
@@ -6,6 +6,8 @@
"site_logo" => getenv('SITE_LOGO') ?: "img/logo.svg",
"display_logo" => filter_var(getenv('DISPLAY_LOGO') ?: "true", FILTER_VALIDATE_BOOLEAN),
"display_title" => filter_var(getenv('DISPLAY_TITLE') ?: "false", FILTER_VALIDATE_BOOLEAN),
+ "noindex" => filter_var(getenv('NOINDEX') ?: "false", FILTER_VALIDATE_BOOLEAN),
+ "nofollow" => filter_var(getenv('NOFOLLOW') ?: "false", FILTER_VALIDATE_BOOLEAN),
"custom_css" => filter_var(getenv('CUSTOM_CSS') ?: "false", FILTER_VALIDATE_BOOLEAN),
"bootstrap_theme" => getenv('BOOTSTRAP_THEME') ?: "flashpaper",
"return_full_url" => filter_var(getenv('RETURN_FULL_URL') ?: "true", FILTER_VALIDATE_BOOLEAN),
diff --git a/html/header.php b/html/header.php
index c327759..560cc62 100644
--- a/html/header.php
+++ b/html/header.php
@@ -12,6 +12,16 @@
+ '
+ }
+ ?>
+ '
+ }
+ ?>
diff --git a/settings.example.php b/settings.example.php
index 52b2225..a1a6b41 100644
--- a/settings.example.php
+++ b/settings.example.php
@@ -5,7 +5,9 @@
'site_title' => 'FlashPaper :: Self-Destructing Message',
'site_logo' => 'img/logo.svg',
'display_logo' => 'true', # true/false
- 'display_title' => 'false', # true/false
+ 'display_title' => 'false', # true/false
+ 'noindex' => 'true', # true/false
+ 'nofollow' => 'true', # true/false
'return_full_url' => true,
'base_url' => '', # https://mydomain.com/flashpaper
'max_secret_length' => 3000,