Octopress (Jekyll) plugin to show Upptime information.
Prepare Upptime monitoring repository for the site.
- Plugin:
- Copy plugins/upptime.rb to your plugins directory.
- HTML:
- Copy source/_includes/custom/asides/upptime.html to your source/_includes/custom/asides/.
- Or you can put codes in upptime.html anywhere you like.
Add following configurations in your _config.yml:
# Aside block title
upptime_title: Uptime monitor
# Your site's name in your upptime.
upptime_name: rcmdnk-blog
# Your upptime's repository.
upptime_url: https://rcmdnk.github.io/upptime
# Your upptime's repository.
upptime_repo: rcmdnk/upptime
# Show graph or not.
upptime_graph: true
# Show response time for each duration or not.
upptime_response: false
upptime_response_day: false
upptime_response_week: true
upptime_response_month: false
upptime_response_year: true
# Show uptime for each duration or not.
upptime_uptime: false
upptime_uptime_day: false
upptime_uptime_week: true
upptime_uptime_month: false
upptime_uptime_year: true
Add custom/asides/upptime.html to default_asides
in _config.yml
default_asides:
...
- custom/asides/upptime.html
...