mirror of
https://github.com/wassname/talk.git
synced 2026-07-09 14:17:02 +08:00
808b355a27
* feat: inject comment counts * fix: tests * feat: integrate stream embed with coral counts * chore: refactor constants * test: test for count bundle * test: test live comment count integration with stream embed * feat: use defer * fix: snapshot * feat: auto add count.js in when calling Coral.createStreamEmbed * fix: tests * fix: rm duplicate test * chore: remove unuse file
24 lines
1.0 KiB
HTML
24 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Coral - Count</title>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
|
<meta name="viewport" content="width=device-width, user-scalable=no" />
|
|
<link rel="canonical" href="http://localhost:8080/" />
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Comment Counts</h1>
|
|
<h3>Specified by canonical link</h3>
|
|
<p><a href="http://localhost:8080/">Default: <span class="coral-count"></span></a></p>
|
|
|
|
<h3>Specified by data-coral-url</h3>
|
|
<p><a href="http://localhost:8080/story.html">Story: <span class="coral-count" data-coral-url="http://localhost:8080/story.html"></span></a></p>
|
|
<p><a href="http://localhost:8080/storyButton.html">Story With Button: <span class="coral-count" data-coral-url="http://localhost:8080/storyButton.html"></span></a></p>
|
|
|
|
<h3>No text</h3>
|
|
<p><a href="http://localhost:8080/">Default notext: <span class="coral-count" data-coral-notext="true" data-coral-url="http://localhost:8080/"></span></a></p>
|
|
</body>
|
|
</html>
|