]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Add OpenGraph meta tags on permalink page 1205/head
authorArthurHoaro <arthur@hoa.ro>
Mon, 13 Aug 2018 08:42:27 +0000 (10:42 +0200)
committerArthurHoaro <arthur@hoa.ro>
Mon, 13 Aug 2018 08:55:48 +0000 (10:55 +0200)
commita120fb2977331e0f7d7ffe05861ba179fdae8764
treedb25468102f9deb9bff0ebe0efaa909810efad40
parenta4f0509a77a39d1ac834d4967e3e8f245de6d68d
Add OpenGraph meta tags on permalink page

Includes:
  - og:title
  - og:type -> article
  - og:image -> if there is a thumbnail
  - og:url -> permalink
  - og:description -> first 300 chars of raw description
  - article:published_time
  - article:modified_time
  - article:tag -> one OG meta tag for each shaare tag

Fixes #258
application/PageBuilder.php
plugins/markdown/markdown.php
tests/plugins/PluginMarkdownTest.php
tpl/default/includes.html
tpl/vintage/includes.html