Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ steps:
image: thegeeklab/hugo:0.83.1
commands:
- mkdir exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/hugo-geekdoc
- cp exampleSite/layouts/partials/head/custom.ci.html exampleSite/layouts/partials/head/custom.html
- hugo -s exampleSite/ -b http://localhost/

- name: html-validation
Expand Down Expand Up @@ -270,6 +271,6 @@ depends_on:

---
kind: signature
hmac: 2c0c709a64128fd42c47d3549184ac29e2225be8de1953fa2e72b63aa0b7e871
hmac: e2ef57c014893437655882116e07f1b8ea211adf60aa479c52113df515f51b58

...
2 changes: 1 addition & 1 deletion exampleSite/assets/sprites/regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions exampleSite/layouts/partials/head/custom.ci.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; manifest-src 'self'; connect-src 'self'; font-src 'self'; img-src 'self' img.shields.io; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'">
1 change: 1 addition & 0 deletions exampleSite/layouts/partials/head/custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; manifest-src 'self'; connect-src 'self'; font-src 'self'; img-src 'self' img.shields.io; script-src 'self' 'unsafe-inline'; style-src 'self'">
1 change: 1 addition & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

{{ partial "head/favicons" . }}
{{ partial "head/others" . }}
{{ partial "head/custom" . }}
</head>

<body itemscope itemtype="https://schema.org/WebPage">
Expand Down
1 change: 1 addition & 0 deletions layouts/partials/head/custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- You can add custom elements to the page header here. -->