chesscompuzzle
add chexx com daily puzzle
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user