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 -->
|
||||
{% 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'] }}&Days={{ STATUSCAKE['days'] }}&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 -->
|
||||
|
|
|
@ -53,7 +53,8 @@ DEFAULT_PAGINATION = 10
|
|||
|
||||
STATUSCAKE = {
|
||||
'trackid': 'test-test',
|
||||
'days': 7
|
||||
'days': 7,
|
||||
'rumid': 1234,
|
||||
}
|
||||
|
||||
RELATIVE_URLS = False
|
||||
|
|
Loading…
Reference in a new issue