add some reddit sub
This commit is contained in:
@ -60,19 +60,21 @@
|
||||
- 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: full
|
||||
widgets:
|
||||
- type: group
|
||||
define: &shared-reddit-properties
|
||||
type: reddit
|
||||
show-thumbnails: true
|
||||
collapse-after: 15
|
||||
style: vertical-cards
|
||||
widgets:
|
||||
- subreddit: selfhosted
|
||||
<<: *shared-reddit-properties
|
||||
- subreddit: alteredTCG
|
||||
<<: *shared-reddit-properties
|
||||
- subreddit: Rematch
|
||||
<<: *shared-reddit-properties
|
||||
|
||||
- size: small
|
||||
widgets:
|
||||
|
||||
Reference in New Issue
Block a user