pull/16/head
Martin Zimmermann 11 years ago
parent 0f7516edb4
commit 9edd34d079

@ -76,7 +76,6 @@ Let's assume you want Isso on `/isso`, use the following nginx snippet
```nginx
server {
listen [::]:80;
listen [::]:443 ssl;
server_name example.tld;
@ -126,7 +125,7 @@ when using [require.js][r.js]:
```html
<link rel="stylesheet" href="/static/isso.css" />
<script data-main="/js/main" src="/js/require.js"></script>
<script data-main="/js/embed" src="/js/require.js"></script>
```
@ -140,7 +139,7 @@ Alternatives
------------
- [talkatv](https://github.com/talkatv/talkatv) Python
- [Juvia](https://github.com/phusion/juvia Ruby on Rails
- [Juvia](https://github.com/phusion/juvia) Ruby on Rails
- [Tildehash.com](http://www.tildehash.com/?article=why-im-reinventing-disqus) PHP
- [SO: Unobtrusive, self-hosted comments](http://stackoverflow.com/q/2053217)

@ -6,8 +6,7 @@ define(["app/api", "lib/HTML"], function(api, HTML) {
};
var uri = el.href.match("^(.+)#isso-thread$")[1]
.replace(/^.*\/\/[^\/]+/, '');
console.log(uri)
.replace(/^.*\/\/[^\/]+/, '');
api.count(uri).then(function(rv) {
el.textContent = rv + (rv > 1 ? " Kommentare" : " Kommentar");
})

Loading…
Cancel
Save