Skip to content

Files

Latest commit

 

History

History

posts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

✒️ Recent posts

The recent posts plugin displays recent articles you wrote on an external source, like dev.to.

Latest posts
Latest posts width description and cover image

➡️ Available options

TypeDescription
plugin_posts

Display recent posts

type: boolean
default: no
plugin_posts_source

Posts external source

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

Display posts descriptions

type: boolean
default: no
plugin_posts_covers

Display posts cover images

type: boolean
default: no
plugin_posts_limit

Maximum number of posts to display

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

Posts external source username

type: string
default: → User login

→ Full specification

ℹ️ Examples workflows

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_descriptions: 'yes'
  plugin_posts_covers: 'yes'