-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
solstice theme upstream -> gitlab, removed inline js (CSP)
- Loading branch information
1 parent
0be39c2
commit 7b57f55
Showing
4 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "site/themes/hugo-solstice-theme"] | ||
path = site/themes/hugo-solstice-theme | ||
url = https://github.com/EclipseFdn/hugo-solstice-theme.git | ||
url = https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- avoiding usage of inline javascript; we currently use the third option so only making that one external for now --> | ||
{{ if isset .Params "table_classes" }} | ||
<script>var tableClasses = {{ .Params.table_classes }};</script> | ||
{{ else if isset .Site.Params "table_classes" }} | ||
<script>var tableClasses = {{ .Site.Params.table_classes }};</script> | ||
{{ else }} | ||
<script src="js/hugo-solstice-headvars.js"></script> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
var tableClasses = "table"; |
Submodule hugo-solstice-theme
updated
from 2b762a to 468567