Merge pull request #38 from uniqueNullptr2/uniqueNullptr2-fix-title-in-template
fix usage of title arg in template
This commit is contained in:
commit
cc09d1b529
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
{% if args.footer_text.as_ref().is_none() %}
|
{% if args.title.as_ref().is_none() %}
|
||||||
<title>MicroBin</title>
|
<title>MicroBin</title>
|
||||||
{%- else %}
|
{%- else %}
|
||||||
<title>{{ args.title.as_ref().unwrap() }}</title>
|
<title>{{ args.title.as_ref().unwrap() }}</title>
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
<i><span style="font-size:2.2rem; margin-right:1rem">μ</span></i>
|
<i><span style="font-size:2.2rem; margin-right:1rem">μ</span></i>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
{% if args.footer_text.as_ref().is_none() %}
|
{% if args.title.as_ref().is_none() %}
|
||||||
MicroBin
|
MicroBin
|
||||||
{%- else %}
|
{%- else %}
|
||||||
{{ args.title.as_ref().unwrap() }}
|
{{ args.title.as_ref().unwrap() }}
|
||||||
|
|
Loading…
Reference in a new issue