- Also enable tweet fetching in TweetDetail handler if tweet is missing or not scraped - Improve some UI stuff w/ more styles - Enable HTMX page swapping in some places instead of full page loads
15 lines
445 B
Smarty
15 lines
445 B
Smarty
{{define "author-info"}}
|
|
<div class="author-info" hx-boost="true">
|
|
<a class="unstyled-link" href="/{{.Handle}}">
|
|
<img
|
|
class="profile-image"
|
|
src="{{if .IsContentDownloaded}}/content/profile_images/{{.ProfileImageLocalPath}}{{else}}{{.ProfileImageUrl}}{{end}}"
|
|
/>
|
|
</a>
|
|
<span class="name-and-handle">
|
|
<div class="display-name">{{.DisplayName}}</div>
|
|
<div class="handle">@{{.Handle}}</div>
|
|
</span>
|
|
</div>
|
|
{{end}}
|