28 lines
731 B
YAML
28 lines
731 B
YAML
# Paste this into /opt/homepage/config/services.yaml as a new entry.
|
|
#
|
|
# Replace {{ SNOTES_URL }} with where snotes is reachable, e.g.
|
|
# http://192.168.1.45:8019 (host mapped port)
|
|
|
|
- Snotes:
|
|
icon: snotes-main.png
|
|
href: "{{ SNOTES_URL }}"
|
|
description: Markdown notes
|
|
widget:
|
|
type: customapi
|
|
url: "{{ SNOTES_URL }}/api/homepage"
|
|
refreshInterval: 60000
|
|
display: block
|
|
mappings:
|
|
- field: total_notes
|
|
label: Notes
|
|
format: number
|
|
- field: attachments
|
|
label: Attachments
|
|
format: number
|
|
- field: actions
|
|
label: Actions
|
|
format: number
|
|
- field: users
|
|
label: Users
|
|
format: number
|