importantimport / hatsu

🩵 Self-hosted & Fully-automated ActivityPub Bridge for Static Sites.
https://hatsu.cli.rs
GNU Affero General Public License v3.0
149 stars 4 forks source link

Sensitive #74

Open kwaa opened 1 month ago

kwaa commented 1 month ago

This will add the same name option to the JSON Feed Hatsu Extension, which, if turned on, will set the feed item title to summary.

It should be false by default.

// feed.json
{
  "items": [{
    "_hatsu": {
      "sensitive": true
    },
    "title": "Hello, World!"
  }]
}
// object.json
{
  "sensitive": true,
  "summary": "Hello, World!"
}