mirror of
https://github.com/aljazceru/njump.git
synced 2026-02-18 04:24:26 +01:00
Move the image before text in calendar events
This commit is contained in:
@@ -60,11 +60,11 @@ templ calendarEventTemplate(params CalendarPageParams) {
|
||||
}
|
||||
</div>
|
||||
}
|
||||
if params.CalendarEvent.Image != "" {
|
||||
<img class="w-full mt-2" src={ params.CalendarEvent.Image } />
|
||||
}
|
||||
@templ.Raw(params.Content)
|
||||
</div>
|
||||
if params.CalendarEvent.Image != "" {
|
||||
<img class="w-full" src={ params.CalendarEvent.Image } />
|
||||
}
|
||||
|
||||
<div class="mb-4">
|
||||
for _, v := range params.CalendarEvent.Hashtags {
|
||||
|
||||
Reference in New Issue
Block a user