#293: respect use_google_fonts in tipue search

tipue search has included the font import
without respecting the settings.
This commit is contained in:
Elias Kirchgässner 2022-02-25 09:20:21 +01:00
parent 7e99f9bbe6
commit 53fc53b8b9
2 changed files with 4 additions and 1 deletions

View file

@ -70,6 +70,9 @@
{% endif %}
{% if PLUGINS and 'tipue_search' in PLUGINS %}
{% if USE_GOOGLE_FONTS != False %}
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,400|Open+Sans" rel="stylesheet">
{% endif %}
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch.min.css" />
{% endif %}