Skip to content

Commit da68198

Browse files
committed
frontend: rearrange index page text
1 parent 0db68f5 commit da68198

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

frontend/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
<div class='px-3 my-5 markdown-body'>
1414
<h1>Yet Another Pastebin</h1>
1515
<p>This is an open source pastebin deployed on Cloudflare Workers. </p>
16-
<p><b>Usage</b>: paste any text here, submit, then share it with URL. </p>
16+
<p><b>Usage</b>: paste any text here, submit, then share it with URL. (<a href='{{BASE_URL}}/api'>API Documentation</a>)</p>
1717
<p><b>Warning</b>: only for temporary share (<b>max 30 days</b>). Files will be deleted without notice!</p>
18-
<p>Refer to <a href='{{REPO}}'>GitHub</a> for more details.</p>
1918

2019
<div id='paste-input-panel'>
2120
<div id='paste-header'>
@@ -105,7 +104,7 @@ <h2>Uploaded paste</h2>
105104
<p>
106105
<a href='{{BASE_URL}}/tos' class='d-inline-block'>Terms & Conditions</a>
107106
/
108-
<a href='{{BASE_URL}}/api' class='d-inline-block'>API Documentation</a>
107+
<a href='{{REPO}}' class='d-inline-block'>Github</a>
109108
</p>
110109
</footer>
111110
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js'></script>

0 commit comments

Comments
 (0)