hugo-PaperMod icon indicating copy to clipboard operation
hugo-PaperMod copied to clipboard

Separate footer information into new partial

Open HeroCC opened this issue 4 years ago • 5 comments

What does this PR change? What problem does it solve?

Separated the footer info into a new partial -- allows for easier replacing and manipulation. Notably, I wanted to have the copyright holder be different than the site title, so I added a parameter there formalName. It also adds ID tags to the copyright and powered by area so we can style each bit with different CSS. Finally, if you want to just rip everything out, you can do that too by replacing the partial.

PR Checklist

  • [ ] This change adds/updates translations and I have used the template present here.
  • [ ] I have enabled maintainer edits for this PR.
  • [ ] This change adds a Social Icon which has a permissive license to use it.
  • [x] This change does not any CDN resources/links.
  • [x] This change does not include any unrelated scripts such as bash and python scripts.
  • [ ] This change updates the overridden internal templates from HUGO's repository.

HeroCC avatar Jun 15 '21 21:06 HeroCC

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Jun 15 '21 21:06 sonarqubecloud[bot]

when will next update come?

rahiyansafz avatar Jul 13 '21 13:07 rahiyansafz

This is a great change, thanks @HeroCC. @adityatelange any thoughts on getting this merged in?

alukach avatar Nov 22 '21 17:11 alukach

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Nov 19 '23 04:11 sonarqubecloud[bot]

Hey! I brought this PR up to latest master. I'm still interested in getting it merged!

HeroCC avatar Nov 19 '23 04:11 HeroCC