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

Remove link duplication from Community page metadata #480

Closed
chalin opened this issue Sep 15, 2021 · 0 comments · Fixed by #482
Closed

Remove link duplication from Community page metadata #480

chalin opened this issue Sep 15, 2021 · 0 comments · Fixed by #482
Assignees

Comments

@chalin
Copy link
Contributor

chalin commented Sep 15, 2021

Since v0.86.0 of Hugo, render-link hooks are applied to all links, this gives us an opportunity to remove link duplication from the Community card-lists metadata.

For example, consider:

main_channels:
  title: >
      <a href="https://groups.google.com/forum/?hl=en#!forum/etcd-dev" target="_blank" rel="noopener"><i class="fab fa-google"></i>&nbsp;Google Group</a>
  desc: >
      Join the [etcd-dev][] forum to ask questions and get the latest etcd news.

Note that the Google Group link appears in both the title (hard coded) and in the [etcd-dev] link definition -- and this duplication lead to #466 and #481.

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

Successfully merging a pull request may close this issue.

1 participant