add some reddit sub
This commit is contained in:
@ -60,19 +60,21 @@
|
|||||||
- type: local
|
- type: local
|
||||||
name: Services
|
name: Services
|
||||||
|
|
||||||
- type: custom-api
|
- size: full
|
||||||
title: Daily Chess Puzzle
|
widgets:
|
||||||
cache: 6h
|
- type: group
|
||||||
url: https://api.chess.com/pub/puzzle
|
define: &shared-reddit-properties
|
||||||
template: |
|
type: reddit
|
||||||
<div style="text-align: center;">
|
show-thumbnails: true
|
||||||
<h3 style="font-size: 1.5rem; margin: 0 0 8px 0;">
|
collapse-after: 15
|
||||||
<a href="{{ .JSON.String "url" }}" target="_blank" style="text-decoration: underline;">
|
style: vertical-cards
|
||||||
{{ .JSON.String "title" }}
|
widgets:
|
||||||
</a>
|
- subreddit: selfhosted
|
||||||
</h3>
|
<<: *shared-reddit-properties
|
||||||
<img src="{{ .JSON.String "image" }}" alt="Daily Chess Puzzle" style="max-width:100%; height:auto; border-radius: 3px;">
|
- subreddit: alteredTCG
|
||||||
</div>
|
<<: *shared-reddit-properties
|
||||||
|
- subreddit: Rematch
|
||||||
|
<<: *shared-reddit-properties
|
||||||
|
|
||||||
- size: small
|
- size: small
|
||||||
widgets:
|
widgets:
|
||||||
|
|||||||
Reference in New Issue
Block a user