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) => {
|
||||
return (
|
||||
<div class={classNames(displayClass, "github-source")}>
|
||||
<h3>Source code</h3>
|
||||
<h3>Исходники заметки</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<a href={`${options?.repoLink}/blob/${options?.branch}/${fileData.filePath!}`}>
|
||||
Source
|
||||
<a href={`${options?.repoLink}/blob/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} className="external">
|
||||
Редактировать
|
||||
</a>
|
||||
</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
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href={`${options?.repoLink}/commits/${options?.branch}/${fileData.filePath!}`} class="external">
|
||||
GitHistory
|
||||
<a href={`${options?.repoLink}/commits/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} class="external">
|
||||
История изменений
|
||||
</a>
|
||||
<svg
|
||||
class="external-icon"
|
||||
|
Loading…
Reference in New Issue
Block a user