chesscompuzzle

add chexx com daily puzzle
This commit is contained in:
2025-07-11 11:50:00 +00:00
parent b1c2dcaf9e
commit c900432bfc

View File

@ -56,6 +56,20 @@
- type: local
name: Services
- type: custom-api
title: Daily Chess Puzzle
cache: 6h
url: https://api.chess.com/pub/puzzle
template: |
<div style="text-align: center;">
<h3 style="font-size: 1.5rem; margin: 0 0 8px 0;">
<a href="{{ .JSON.String "url" }}" target="_blank" style="text-decoration: underline;">
{{ .JSON.String "title" }}
</a>
</h3>
<img src="{{ .JSON.String "image" }}" alt="Daily Chess Puzzle" style="max-width:100%; height:auto; border-radius: 3px;">
</div>
- size: small
widgets:
- type: weather