"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
docs: move most of the chrome into baseof.html as per a modern hugo install
Nick Craig-Wood1b12d5d3467d
diff --git a/docs/layouts/404.html b/docs/layouts/404.htmlindex 65387aa4e..039be0131 100644--- a/docs/layouts/404.html+++ b/docs/layouts/404.html@@ -1,7 +1,4 @@{{ define "main"}}- <main id="main">- <div>- <h1 id="title"><a href="{{ "/" | relURL }}">Go Home</a></h1>- </div>- </main>+<h1>Page not found :-(</h1>+<a href="{{ "/" | relURL }}">Click here to return to the homepage</a>.{{ end }}diff --git a/docs/layouts/_default/baseof.html b/docs/layouts/_default/baseof.htmlnew file mode 100644index 000000000..d422ab0c7--- /dev/null+++ b/docs/layouts/_default/baseof.html@@ -0,0 +1,59 @@+<!doctype html>+<html lang="en">+ <head>+ <meta charset="utf-8">+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">+ <meta name="description" content="{{ .Description }}">+ <meta name="author" content="Nick Craig-Wood">+ <link rel="shortcut icon" type="image/png" href="/img/rclone-32x32.png"/>+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-51081799-1"></script>+ <script>+ window.dataLayer = window.dataLayer || [];+ function gtag(){dataLayer.push(arguments);}+ gtag('js', new Date());+ gtag('config', 'UA-51081799-1');+ </script>+ <title>{{ block "title" . }}{{ .Title }}{{ end }}</title>+ <link rel="canonical" href="{{ .Permalink }}">+ <link href="/css/bootstrap.min.4.4.1.css" rel="stylesheet">+ <link href="/css/font-awesome.min.5.10.2.css" rel="stylesheet">+ <link href="/css/custom.css?r={{ .Date.Unix }}" rel="stylesheet">+ {{ $RSSLink := "" }}{{ with .OutputFormats.Get "RSS" }}{{ $RSSLink = .RelPermalink }}{{ end }}{{ if $RSSLink }}<link href="{{ $RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />{{ end }}+ </head>+ <body>+ {{ template "chrome/navbar.html" . }}+ <div class="container">+ <div class="row">+ <div class="col-md-10">+ {{ block "main" . }}+ {{ end }}+ </div>+ <div class="col-md-2">+ {{ template "chrome/menu.html" . }}+ </div>+ </div>+ {{ block "footer" . }}+ <footer>+ <div class="row">+ <div class="col-md-10">+ <div class="card card-body">+ <p style="font-size: 90%;">+ © <a href="https://www.craig-wood.com/nick/">Nick Craig-Wood</a> 2014-{{ now.Format "2006" }}<br>+ Website hosted on a <a href="https://www.memset.com/dedicated-servers/vps/"><span style="font-weight: bold; font-family: arial black, arial, sans-serif; font-style: italic;">MEMSET CLOUD VPS</span></a>,+ uploaded with <a href="https://rclone.org">rclone</a>+ and built with <a href="https://github.com/spf13/hugo">Hugo</a>.+ Logo by <a href="https://twitter.com/andy23">@andy23</a>.+ </p>+ </div>+ </div>+ </div>+ </footer>+ {{ end }}+ </div>+ <script src="/js/jquery.min.3.5.1.js"></script>+ <script src="/js/popper.min.1.16.0.js"></script>+ <script src="/js/bootstrap.min.4.4.1.js"></script>+ <script src="/js/custom.js?r={{ .Date.Unix }}"></script>+ </body>+</html>diff --git a/docs/layouts/_default/single.html b/docs/layouts/_default/single.htmlindex 979609e0c..9983b0816 100644--- a/docs/layouts/_default/single.html+++ b/docs/layouts/_default/single.html@@ -1,24 +1,3 @@-{{ template "chrome/header.html" . }}-<body>-{{ template "chrome/navbar.html" . }}-<div class="container">- <div class="row">- <div class="col-md-10">- <div class="card">- <!-- <div class="card-header"> -->- <!-- <h3>{{ .Title }}<br> <small>{{ .Description }}</small></h3> -->- <!-- </div> -->- <div class="card-body bg-light">- {{ .Content }}- </div>- </div>- </div>-- <!-- Sidebar -->- <div class="col-md-2">- {{ template "chrome/menu.html" . }}- </div>- </div>- {{ template "chrome/footer.copyright.html" . }}-</div>-{{ template "chrome/footer.html" . }}+{{ define "main" }}+{{ .Content }}+{{ end }}diff --git a/docs/layouts/chrome/footer.copyright.html b/docs/layouts/chrome/footer.copyright.htmldeleted file mode 100644index 65147af43..000000000--- a/docs/layouts/chrome/footer.copyright.html+++ /dev/null@@ -1,15 +0,0 @@-<footer>- <div class="row">- <div class="col-md-10">- <div class="card card-body">- <p style="font-size: 90%;">- © <a href="https://www.craig-wood.com/nick/">Nick Craig-Wood</a> 2014-{{ now.Format "2006" }}<br>- Website hosted on a <a href="https://www.memset.com/dedicated-servers/vps/"><span style="font-weight: bold; font-family: arial black, arial, sans-serif; font-style: italic;">MEMSET CLOUD VPS</span></a>,- uploaded with <a href="https://rclone.org">rclone</a>- and built with <a href="https://github.com/spf13/hugo">Hugo</a>.- Logo by <a href="https://twitter.com/andy23">@andy23</a>.- </p>- </div>- </div>- </div>-</footer>diff --git a/docs/layouts/chrome/footer.html b/docs/layouts/chrome/footer.htmldeleted file mode 100644index ad02e324e..000000000--- a/docs/layouts/chrome/footer.html+++ /dev/null@@ -1,6 +0,0 @@- <script src="/js/jquery.min.3.5.1.js"></script>- <script src="/js/popper.min.1.16.0.js"></script>- <script src="/js/bootstrap.min.4.4.1.js"></script>- <script src="/js/custom.js?r={{ .Date.Unix }}"></script>-</body>-</html>diff --git a/docs/layouts/chrome/header.html b/docs/layouts/chrome/header.htmldeleted file mode 100644index 549e1b34c..000000000--- a/docs/layouts/chrome/header.html+++ /dev/null@@ -1,9 +0,0 @@-<!doctype html>-<html lang="en">-<head>- {{ template "chrome/meta.html" . }}- <title>{{ .Title }}</title>- <link rel="canonical" href="{{ .Permalink }}">- {{ template "chrome/header.includes.html" . }}- {{ $RSSLink := "" }}{{ with .OutputFormats.Get "RSS" }}{{ $RSSLink = .RelPermalink }}{{ end }}{{ if $RSSLink }}<link href="{{ $RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />{{ end }}-</head>diff --git a/docs/layouts/chrome/header.includes.html b/docs/layouts/chrome/header.includes.htmldeleted file mode 100644index 718332230..000000000--- a/docs/layouts/chrome/header.includes.html+++ /dev/null@@ -1,3 +0,0 @@- <link href="/css/bootstrap.min.4.4.1.css" rel="stylesheet">- <link href="/css/font-awesome.min.5.10.2.css" rel="stylesheet">- <link href="/css/custom.css?r={{ .Date.Unix }}" rel="stylesheet">diff --git a/docs/layouts/chrome/menu.html b/docs/layouts/chrome/menu.htmlindex a3bf93537..daeb6306e 100644--- a/docs/layouts/chrome/menu.html+++ b/docs/layouts/chrome/menu.html@@ -1,30 +1,30 @@- <div class="card">- <div class="card-header" style="padding: 5px 10px;">- Share and Enjoy.- </div>- <div class="card-body">- <p class="menu">- <!-- Non tracking sharing links from: https://sharingbuttons.io/ -->- <i class="fab fa-twitter" aria-hidden="true"></i> <a href="https://twitter.com/intent/tweet/?text=rclone%20-%20rsync%20for%20cloud%20storage%20from%20%40njcw&url=https%3A%2F%2Frclone.org" target="_blank" rel="noopener" aria-label="Share on Twitter">Twitter.</a><br />- <i class="fab fa-facebook" aria-hidden="true"></i> <a href="https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Frclone.org" target="_blank" rel="noopener" aria-label="Share on Facebook">Facebook.</a><br />- <i class="fab fa-reddit" aria-hidden="true"></i> <a href="https://reddit.com/submit/?url=https%3A%2F%2Frclone.org&resubmit=true&title=rclone%20-%20rsync%20for%20cloud%20storage" target="_blank" rel="noopener" aria-label="Share on Reddit">Reddit.</a><br />- <iframe src="//ghbtns.com/github-btn.html?user=rclone&repo=rclone&type=star&count=true" allowtransparency="true" frameborder="0" scrolling="no" width="120" height="20"></iframe>- </p>- </div>- </div>+<div class="card">+ <div class="card-header" style="padding: 5px 10px;">+ Share and Enjoy.+ </div>+ <div class="card-body">+ <p class="menu">+ <!-- Non tracking sharing links from: https://sharingbuttons.io/ -->+ <i class="fab fa-twitter" aria-hidden="true"></i> <a href="https://twitter.com/intent/tweet/?text=rclone%20-%20rsync%20for%20cloud%20storage%20from%20%40njcw&url=https%3A%2F%2Frclone.org" target="_blank" rel="noopener" aria-label="Share on Twitter">Twitter.</a><br />+ <i class="fab fa-facebook" aria-hidden="true"></i> <a href="https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Frclone.org" target="_blank" rel="noopener" aria-label="Share on Facebook">Facebook.</a><br />+ <i class="fab fa-reddit" aria-hidden="true"></i> <a href="https://reddit.com/submit/?url=https%3A%2F%2Frclone.org&resubmit=true&title=rclone%20-%20rsync%20for%20cloud%20storage" target="_blank" rel="noopener" aria-label="Share on Reddit">Reddit.</a><br />+ <iframe src="//ghbtns.com/github-btn.html?user=rclone&repo=rclone&type=star&count=true" allowtransparency="true" frameborder="0" scrolling="no" width="120" height="20"></iframe>+ </p>+ </div>+</div>- <div class="card">- <div class="card-header" style="padding: 5px 15px;">- Links.- </div>- <div class="card-body">- <p class="menu">- <i class="fa fa-comments" aria-hidden="true"></i> <a href="https://forum.rclone.org">Rclone forum.</a><br />- <i class="fab fa-github" aria-hidden="true"></i> <a href="https://github.com/rclone/rclone">GitHub project.</a><br />- <i class="fab fa-slack" aria-hidden="true"></i> <a href="https://slack-invite.rclone.org/">Rclone slack.</a><br />- <i class="fa fa-book" aria-hidden="true"></i> <a href="https://github.com/rclone/rclone/wiki">Rclone Wiki.</a><br />- <i class="fa fa-heart heart" aria-hidden="true"></i> <a href="/donate/">Donate.</a><br />- <i class="fab fa-twitter" aria-hidden="true"></i> <a href="https://twitter.com/njcw">@njcw</a>- </p>- </div>- </div>+<div class="card">+ <div class="card-header" style="padding: 5px 15px;">+ Links.+ </div>+ <div class="card-body">+ <p class="menu">+ <i class="fa fa-comments" aria-hidden="true"></i> <a href="https://forum.rclone.org">Rclone forum.</a><br />+ <i class="fab fa-github" aria-hidden="true"></i> <a href="https://github.com/rclone/rclone">GitHub project.</a><br />+ <i class="fab fa-slack" aria-hidden="true"></i> <a href="https://slack-invite.rclone.org/">Rclone slack.</a><br />+ <i class="fa fa-book" aria-hidden="true"></i> <a href="https://github.com/rclone/rclone/wiki">Rclone Wiki.</a><br />+ <i class="fa fa-heart heart" aria-hidden="true"></i> <a href="/donate/">Donate.</a><br />+ <i class="fab fa-twitter" aria-hidden="true"></i> <a href="https://twitter.com/njcw">@njcw</a>+ </p>+ </div>+</div>diff --git a/docs/layouts/chrome/meta.html b/docs/layouts/chrome/meta.htmldeleted file mode 100644index 2ff706e21..000000000--- a/docs/layouts/chrome/meta.html+++ /dev/null@@ -1,13 +0,0 @@- <meta charset="utf-8">- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">- <meta name="description" content="{{ .Description }}">- <meta name="author" content="Nick Craig-Wood">- <link rel="shortcut icon" type="image/png" href="/img/rclone-32x32.png"/>- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-51081799-1"></script>- <script>- window.dataLayer = window.dataLayer || [];- function gtag(){dataLayer.push(arguments);}- gtag('js', new Date());- gtag('config', 'UA-51081799-1');- </script>diff --git a/docs/layouts/index.html b/docs/layouts/index.htmlindex b766d5985..9983b0816 100644--- a/docs/layouts/index.html+++ b/docs/layouts/index.html@@ -1,16 +1,3 @@-{{ template "chrome/header.html" . }}-<body>-{{ template "chrome/navbar.html" . }}-<div class="container">- <div class="row">- <div class="col-md-10">- {{ .Content }}- </div>- <!-- Sidebar -->- <div class="col-md-2">- {{ template "chrome/menu.html" . }}- </div>- </div>-{{ template "chrome/footer.copyright.html" . }}-</div>-{{ template "chrome/footer.html" . }}+{{ define "main" }}+{{ .Content }}+{{ end }}diff --git a/docs/layouts/page/single.html b/docs/layouts/page/single.htmldeleted file mode 100644index 979609e0c..000000000--- a/docs/layouts/page/single.html+++ /dev/null@@ -1,24 +0,0 @@-{{ template "chrome/header.html" . }}-<body>-{{ template "chrome/navbar.html" . }}-<div class="container">- <div class="row">- <div class="col-md-10">- <div class="card">- <!-- <div class="card-header"> -->- <!-- <h3>{{ .Title }}<br> <small>{{ .Description }}</small></h3> -->- <!-- </div> -->- <div class="card-body bg-light">- {{ .Content }}- </div>- </div>- </div>-- <!-- Sidebar -->- <div class="col-md-2">- {{ template "chrome/menu.html" . }}- </div>- </div>- {{ template "chrome/footer.copyright.html" . }}-</div>-{{ template "chrome/footer.html" . }}diff --git a/docs/layouts/section/commands.html b/docs/layouts/section/commands.htmlindex 93d7eac03..4e2ec2f9c 100644--- a/docs/layouts/section/commands.html+++ b/docs/layouts/section/commands.html@@ -1,41 +1,23 @@-{{ template "chrome/header.html" . }}-<body>- {{ template "chrome/navbar.html" . }}-<div class="container">- <div class="row">- <div class="col-md-10">- <div class="card">- <div class="card-body bg-light">- <h1>Rclone Commands</h1>- <p>- This is an index of all commands in rclone. Run "rclone- command --help" to see the help for that command.- </p>- <table>- <thead>- <tr>- <th>Command</th>- <th>Description</th>- </tr>- </thead>- <tbody>- {{ range .Data.Pages }}- <tr>- <td><a href="{{ .RelPermalink }}">{{ .Title }}</a></td>- <td>{{ .Description }}</td>- </tr>- {{ end }}- </tbody>- </table>- </div>- </div>- </div>-- <!-- Sidebar -->- <div class="col-md-2">- {{ template "chrome/menu.html" . }}- </div>- </div>- {{ template "chrome/footer.copyright.html" . }}-</div>-{{ template "chrome/footer.html" . }}+{{ define "main" }}+<h1>Rclone Commands</h1>+<p>+ This is an index of all commands in rclone. Run "rclone+ command --help" to see the help for that command.+</p>+<table>+ <thead>+ <tr>+ <th>Command</th>+ <th>Description</th>+ </tr>+ </thead>+ <tbody>+ {{ range .Data.Pages }}+ <tr>+ <td><a href="{{ .RelPermalink }}">{{ .Title }}</a></td>+ <td>{{ .Description }}</td>+ </tr>+ {{ end }}+ </tbody>+</table>+{{ end }}