2
0
mirror of https://github.com/offen/website.git synced 2024-12-23 05:20:21 +01:00

apply noopener to all external links on rendering

This commit is contained in:
Frederik Ring 2021-04-05 12:59:27 +02:00
parent 23920ce443
commit 796129f4eb
2 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,10 @@ MARKDOWN = {
'markdown.extensions.extra': {},
'markdown.extensions.meta': {},
'markdown.extensions.fenced_code': {},
'markdown_link_attr_modifier': {
'auto_title': 'on',
'new_tab': 'external_only',
},
},
'output_format': 'html5',
}

View File

@ -2,3 +2,4 @@ pelican==4.5.4
markdown==3.1.1
git+git://github.com/miracle2k/webassets#d1f3455e383446ca4ab0c644f326ee937e68e809
pelican-decorate-content==0.1.1
markdown-link-attr-modifier==0.2.0