61 lines
1.2 KiB
YAML
61 lines
1.2 KiB
YAML
name: ✒️ Recent posts
|
|
category: social
|
|
description: |
|
|
This plugin displays recent articles from a specified and supported external source.
|
|
examples:
|
|
+latest posts width description and cover image: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.posts.full.svg
|
|
latest posts: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.posts.svg
|
|
index: 6
|
|
supports:
|
|
- user
|
|
- organization
|
|
- repository
|
|
scopes: []
|
|
inputs:
|
|
|
|
plugin_posts:
|
|
description: |
|
|
Enable posts plugin
|
|
type: boolean
|
|
default: no
|
|
|
|
plugin_posts_source:
|
|
description: |
|
|
External source
|
|
|
|
- `dev.to`: [dev.to](https://dev.to)
|
|
- `hashnode`: [hashnode.com](https://hashnode.com)
|
|
type: string
|
|
default: ""
|
|
values:
|
|
- dev.to
|
|
- hashnode
|
|
|
|
plugin_posts_user:
|
|
description: |
|
|
External source username
|
|
type: string
|
|
default: .user.login
|
|
preset: no
|
|
|
|
plugin_posts_descriptions:
|
|
description: |
|
|
Posts descriptions
|
|
type: boolean
|
|
default: no
|
|
|
|
plugin_posts_covers:
|
|
description: |
|
|
Posts cover images
|
|
type: boolean
|
|
default: no
|
|
|
|
plugin_posts_limit:
|
|
description: |
|
|
Display limit
|
|
type: number
|
|
default: 4
|
|
min: 1
|
|
max: 30
|
|
|