Hello all,

Problem/Motivation

On the file templates/content/node.html.twig, the twig code is written like this:

{% trans %} Submitted by %author_name% on %date% {% endtrans %}

Steps to reproduce

  • Install the theme
  • Activate "Display author and date information" on any content type
  • Create a content on that type
  • It doesn't print the info

Proposed resolution

Changing the code like this would work:

{% trans %} Submitted by {{ author_name }} on {{ date }} {% endtrans %}

Best,
Orkut

Issue fork revolt-3388514

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Orkut Murat Yılmaz created an issue. See original summary.

orkutmuratyilmaz’s picture

Status: Active » Needs review

I did the patch and tested it. So that, I'm creating a merge request, respectively.

rushikesh raval’s picture

Status: Needs review » Reviewed & tested by the community

I have tested MR!4. It working as per requirement and solve the issue. so moving it RTBC.

yogesh.k made their first commit to this issue’s fork.

yogesh.k’s picture

Version: 1.0.2 » 1.0.8
Status: Reviewed & tested by the community » Fixed
yogesh.k’s picture

Status: Fixed » Closed (fixed)
pkghang’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.