Add add template

This commit is contained in:
James Mills
2021-01-31 15:14:08 +10:00
parent af1769a4a9
commit 4e7799b1a5

View File

@@ -0,0 +1,38 @@
{{define "content"}}
<article class="grid">
<div>
<hgroup>
<h2>Add site</h2>
<h3>Add a new site to be indexed</h3>
</hgroup>
<form action="/add" method="POST">
<input type="hidden" name="csrf_token" value="{{ $.CSRFToken }}">
<input type="url" name="url" placeholder="Website's URL" aria-label="URL" autocomplete="url" required>
<button type="submit" class="primary">
<i class="icss-plus"></i>
Add
</button>
</form>
</div>
<div>
<hgroup>
<h2>How to add new sites</h2>
</hgroup>
<p>
Spyda relies on users to contribute and add websites or URLs to be
considered for crawling and indexing. Without this there is no way
to increase the number of website indexed and crawled by Spyda.
</p>
<p>
To add a website to Spyda's crawler for consideration, just enter the
website's address or URl in the box and click "Add". Spyda will then
start to crawl the website, index it and it will become available for
future search queries.
</p>
<p>
If you are the author or maintainer of a website that you wish <b>NOT</b>
to be indexed by Spyda, please contact <a href="/support">support</a>.
</p>
</div>
</article>
{{end}}