updated _GithubSource.tsx
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
99ad1dfc9f
commit
7f3f5bb174
@ -25,6 +25,7 @@ const Backlinks: QuartzComponent = ({
|
|||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<hr/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
@ -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\//, "")}`}
|
||||||
|
Loading…
Reference in New Issue
Block a user