updated _GithubSource.tsx
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Struchkov Mark 2024-09-05 03:17:53 +03:00
parent 99ad1dfc9f
commit 7f3f5bb174
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C
3 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ const Backlinks: QuartzComponent = ({
))} ))}
</ul> </ul>
</div> </div>
<hr/>
); );
} }

View File

@ -45,7 +45,6 @@ export default ((opts: Options) => {
return ( return (
<> <>
<hr/>
<div id="remark42" style="margin-top: 2rem"></div> <div id="remark42" style="margin-top: 2rem"></div>
<script dangerouslySetInnerHTML={{ __html: remarkConfig }}></script> <script dangerouslySetInnerHTML={{ __html: remarkConfig }}></script>
<script dangerouslySetInnerHTML={{ __html: embedScript }}></script> <script dangerouslySetInnerHTML={{ __html: embedScript }}></script>

View File

@ -23,6 +23,7 @@ export default ((opts?: Partial<GithubSourceOptions>) => {
}: QuartzComponentProps) => { }: QuartzComponentProps) => {
return ( return (
<div class={classNames(displayClass, "github-source")}> <div class={classNames(displayClass, "github-source")}>
<h3>Инструменты</h3>
<ul> <ul>
<li> <li>
<a href={`${options?.repoLink}/blob/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} <a href={`${options?.repoLink}/blob/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`}