Add themes, static assets, and logo
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
21
themes/vanilla-js/comment-template.html
Normal file
21
themes/vanilla-js/comment-template.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!-- Comment Template - Nested comment rendering with unlimited depth -->
|
||||
<template id="comment-template">
|
||||
<div class="comment" data-comment-uuid="{{uuid}}" data-depth="{{depth}}" style="margin-left: {{depth * 20}}px">
|
||||
<div class="comment-header">
|
||||
<span class="comment-author">{{author}}</span>
|
||||
<time class="comment-time" datetime="{{timestamp}}">{{formatTimeAgo(timestamp)}}</time>
|
||||
<span class="comment-score" title="Score">↑ {{score}}</span>
|
||||
</div>
|
||||
|
||||
<div class="comment-body">
|
||||
<p class="comment-content">{{renderMarkdown(content)|safe}}</p>
|
||||
</div>
|
||||
|
||||
<div class="comment-footer">
|
||||
<span class="comment-depth-indicator">Depth: {{depth}}</span>
|
||||
</div>
|
||||
|
||||
<!-- Placeholder for nested children -->
|
||||
{{children_section|safe}}
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user