Older versions of zola serve are capitalized
- Found out that I didn't make a mistake but that older versions of zola do have a capital "S" in serve. So modfied to support either version.
This commit is contained in:
parent
76ff110bad
commit
b6ed79ab04
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
{% endif -%}
|
||||
<main>
|
||||
{# Create variable to allow appending index.html at end of links if set in config #}
|
||||
{% if not config.extra.easydocs_uglyurls or config.mode == "serve" -%}
|
||||
{% if not config.extra.easydocs_uglyurls or config.mode == "serve" or config.mode == "Serve" -%}
|
||||
{% set _ugly_url = "" -%}
|
||||
{% else %}
|
||||
{% set _ugly_url = "index.html" -%}
|
||||
|
|
Loading…
Reference in a new issue