Alessio 02bc365add Add session management routes and pages ("/login", "/change-session")
- 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
2023-08-10 12:36:28 -03:00

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}}