Make source_url and issues_url optional and adapt content if not set
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
<p title="Last built at {{ now() | date(format='%F %a %R') }}">© {{ config.title }}, {{ now() | date(format="%Y") }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if config.extra.footer.show_source %}
|
||||
{% if config.extra.source_url and config.extra.footer.show_source %}
|
||||
<p>
|
||||
<a href="{{ config.extra.source_url | safe }}">Website source</a>
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user