Files
metrics/source/plugins/posts/metadata.yml
2022-01-15 23:34:09 -05:00

53 lines
1.2 KiB
YAML

name: "✒️ Recent posts"
category: social
description: This plugin displays recent articles from a specified external source.
examples:
latest posts: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.posts.svg
+latest posts width description and cover image: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.posts.full.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_descriptions:
description: Toggle posts descriptions display
type: boolean
default: no
plugin_posts_covers:
description: Toggle posts cover images display
type: boolean
default: no
plugin_posts_limit:
description: Display limit
type: number
default: 4
min: 1
max: 30
plugin_posts_user:
description: External source username
type: string
default: .user.login