Enable StatusCake RUM. Closes #16

This commit is contained in:
Mr. Senko 2016-05-05 01:00:29 +03:00
parent b72e9e5536
commit 2f56acec3d
2 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,12 @@
<!-- StatusCake -->
{% if STATUSCAKE['trackid'] %}
<a href="https://www.statuscake.com" title="{{ SITENAME }} Uptime">
<img src="https://www.statuscake.com/App/button/index.php?Track={{ STATUSCAKE['trackid'] }}&amp;Days={{ STATUSCAKE['days'] }}&amp;Design=6" alt="{{ SITENAME }} Uptime" width="96" height="15"/>
</a>
{% endif %}
{% if STATUSCAKE['rumid'] %}
<script type="text/javascript">var SC_RumID = {{ STATUSCAKE['rumid'] }};</script>
<script type="text/javascript" async src="https://www.statuscake.com/App/RUM/embed.js"></script>
{% endif %}
<!-- End StatusCake -->

View file

@ -53,7 +53,8 @@ DEFAULT_PAGINATION = 10
STATUSCAKE = {
'trackid': 'test-test',
'days': 7
'days': 7,
'rumid': 1234,
}
RELATIVE_URLS = False