mirror of
https://github.com/recloudstream/website.git
synced 2024-08-15 03:18:45 +00:00
update link to github markdown file
This commit is contained in:
parent
6f16d6af96
commit
3b4f55d872
1 changed files with 14 additions and 3 deletions
|
@ -76,9 +76,20 @@ export default function PageTemplate({ data: { markdownRemark, allMarkdownRemark
|
||||||
{filtered}
|
{filtered}
|
||||||
</div></>}
|
</div></>}
|
||||||
</div>
|
</div>
|
||||||
<footer className="footer footer-center pt-10 mt-15 bg-base-200 text-base-content rounded gap-2">
|
<div className="alert shadow-lg w-full mx-10 md:w-2/3 mt-10">
|
||||||
<a href={`https://github.com/recloudstream/recloudstream.github.io/blob/master/src/pages{node2slug(markdownRemark)}`} target="_blank">Edit this page on GitHub</a>
|
<div>
|
||||||
</footer>
|
<div>
|
||||||
|
<h3 className="font-bold">Edit on GitHub</h3>
|
||||||
|
<div className="text-xs">If you see a mistake here, you can open a pull request</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="flex-none">
|
||||||
|
<a
|
||||||
|
className="btn btn-primary btn-sm"
|
||||||
|
href={`https://github.com/recloudstream/recloudstream.github.io/blob/master/src/pages${node2slug(markdownRemark)}`}
|
||||||
|
target="_blank">Edit</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue