2
0
mirror of https://github.com/offen/website.git synced 2024-10-18 12:10:25 +02:00

Merge pull request #152 from offen/noopener-links

Apply noopener to all external links on rendering
This commit is contained in:
Frederik Ring 2021-04-05 13:01:27 +02:00 committed by GitHub
commit 305cc0c029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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