Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Galette
Galette
Commits
937ab076
Commit
937ab076
authored
Jun 26, 2022
by
Johan Cwiklinski
Browse files
For now, ensure jquery is loaded first
parent
9bb4edff
Changes
2
Hide whitespace changes
Inline
Side-by-side
galette/templates/default/elements/header.html.twig
View file @
937ab076
...
...
@@ -16,6 +16,7 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{{
base_url
()
}}
/
{{
constant
(
'GALETTE_THEME'
)
}}
galette_print_local.css"
media=
"print"
/>
{%
endif
%}
<link
rel=
"shortcut icon"
href=
"
{{
base_url
()
}}
/
{{
constant
(
'GALETTE_THEME'
)
}}
images/favicon.png"
/>
<script
type=
"text/javascript"
src=
"
{{
base_url
()
}}
/assets/js/galette-main.bundle.min.js"
></script>
{# If some additional headers should be added from plugins, we load the relevant template file
We have to use a template file, so Twig will do its work (like replacing variables). #}
...
...
galette/templates/default/elements/scripts.html.twig
View file @
937ab076
<script
type=
"text/javascript"
src=
"
{{
base_url
()
}}
/assets/js/galette-main.bundle.min.js"
></script>
<script
type=
"text/javascript"
src=
"
{{
base_url
()
}}
/
{{
constant
(
'GALETTE_THEME'
)
}}
ui/semantic.min.js"
></script>
<script
type=
"text/javascript"
>
function
csrfSafeMethod
(
method
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment