aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-08-30 14:15:57 +0300
committerValentin Popov <valentin@popov.link>2023-08-30 14:15:57 +0300
commit8e8f1bf81dce79972d1e885423c445697b44af7a (patch)
treed1cb0cf00556db94fcc62abcb08964d9ea4aebc9
parent3c395dcc5c66abed47d4a764a1102b0ea4b7eab9 (diff)
downloadpopov.link-8e8f1bf81dce79972d1e885423c445697b44af7a.tar.xz
popov.link-8e8f1bf81dce79972d1e885423c445697b44af7a.zip
Removed nofollow attribute
-rw-r--r--config.toml4
-rw-r--r--templates/includes/contacts.html2
-rw-r--r--templates/includes/useful_links.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/config.toml b/config.toml
index c20d599..0f2acc6 100644
--- a/config.toml
+++ b/config.toml
@@ -58,10 +58,10 @@ render_emoji = true
external_links_target_blank = true
# Whether to set rel="nofollow" for all external links
-external_links_no_follow = true
+external_links_no_follow = false
# Whether to set rel="noreferrer" for all external links
-external_links_no_referrer = true
+external_links_no_referrer = false
# Whether smart punctuation is enabled (changing quotes, dashes, dots in their typographic form)
# For example, `...` into `…`, `"quote"` into `“curly”` etc
diff --git a/templates/includes/contacts.html b/templates/includes/contacts.html
index c311bdc..d61647c 100644
--- a/templates/includes/contacts.html
+++ b/templates/includes/contacts.html
@@ -2,7 +2,7 @@
{% for contact in config.extra.contacts %}
<li>
<span>{{ contact.title | trim }}:</span>
- <a href="{{ contact.url | trim }}" rel="nofollow" target="_blank">{{ contact.name | trim }}</a>
+ <a href="{{ contact.url | trim }}" target="_blank">{{ contact.name | trim }}</a>
</li>
{% endfor %}
</ul> \ No newline at end of file
diff --git a/templates/includes/useful_links.html b/templates/includes/useful_links.html
index 3661447..9b4859d 100644
--- a/templates/includes/useful_links.html
+++ b/templates/includes/useful_links.html
@@ -1,7 +1,7 @@
<ul>
{% for link in config.extra.links %}
<li>
- <a href="{{ link.url | trim }}" rel="nofollow" target="_blank">{{ link.title | trim }}</a>
+ <a href="{{ link.url | trim }}" target="_blank">{{ link.title | trim }}</a>
<span>&mdash;</span>
<span>{{ link.description | trim }}</span>
</li>