mirror of https://github.com/luizdepra/hugo-coder.git

Alex Miranda
22.26.2021 edea1118eb7af3a3cb87b5c1524cdd583c468cf9
refs
author Alex Miranda <alexandermichaelmiranda@gmail.com>
Friday, January 22, 2021 17:26 +0100
committer GitHub <noreply@github.com>
Friday, January 22, 2021 17:26 +0100
commitedea1118eb7af3a3cb87b5c1524cdd583c468cf9
tree 7ecca2f5fafb63b10427de5dfcd9ca31f488bb2b tree | zip | gz
parent 74d160b3258bbc1ce88c939817a88621521f7bd0 view | diff
Adds Content-Security-Policy template to theme (#504)

* feat: added csp.html template to theme head element

* feat: added my name to CONTRIBUTORS

* fix: added conditional logic for templating to stabilize build

* feat: Added CSP section to example config.toml

* fix: updated template logic

* updated contributors to reference website and not github

* fix conflict with contributors, moved csp out of _shared dir

Co-authored-by: Luiz F. A. de PrĂ¡ <luizdepra@users.noreply.github.com>
1 files added
3 files modified
24 ■■■■■ changed files
CONTRIBUTORS.md 1 ●●●● diff | view | raw | blame | history
exampleSite/config.toml 19 ●●●●● diff | view | raw | blame | history
layouts/_default/baseof.html 3 ●●●●● diff | view | raw | blame | history
layouts/partials/csp.html 1 ●●●● diff | view | raw | blame | history