2020-04-16 00:55:28 +02:00
|
|
|
<p>
|
|
|
|
{{
|
|
|
|
_('Built with %(pelican_url)s using %(flex_url)s theme',
|
|
|
|
pelican_url='<a href="http://getpelican.com" target="_blank">Pelican</a>',
|
|
|
|
flex_url='<a href="http://bit.ly/flex-pelican" target="_blank">Flex</a>'|safe)
|
|
|
|
}}
|
|
|
|
{% if THEME_COLOR_ENABLE_USER_OVERRIDE %}
|
2020-04-15 05:58:04 +02:00
|
|
|
<span class="footer-separator">|</span>
|
2020-04-16 21:48:24 +02:00
|
|
|
{{
|
|
|
|
_('Switch to the %(dark_url)s | %(light_url)s | %(browser_url)s theme',
|
|
|
|
dark_url='<a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a>',
|
|
|
|
light_url='<a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a>',
|
|
|
|
browser_url='<a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a>'|safe)
|
|
|
|
}}
|
2020-04-16 23:49:09 +02:00
|
|
|
<script id="dark-theme-script"
|
2020-04-20 22:56:30 +02:00
|
|
|
src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/dark-theme/dark-theme.min.js"
|
2020-04-16 23:49:09 +02:00
|
|
|
data-enable-auto-detect-theme="{{ THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE|default('false') }}"
|
|
|
|
data-default-theme="{{ THEME_COLOR|default('light') }}"
|
|
|
|
type="text/javascript">
|
2020-04-16 00:55:28 +02:00
|
|
|
</script>
|
|
|
|
{% endif %}
|
2020-04-16 23:49:09 +02:00
|
|
|
</p>
|