Author + avatar sometimes showing twice per page
Hello,
I deployed Retype in GitHub pages and it's working great! I have this weird issue though where a few of my pages (all built on a simple .md template) show my authorship twice even though it only appears once in the file:
---
authors:
- name: Brian Johnson
link: https://blahblah
avatar: http://blahblah
icon: tools
label: Security appliance install
---
This shows as:
Any thoughts?
As a workaround have you tried author instead of authors ? I think the plural version is for an array of authors, although it doesn't explain the odd behavior you are seeing.
You can see the author syntax in this example: https://retype.com/configuration/page/#avatar
I did try author and have the same result. Also in clicking through my links in my KB site another random page is doing it as well. If you want to see live:
https://kb.7minsec.com/how-tos/security-appliance-install/ https://kb.7minsec.com/scoping/azure-assessment/
Compare to another page with the same header where my avatar isn't duplicated:
https://kb.7minsec.com/how-tos/kali-vm-install/
I tried to repro, but I wasn't successful. This is something @geoffreymcgill will need to look into.
Hi @7MinSec, Any chance you could make your docs repo public? or maybe I'm just not seeing it in your list of public repos.
If we could build the project locally and reproduce the issue, that would be a big help for isolating what is causing this double author rendering.
Hi thanks for the help! I've got some hidden pages on this repo that I only give to certain clients, but as an alternative could I make a zip of my folder hierarchy (minus the sensitive files) and send to you privately? Or do you need to see it "live".
As a weird experiment this morning I got rid of everything in the --- section except label (to clear author off altogether) and then pushed to GitHub. The result is what was expected (no author info listed):
Then I put the author chunk back in and renamed the document "Penetration Test2" and look!
I thought I was in the clear so I renamed back to "Security appliance install" and get this again! Double Brians!
Then I did nothing on the doc except change the label to "am i insane" and push the change and...
What the? I think I am insane! :-)
I thought I was on to something but I'm not. I thought that it had something to do with "security" being in the title. My tests:
Title is just the word "security"
Title has the word "security" nested in another word
Title has "security" as the first word
Title has fifth word as "security"
Title doesn't have "security" in it at all
But here's where my theory goes out the door:
Renaming of a DIFFERENT page to have "security" in the title
Thanks for the update. I will run some tests and try to reproduce.