Problem/Motivation
I would like to see that we can have two templates for doing the submitted by. Currently it only shows submitted.html.twig as a suggestion, however I would like to see one for the main content and one for comments. I thought I would just add a suggestion myself in the theme file however either I am missing something or the hook just doesn't want to play nice.
Thank in advance
Comments
Comment #2
adamps commentedSame for me😃. The problem is that 'submitted' has base hook = username, so the suggestions come from the base hook. Tricky.
Comment #3
adamps commentedMaybe we can just remove the base hook. I tried it and I can't see any problems so far.
Comment #4
adamps commentedNo that doesn't work, because
template_preprocess_usernameisn't called.I believe we need to change the approach of the submitted formatter to solve this is: #3344232: Improvements to Submitted Formatter.
Comment #5
adamps commentedComment #6
adamps commentedFixed by #3344232: Improvements to Submitted Formatter