damus.io

damus.io website
git clone git://jb55.com/damus.io
Log | Files | Refs | README | LICENSE

tail.html (822B)


      1 
      2 <h3><a id="comment-link" href="nostr:e:">Comments</a></h3>
      3     <div id="comments">
      4     </div>
      5     <script src="nostr.js?v=4" ></script>
      6     <script src="comments.js?v=16" ></script>
      7 	     <script>
      8 		const threads = {
      9 			"the-stuff-loads-better-release": "9941b55c2844f275b7b8714a1c39859088a425ce798f740ea8fea879f9098641",
     10 			"introducing-damus-log": "4e8b44bb43018f79bd3efcdcd71af43814cdf996e0c62adedda1ac33bf5e1371",
     11 			"stop-developing": "7328ba525fba9240a13dc67bc8ccf9248d90fa0c752419ccbe0558e129ea96d5",
     12 		}
     13 		let relay
     14 		for (const key of Object.keys(threads)) {
     15 			if (window.location.href.includes(key)) {
     16 				const id = threads[key]
     17 				relay = comments_init(id)
     18 				document.querySelector("#comment-link").href = 'nostr:e:' + id
     19 				break
     20 			}
     21 		}
     22 	     </script>
     23   </div> <!-- container -->
     24     </body>
     25 </html>