File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { define } from "../../util.ts";
66import { extract } from "@std/front-matter/yaml" ;
77
88import TOC , { groupsNames } from "../../docs/toc.ts" ;
9+ import TbBrandGithub from "@preact-icons/tb/TbBrandGithub" ;
910
1011const groups = new Map < string , { id : string ; title : string } [ ] > ( ) ;
1112for ( const group of groupsNames ) {
@@ -59,11 +60,12 @@ export default define.page<typeof handler>(function Page({ data }) {
5960 < Markdown source = { data . content } />
6061 < p class = "mt-6 text-sm" >
6162 < a
62- class = "link"
63+ class = "link inline-flex items-center gap-1 "
6364 href = { `https://github.com/jsr-io/jsr/blob/main/frontend/docs/${ data . id } .md` }
6465 target = "_blank"
6566 rel = "noopener noreferrer"
6667 >
68+ < TbBrandGithub class = "size-4" aria-hidden />
6769 Edit this page on GitHub
6870 </ a >
6971 </ p >
You can’t perform that action at this time.
0 commit comments