Skip to content

Latest commit

 

History

History
133 lines (127 loc) · 4 KB

README.md

File metadata and controls

133 lines (127 loc) · 4 KB
← Back to plugins index

✒️ Recent posts

This plugin displays recent articles from a specified and supported external source.

Supported features
→ Full specification
📗 Classic template 📒 Markdown template 📘 Repository template
👤 Users 👥 Organizations 📓 Repositories
No tokens are required for this plugin
Latest posts width description and cover image
Latest posts

➡️ Available options

OptionDescription

plugin_posts

Enable posts plugin

type: boolean
default: no

plugin_posts_source

External source

type: string
allowed values:
  • dev.to
  • hashnode

plugin_posts_user

External source username

⏯️ Cannot be preset
type: string
default: → User login

plugin_posts_descriptions

Posts descriptions

type: boolean
default: no

plugin_posts_covers

Posts cover images

type: boolean
default: no

plugin_posts_limit

Display limit

type: number (1 ≤ 𝑥 ≤ 30)
default: 4

ℹ️ Examples workflows

name: Recent posts
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.posts.svg
  token: NOT_NEEDED
  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: NOT_NEEDED
  base: ""
  plugin_posts: yes
  plugin_posts_source: dev.to
  plugin_posts_limit: 2
  plugin_posts_descriptions: yes
  plugin_posts_covers: yes