Customize target and rel attributes for home
layout
#3472
Labels
contribution welcome
The team would welcome a contribution from the community for this issue
enhancement
New feature or request
theme
Related to the theme
Is your feature request related to a problem? Please describe.
Now that
pathname
protocol has been removed (5836fac), thehome
layout cannot emulate the behavior by specifying target and rel attributes of actions. In my case, I had been usingpathname
to link to an SPA hosted together with the main site, and was able to usetarget: "_blank"
for the nav bar, but not the home page action (PR: penrose/penrose#1704).Describe the solution you'd like
Just like the nav bar in
config.ts
, theactions
ofhome
layout exposestarget
andrel
.Describe alternatives you've considered
home
layout but I'd love to keep using the default theme!pathname
, which is unlikelycleanUrl
, but this will impact the entire site, which is not desirable.Additional context
Related issue on sidebar links: #2851
Validations
The text was updated successfully, but these errors were encountered: