guipenedo HF Staff commited on
Commit
9d89847
·
1 Parent(s): 4fe01bf

open all links in a new tab

Browse files
Files changed (2) hide show
  1. index.html +1 -3
  2. src/distill.js +2 -2
index.html CHANGED
@@ -11,6 +11,7 @@
11
  <link rel="stylesheet" href="style.css">
12
  <meta name="viewport" content="width=device-width, initial-scale=1">
13
  <meta charset="utf8">
 
14
  <title>FineWeb: 15T tokens of high quality web data</title>
15
  <style>
16
 
@@ -767,8 +768,5 @@
767
  toc.innerHTML = ToC;
768
  toc.setAttribute('prerendered', 'true');
769
  }
770
- document.querySelectorAll('a[href^="https://huggingface.co"]').forEach(function(link) {
771
- link.setAttribute('target', '_blank');
772
- });
773
  </script>
774
  </body>
 
11
  <link rel="stylesheet" href="style.css">
12
  <meta name="viewport" content="width=device-width, initial-scale=1">
13
  <meta charset="utf8">
14
+ <base target="_blank">
15
  <title>FineWeb: 15T tokens of high quality web data</title>
16
  <style>
17
 
 
768
  toc.innerHTML = ToC;
769
  toc.setAttribute('prerendered', 'true');
770
  }
 
 
 
771
  </script>
772
  </body>
src/distill.js CHANGED
@@ -2089,7 +2089,7 @@ d-appendix > distill-appendix {
2089
  ${frontMatter.authors.map((author, i) => `
2090
  <span class="author">
2091
  ${author.personalURL ? `
2092
- <a class="name" href="${author.personalURL}" target="_blank">${author.name}` + (i + 1 < frontMatter.authors.length ? `,` : ``) + `</a>` : `
2093
  <span class="name">${author.name}` + (i + 1 < frontMatter.authors.length ? `,` : ``) + `</span>`}
2094
  </span>
2095
  `).join('')}
@@ -2097,7 +2097,7 @@ d-appendix > distill-appendix {
2097
  </div>
2098
  <div >
2099
  <h3>Affiliation</h3>
2100
- <div><a href="https://huggingface.co/" target="_blank">HuggingFace</a>
2101
  </div>
2102
  </div>
2103
  <div >
 
2089
  ${frontMatter.authors.map((author, i) => `
2090
  <span class="author">
2091
  ${author.personalURL ? `
2092
+ <a class="name" href="${author.personalURL}">${author.name}` + (i + 1 < frontMatter.authors.length ? `,` : ``) + `</a>` : `
2093
  <span class="name">${author.name}` + (i + 1 < frontMatter.authors.length ? `,` : ``) + `</span>`}
2094
  </span>
2095
  `).join('')}
 
2097
  </div>
2098
  <div >
2099
  <h3>Affiliation</h3>
2100
+ <div><a href="https://huggingface.co/">HuggingFace</a>
2101
  </div>
2102
  </div>
2103
  <div >