Skip to content

Commit 1d18a9d

Browse files
committed
Merge branch 'main' of github.com:quarto-dev/quarto-cli into main
2 parents f61d5ec + e9817a1 commit 1d18a9d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/project/types/website/about/website-about.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,9 @@ const aboutLinksMarkdownHandler = (aboutPage: AboutPage) => {
329329
rendered: Record<string, Element>,
330330
doc: Document,
331331
): void => {
332-
const aboutLinkNodes = doc.querySelectorAll(".about-links .about-link");
332+
const aboutLinkNodes = doc.querySelectorAll(
333+
".about-links .about-link .about-link-text",
334+
);
333335
for (const aboutLinkNode of aboutLinkNodes) {
334336
const aboutLinkEl = aboutLinkNode as Element;
335337
const aboutLinkRendered = rendered[aboutLinkEl.innerText.trim()];

src/resources/projects/website/about/_links.ejs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<a href="<%= link.href %>" class="about-link">
55
<% if (link.icon) { %>
66
<i class="bi <%= link.icon %>"></i>
7-
<% } %> <%= link.text %>
7+
<% } %> <span class="about-link-text"><%= link.text %></span>
88
</a>
99
<% } %>
1010
</div>

0 commit comments

Comments
 (0)