Browse Source

Latest articles

imwald
Nuša Pukšič 3 months ago
parent
commit
d490875b6f
  1. 2
      templates/components/Molecules/Card.html.twig

2
templates/components/Molecules/Card.html.twig

@ -1,7 +1,7 @@
{% if article is defined %} {% if article is defined %}
<div class="card"> <div class="card">
<div class="metadata"> <div class="metadata">
{% if not is_author_profile %} {% if not is_author_profile and app.current_route != 'latest_articles' %}
{% set pubkey = article.pubkey %} {% set pubkey = article.pubkey %}
{% set user = authors_metadata[pubkey] ?? null %} {% set user = authors_metadata[pubkey] ?? null %}
<p>by <twig:Molecules:UserFromNpub :user="user" :ident="pubkey" /></p> <p>by <twig:Molecules:UserFromNpub :user="user" :ident="pubkey" /></p>

Loading…
Cancel
Save