Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow modifying rel in footer #862

Closed
Barbapapazes opened this issue Mar 21, 2023 · 2 comments · Fixed by #889
Closed

Allow modifying rel in footer #862

Barbapapazes opened this issue Mar 21, 2023 · 2 comments · Fixed by #889
Assignees

Comments

@Barbapapazes
Copy link
Contributor

Hello,

Is-it possible to modify rel in the footer text links?

https://github.com/nuxt-themes/docus/blob/main/components/app/AppFooter.vue#L23

In want to change rel using a key in the config.

  {
        text: "ArmoniK",
        target: "_blank",
        href: "https://aneoconsulting.github.io/ArmoniK/",
        rel: "" // This will set no rel
      },

And in the AppFooter.vue

<NuxtLink
  :rel="link.rel"
>
...

Here a exemple if user does not provide a rel or when the rel is empty
https://stackblitz.com/edit/nuxt-starter-5z8mvo?file=app.vue

Copy link
Contributor

Atinux commented Mar 21, 2023

It could be possible, happy to open a PR?

@Barbapapazes
Copy link
Contributor Author

It could be possible, happy to open a PR?

Ok, will open a PR !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants