@@ -20,7 +20,7 @@ function wrapHtml(
2020 githubBlobPath : string ,
2121 isDocumentationMode : boolean ,
2222 hideBreadcrumbNav ?: string ,
23- hideEditInGithub ?: string ,
23+ hideEditInGitHub ?: string ,
2424 layout ?: string ,
2525 title ?: string ,
2626 description ?: string ,
@@ -40,7 +40,7 @@ function wrapHtml(
4040 <meta name="githubblobpath" content="${ githubBlobPath } ">
4141 ${ isDocumentationMode ? documentationString : '' }
4242 ${ hideBreadcrumbNav ? `<meta name="hidebreadcrumbnav" content="${ hideBreadcrumbNav } ">` : '' }
43- ${ hideEditInGithub ? `<meta name="hideeditingithub" content="${ hideEditInGithub } ">` : '' }
43+ ${ hideEditInGitHub ? `<meta name="hideeditingithub" content="${ hideEditInGitHub } ">` : '' }
4444 ${ layout ? `<meta name="layout" content="${ layout } ">` : '' }
4545 </head>
4646 <body>
@@ -112,12 +112,12 @@ export default function stringify(ctx: Helix.UniversalContext) {
112112 const { pathprefix } = ctx . attributes . content ;
113113 const githubBlobPath = `https://github.com/${ ctx . attributes . content . owner } /${ ctx . attributes . content . repo } /blob/${ ctx . attributes . content . branch } ${ ctx . attributes . content . path } ` ;
114114 const hideBreadcrumbNav = parseVariable ( ctx . attributes . content . md , "hideBreadcrumbNav:" , log ) ;
115- const hideEditInGithub = parseVariable ( ctx . attributes . content . md , "hideEditInGithub :" , log ) ;
115+ const hideEditInGitHub = parseVariable ( ctx . attributes . content . md , "hideEditInGitHub :" , log ) ;
116116 const layout = parseVariable ( ctx . attributes . content . md , "layout:" , log ) ;
117117 const docTitle = parseVariable ( ctx . attributes . content . md , "title:" , log ) ;
118118 const docDescription = parseVariable ( ctx . attributes . content . md , "description:" , log ) ;
119119 const searchKeywords = parseVariable ( ctx . attributes . content . md , "keywords:" , log ) ;
120120 content . html = wrapHtml ( toHtml ( content . hast , {
121121 upperDoctype : true ,
122- } ) , pathprefix , githubBlobPath , documetationMode , hideBreadcrumbNav , hideEditInGithub , layout , docTitle , docDescription , searchKeywords ) ;
122+ } ) , pathprefix , githubBlobPath , documetationMode , hideBreadcrumbNav , hideEditInGitHub , layout , docTitle , docDescription , searchKeywords ) ;
123123}
0 commit comments