Skip to content

Commit

Permalink
Fixes TA links
Browse files Browse the repository at this point in the history
  • Loading branch information
richmahn committed May 11, 2024
1 parent 90bd244 commit 0fdd1e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "door43-preview-app",
"private": true,
"version": "1.0.6",
"version": "1.0.7",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useGenerateTranslationAcademyHtml.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function useGenerateTranslationAcademyHtml({ catalogEntry, taManu
}
if (body) {
html += `
<article id="ta-${link}" data-nav-id="${link}" class="${index == 0 ? 'first-article' : index + 1 == total ? 'last-article' : ''}" data-toc-title="${encodeHTML(toctitle)}">
<article id="${link}" data-nav-id="${link}" class="${index == 0 ? 'first-article' : index + 1 == total ? 'last-article' : ''}" data-toc-title="${encodeHTML(toctitle)}">
${
title != manual.title
? `
Expand Down

0 comments on commit 0fdd1e5

Please sign in to comment.