fixed _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
5ec339cc4c
commit
656af4a884
@ -23,21 +23,21 @@ export default ((opts?: Partial<GithubSourceOptions>) => {
|
|||||||
}: QuartzComponentProps) => {
|
}: QuartzComponentProps) => {
|
||||||
return (
|
return (
|
||||||
<div class={classNames(displayClass, "github-source")}>
|
<div class={classNames(displayClass, "github-source")}>
|
||||||
<h3>Source code</h3>
|
<h3>Исходники заметки</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href={`${options?.repoLink}/blob/${options?.branch}/${fileData.filePath!}`}>
|
<a href={`${options?.repoLink}/blob/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} className="external">
|
||||||
Source
|
Редактировать
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href={`${options?.repoLink}/blame/${options?.branch}/${fileData.filePath!}`}>
|
<a href={`${options?.repoLink}/blame/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} class="external">
|
||||||
Blame
|
Blame
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href={`${options?.repoLink}/commits/${options?.branch}/${fileData.filePath!}`} class="external">
|
<a href={`${options?.repoLink}/commits/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} class="external">
|
||||||
GitHistory
|
История изменений
|
||||||
</a>
|
</a>
|
||||||
<svg
|
<svg
|
||||||
class="external-icon"
|
class="external-icon"
|
||||||
|
Loading…
Reference in New Issue
Block a user