This plugin displays recent articles from a specified external source. | |
Supported features → Full specification |
📗 Classic template 📒 Markdown template 📘 Repository template |
👤 Users 👥 Organizations 📓 Repositories |
|
No tokens are required for this plugin | |
Type | Description |
plugin_posts |
Enable posts plugin |
type: boolean
default: no |
|
plugin_posts_source |
External source
|
type: string
allowed values:
|
|
plugin_posts_descriptions |
Toggle posts descriptions display |
type: boolean
default: no |
|
plugin_posts_covers |
Toggle posts cover images display |
type: boolean
default: no |
|
plugin_posts_limit |
Display limit |
type: number
(1 ≤
𝑥
≤ 30)
default: 4 |
|
plugin_posts_user |
External source username |
type: string
default: → User login |
name: Recent posts
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.posts.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_posts: yes
plugin_posts_source: dev.to
name: Recent posts with descriptions and cover images
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.posts.full.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_posts: yes
plugin_posts_source: dev.to
plugin_posts_limit: 2
plugin_posts_descriptions: yes
plugin_posts_covers: yes