Add Last Edited word before date on post page

Hello,

I want to add “Last-edited” word before date on post page please give suggestion which template file i can customize in discourse. Please check provided screenshot also.

last-edited

Thank you in advance!!

Best,
krishna

Hello,

You can use a simple css to make this. This way you don’t need to modify anything… :slightly_smiling_face:

Add the following to Common / CSS

.post-info {
  &.edits + .post-date {
    &:before {
      content: 'Last Edited:';
      margin-right: 0.25em;
      color: var(--primary-medium);
    }
  }
}

It will only add Last Edited: text if there is edits.

4 Likes

Thank you so much sir, Appreciated you !! You save my time!!

2 Likes

You should be able to mark as Solution?

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.