Browse Source

Do not show profile images

imwald
Nuša Pukšič 3 months ago
parent
commit
1bc80d2d52
  1. 5
      templates/pages/author-about.html.twig
  2. 5
      templates/pages/author-media.html.twig
  3. 5
      templates/pages/author.html.twig

5
templates/pages/author-about.html.twig

@ -1,11 +1,6 @@ @@ -1,11 +1,6 @@
{% extends 'layout.html.twig' %}
{% block body %}
{% if author.image is defined %}
<img src="{{ author.image }}" class="avatar" alt="{{ author.name }}" onerror="this.style.display = 'none'" />
{% endif %}
<h1><twig:Atoms:NameOrNpub :author="author" :npub="npub"></twig:Atoms:NameOrNpub></h1>
{% if author.nip05 is defined %}
{% if author.nip05 is iterable %}

5
templates/pages/author-media.html.twig

@ -1,11 +1,6 @@ @@ -1,11 +1,6 @@
{% extends 'layout.html.twig' %}
{% block body %}
{% if author.image is defined %}
<img src="{{ author.image }}" class="avatar" alt="{{ author.name }}" onerror="this.style.display = 'none'" />
{% endif %}
<h1><twig:Atoms:NameOrNpub :author="author" :npub="npub"></twig:Atoms:NameOrNpub></h1>
{% if author.nip05 is defined %}
{% if author.nip05 is iterable %}

5
templates/pages/author.html.twig

@ -1,11 +1,6 @@ @@ -1,11 +1,6 @@
{% extends 'layout.html.twig' %}
{% block body %}
{% if author.image is defined %}
<img src="{{ author.image }}" class="avatar" alt="{{ author.name }}" onerror="this.style.display = 'none'" />
{% endif %}
<h1><twig:Atoms:NameOrNpub :author="author" :npub="npub"></twig:Atoms:NameOrNpub></h1>
{% if author.bot is defined %}
<div class="tags">

Loading…
Cancel
Save