Skip to content

Commit

Permalink
Improved image placeholders.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-bate committed Sep 3, 2024
1 parent befe367 commit ec20cc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firm_server/html/templates/actor.jinja2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.jinja2" %}

{% set header_image = resource.image.url if resource.image else "https://placehold.co/1200x300" %}
{% set avatar_image = resource.icon.url if resource.icon else "https://placehold.co/80x80" %}
{% set header_image = resource.image.url if resource.image else "https://placehold.co/1200x300?text=" + resource.preferredUsername %}
{% set avatar_image = resource.icon.url if resource.icon else "https://placehold.co/80x80?text=" + resource.preferredUsername %}

{% block style %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
Expand Down

0 comments on commit ec20cc9

Please sign in to comment.