Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed May 9, 2020
1 parent 1aab8aa commit 88c0be3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ After Installing the Plugin add the snippet to your template. There are two snip

To list all komments and webmentions:

`<?php snippet(komments/webmention); ?>`
`<?php snippet('komments/webmention'); ?>`

To show the komment form

`<?php snippet(komments/kommentform); ?>`
`<?php snippet('komments/kommentform'); ?>`

After adding the snippets, you may also want to add the stylesheet within the `<head></head>` of your site:

Expand Down Expand Up @@ -101,9 +101,9 @@ Next to komments directly on your page, there are some other features enabled by

### Receiving webmentions

To receive webmentions you have to install the [tratschtante plugin](https://github.com/mauricerenck/tratschtante) and configure it. Tratschtante will handle all the webmentions and normalize their data. Currently only webmention.io is supported. After installing tratschtante, komment will automaticly by informed about new webmentions.
**To receive webmentions you have to install the [tratschtante plugin](https://github.com/mauricerenck/tratschtante) and configure it.** Tratschtante will handle all the webmentions and normalize their data. Currently only webmention.io is supported. After installing tratschtante, komment will automaticly be informed about new webmentions.

Webmention support is enabled by default but won't work until you install tratschtante.
**Webmention support is enabled by default but won't work until you install tratschtante.**

### Sending Webmentions

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mauricerenck/komments",
"version": "0.9.0",
"version": "0.9.1",
"description": "A comment and webmention plugin for Kirby 3",
"type": "kirby-plugin",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions config/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
$pendingKomments[] = [
'author' => $komment['author'],
'komment' => $komment['komment'],
'kommentType' => $komment['kommenttype'],
'kommentType' => $komment['kommentType'],
'image' => $komment['avatar'],
'title' => (string) $item->title(),
'url' => $item->panelUrl(),
Expand Down Expand Up @@ -54,7 +54,7 @@
$spamKomments[] = [
'author' => $komment['author'],
'komment' => $komment['komment'],
'kommentType' => $komment['kommenttype'],
'kommentType' => $komment['kommentType'],
'image' => $komment['avatar'],
'title' => (string) $item->title(),
'url' => $item->panelUrl(),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "komments",
"version": "0.9.0",
"version": "0.9.1",
"description": "A comment and webmention plugin for Kirby 3",
"main": "index.js",
"author": "Maurice Renck",
Expand Down

0 comments on commit 88c0be3

Please sign in to comment.