LastCrusader.Micropub (Last Crusader v0.7.0) View Source

Handles the logic of micro-publishing.

Link to this section Summary

Functions

Adds a keyword to a published post (most of the time, it will be the syndication link)

Publishes as Hugo post to Github repo

Link to this section Functions

Link to this function

add_keyword_to_post(published_page_url, arg)

View Source

Adds a keyword to a published post (most of the time, it will be the syndication link)

Link to this function

publish(headers, params)

View Source

Publishes as Hugo post to Github repo:

  • checks auth code and scope
  • discovers post type
  • transforms it as a Hugo post
  • commits to Github repo
  • schedules sending webmentions if needed