Enable StatusCake RUM. Closes #16
This commit is contained in:
parent
b72e9e5536
commit
2f56acec3d
2 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,12 @@
|
||||||
<!-- StatusCake -->
|
<!-- StatusCake -->
|
||||||
|
{% if STATUSCAKE['trackid'] %}
|
||||||
<a href="https://www.statuscake.com" title="{{ SITENAME }} Uptime">
|
<a href="https://www.statuscake.com" title="{{ SITENAME }} Uptime">
|
||||||
<img src="https://www.statuscake.com/App/button/index.php?Track={{ STATUSCAKE['trackid'] }}&Days={{ STATUSCAKE['days'] }}&Design=6" alt="{{ SITENAME }} Uptime" width="96" height="15"/>
|
<img src="https://www.statuscake.com/App/button/index.php?Track={{ STATUSCAKE['trackid'] }}&Days={{ STATUSCAKE['days'] }}&Design=6" alt="{{ SITENAME }} Uptime" width="96" height="15"/>
|
||||||
</a>
|
</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 -->
|
<!-- End StatusCake -->
|
||||||
|
|
|
@ -53,7 +53,8 @@ DEFAULT_PAGINATION = 10
|
||||||
|
|
||||||
STATUSCAKE = {
|
STATUSCAKE = {
|
||||||
'trackid': 'test-test',
|
'trackid': 'test-test',
|
||||||
'days': 7
|
'days': 7,
|
||||||
|
'rumid': 1234,
|
||||||
}
|
}
|
||||||
|
|
||||||
RELATIVE_URLS = False
|
RELATIVE_URLS = False
|
||||||
|
|
Loading…
Reference in a new issue