Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
groupe-calcul
website
Commits
c3106a6a
Commit
c3106a6a
authored
May 10, 2019
by
Roland Denis
Browse files
Fixing Tipue search
Due to a wrong Jinja2 comment syntax. Also reindenting...
parent
0d90e206
Pipeline
#4205
passed with stages
in 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
themes/calcul/templates/search.html
View file @
c3106a6a
...
...
@@ -44,19 +44,19 @@ Rechercher sur le site du groupe Calcul
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
#tipue_search_input
'
).
tipuesearch
({
{
%
if
'
tipue_search
'
in
PLUGINS
%
}
'
mode
'
:
'
json
'
,
{
%
if
'
tipue_search
'
in
PLUGINS
%
}
'
mode
'
:
'
json
'
,
{
%
else
%
}
'
mode
'
:
'
live
'
,
'
mode
'
:
'
live
'
,
{
%
endif
%
}
'
show
'
:
10
,
'
newWindow
'
:
false
,
'
wholeWords
'
:
false
,
{
#
I
cannot
place
following
statements
in
the
conditionals
above
because
then
Tipue
Search
fails
to
work
.
Possibly
a
bug
in
Tipue
Search
.
#
}
{
%
if
not
'
tipue_search
'
in
PLUGINS
%
}
'
liveDescription
'
:
'
.article-content
'
{
%
endif
%
}
});
});
'
show
'
:
10
,
'
newWindow
'
:
false
,
'
wholeWords
'
:
false
,
{
#
I
cannot
place
following
statements
in
the
conditionals
above
because
then
Tipue
Search
fails
to
work
.
Possibly
a
bug
in
Tipue
Search
.
#
}
{
%
if
not
'
tipue_search
'
in
PLUGINS
%
}
'
liveDescription
'
:
'
.article-content
'
{
%
endif
%
}
});
});
</script>
{% endblock script %}
\ No newline at end of file
{% endblock script %}
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