mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-06 03:55:36 -05:00
Minor html size optimization
This commit is contained in:
@@ -91,7 +91,9 @@
|
||||
#end proc
|
||||
#
|
||||
#proc renderTweet*(tweet: Tweet; class=""): string =
|
||||
#if class.len > 0:
|
||||
<div class="${class}">
|
||||
#end if
|
||||
<div class="status-el">
|
||||
<div class="status-body">
|
||||
${renderHeading(tweet)}
|
||||
@@ -110,4 +112,7 @@
|
||||
${renderStats(tweet)}
|
||||
</div>
|
||||
</div>
|
||||
#if class.len > 0:
|
||||
</div>
|
||||
#end if
|
||||
#end proc
|
||||
|
||||
Reference in New Issue
Block a user