add demo for last-comments widget

This commit is contained in:
igoradamenko
2018-03-11 20:38:36 +03:00
parent d6982d97a9
commit f2e336bbc7
+41
View File
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>remark42 counter</title>
<style>
body {
padding: 0;
margin: 0;
}
.container {
max-width: 400px;
margin: 40px;
}
</style>
</head>
<body>
<div class="container">
<div class="remark42__last-comments" data-max="50"></div>
</div>
<script>
var remark_config = {
site_id: 'remark',
};
(function() {
var d = document, s = d.createElement('script');
s.src = 'https://demo.remark42.com/web/last-comments.js';
s.type = 'text/javascript';
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>
Please enable JavaScript to view the comments powered by Remark.
</noscript>
</body>
</html>