Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs: fix validation errors

Nick Craig-Wood41e12114a89a
diff --git a/docs/content/_index.md b/docs/content/_index.md
index 5ab850fd4..7c9d0eebb 100644
--- a/docs/content/_index.md
+++ b/docs/content/_index.md
@@ -103,6 +103,7 @@ Here is a list of providers that rclone supports. This isn't an
exhaustive list as there are many more that support standard protocols
such as WebDAV or S3 that work out of the box.
+{{< provider_list >}}
{{< provider name="1Fichier" home="https://1fichier.com/" config="/fichier/" start="true">}}
{{< provider name="Alibaba Cloud (Aliyun) Object Storage System (OSS)" home="https://www.alibabacloud.com/product/oss/" config="/s3/#alibaba-oss" >}}
{{< provider name="Amazon Drive" home="https://www.amazon.com/clouddrive" config="/amazonclouddrive/" note="#status">}}
@@ -153,6 +154,7 @@ such as WebDAV or S3 that work out of the box.
{{< provider name="WebDAV" home="https://en.wikipedia.org/wiki/WebDAV" config="/webdav/" >}}
{{< provider name="Yandex Disk" home="https://disk.yandex.com/" config="/yandex/" >}}
{{< provider name="The local filesystem" home="/local/" config="/local/" end="true">}}
+{{< /provider_list >}}
Links
diff --git a/docs/content/s3.md b/docs/content/s3.md
index 343409719..8c065c803 100644
--- a/docs/content/s3.md
+++ b/docs/content/s3.md
@@ -9,6 +9,7 @@ date: "2016-07-11"
The S3 backend can be used with a number of different providers:
+{{< provider_list >}}
{{< provider name="AWS S3" home="https://aws.amazon.com/s3/" config="/s3/#amazon-s3" start="true" >}}
{{< provider name="Alibaba Cloud (Aliyun) Object Storage System (OSS)" home="https://www.alibabacloud.com/product/oss/" config="/s3/#alibaba-oss" >}}
{{< provider name="Ceph" home="http://ceph.com/" config="/s3/#ceph" >}}
@@ -19,6 +20,7 @@ The S3 backend can be used with a number of different providers:
{{< provider name="Scaleway" home="https://www.scaleway.com/en/object-storage/" config="/s3/#scaleway" >}}
{{< provider name="StackPath" home="https://www.stackpath.com/products/object-storage/" config="/s3/#stackpath" >}}
{{< provider name="Wasabi" home="https://wasabi.com/" config="/s3/#wasabi" end="true" >}}
+{{< /provider_list >}}
Paths are specified as `remote:bucket` (or `remote:` for the `lsd`
command.) You may put subdirectories in too, eg `remote:bucket/path/to/dir`.
diff --git a/docs/content/sftp.md b/docs/content/sftp.md
index 9bd224cf7..78ab03a26 100644
--- a/docs/content/sftp.md
+++ b/docs/content/sftp.md
@@ -12,8 +12,10 @@ Protocol](https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol).
The SFTP backend can be used with a number of different providers:
-{{< provider name="C14" home="https://www.online.net/en/storage/c14-cold-storage" config="/sftp/#c14" start="true">}}
-{{< provider name="rsync.net" home="https://rsync.net/products/rclone.html" config="/sftp/#rsync-net" end="true">}}
+{{< provider_list >}}
+{{< provider name="C14" home="https://www.online.net/en/storage/c14-cold-storage" config="/sftp/#c14">}}
+{{< provider name="rsync.net" home="https://rsync.net/products/rclone.html" config="/sftp/#rsync-net">}}
+{{< /provider_list >}}
SFTP runs over SSH v2 and is installed as standard with most modern
SSH installations.
diff --git a/docs/layouts/shortcodes/monthly_donations.html b/docs/layouts/shortcodes/monthly_donations.html
index eaea4aca3..dfcf48aa2 100644
--- a/docs/layouts/shortcodes/monthly_donations.html
+++ b/docs/layouts/shortcodes/monthly_donations.html
@@ -6,9 +6,9 @@
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<span class="dropdown-item"><small class="text-muted">Please check the "monthly" box</small></span>
- <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=B9JZV25DCP2SJ&source=url">Donate in $ USD</a>
- <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RGRFXCDDHK3LW&source=url">Donate in £ GBP</a>
- <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y2AMZXSALFBR4&source=url">Donate in € EUR</a>
+ <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=B9JZV25DCP2SJ&amp;source=url">Donate in $ USD</a>
+ <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=RGRFXCDDHK3LW&amp;source=url">Donate in £ GBP</a>
+ <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=Y2AMZXSALFBR4&amp;source=url">Donate in € EUR</a>
</div>
</div>
<a class="btn btn-secondary" role="button" href="https://github.com/sponsors/ncw" target="_blank"><i class="fab fa-patreon" aria-hidden="true"></i> Patreon</a>
diff --git a/docs/layouts/shortcodes/one_off_donations.html b/docs/layouts/shortcodes/one_off_donations.html
index cb9ea9ca9..f60049e60 100644
--- a/docs/layouts/shortcodes/one_off_donations.html
+++ b/docs/layouts/shortcodes/one_off_donations.html
@@ -4,9 +4,9 @@
<i class="fab fa-paypal" aria-hidden="true"></i> Paypal
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
- <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=B9JZV25DCP2SJ&source=url">Donate in $ USD</a>
- <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RGRFXCDDHK3LW&source=url">Donate in £ GBP</a>
- <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y2AMZXSALFBR4&source=url">Donate in € EUR</a>
+ <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=B9JZV25DCP2SJ&amp;source=url">Donate in $ USD</a>
+ <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=RGRFXCDDHK3LW&amp;source=url">Donate in £ GBP</a>
+ <a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=Y2AMZXSALFBR4&amp;source=url">Donate in € EUR</a>
</div>
</div>
<a class="btn btn-secondary" role="button" href="https://www.paypal.me/nickcw" target="_blank"><i class="fab fa-paypal" aria-hidden="true"></i> Paypal.me</a>
@@ -16,7 +16,7 @@
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<span class="dropdown-item">Bitcoin: scan or click the image or copy the address</span>
- <a class="dropdown-item" target="_blank" href="bitcoin:19j3oLUsqBcTRvZ2LSq2phVjsAAJ86xSnk"><img src="/img/ncw-bitcoin-address.png"></a>
+ <a class="dropdown-item" target="_blank" href="bitcoin:19j3oLUsqBcTRvZ2LSq2phVjsAAJ86xSnk"><img src="/img/ncw-bitcoin-address.png" alt="bitcoin:19j3oLUsqBcTRvZ2LSq2phVjsAAJ86xSnk"></a>
<span class="dropdown-item">
<input type="text" value="19j3oLUsqBcTRvZ2LSq2phVjsAAJ86xSnk" size="30" readonly>
<button class="btn btn-secondary copy-to-clipboard" type="button" data-toggle="tooltip" data-placement="button" title="Copy to Clipboard"><i class="fas fa-copy" aria-hidden="true"></i></button></span>
diff --git a/docs/layouts/shortcodes/provider.html b/docs/layouts/shortcodes/provider.html
index dd04da25b..c66445523 100644
--- a/docs/layouts/shortcodes/provider.html
+++ b/docs/layouts/shortcodes/provider.html
@@ -1,13 +1,9 @@
-{{ if .Get "start"}}<ul class="list-group">{{end}}
<li class="list-group-item d-flex justify-content-between">
<span>
- {{ .Get "name" }}
- {{ if .Get "note"}} (<a href="{{ .Get "config" }}{{ .Get "note" }}">See note</a>) {{end}}
+ {{ .Get "name" }}{{ if .Get "note"}} (<a href="{{ .Get "config" }}{{ .Get "note" }}">See note</a>){{end}}
</span>
<span>
<a class="badge badge-primary badge-pill" role="button btn-sm" href="{{ .Get "home" }}" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> Home</a>
<a class="badge badge-primary badge-pill" role="button btn-sm" href="{{ .Get "config" }}"><i class="fa fa-book" aria-hidden="true"></i> Config</a>
</span>
</li>
-{{ if .Get "end"}}</ul>{{end}}
-
diff --git a/docs/layouts/shortcodes/version.html b/docs/layouts/shortcodes/version.html
index 8476e6e9e..b80004cf3 100644
--- a/docs/layouts/shortcodes/version.html
+++ b/docs/layouts/shortcodes/version.html
@@ -1 +1 @@
-{{ partial "version.html" . }}
+{{ partial "version.html" . }}
\ No newline at end of file