mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
docs: move most of the chrome into baseof.html as per a modern hugo install
This commit is contained in:
parent
74b8cbfb84
commit
1b12d5d346
@ -1,7 +1,4 @@
|
|||||||
{{ define "main"}}
|
{{ define "main"}}
|
||||||
<main id="main">
|
<h1>Page not found :-(</h1>
|
||||||
<div>
|
<a href="{{ "/" | relURL }}">Click here to return to the homepage</a>.
|
||||||
<h1 id="title"><a href="{{ "/" | relURL }}">Go Home</a></h1>
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
59
docs/layouts/_default/baseof.html
Normal file
59
docs/layouts/_default/baseof.html
Normal file
@ -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>
|
@ -1,24 +1,3 @@
|
|||||||
{{ template "chrome/header.html" . }}
|
{{ define "main" }}
|
||||||
<body>
|
{{ .Content }}
|
||||||
{{ template "chrome/navbar.html" . }}
|
{{ end }}
|
||||||
<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" . }}
|
|
||||||
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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">
|
|
@ -1,4 +1,4 @@
|
|||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header" style="padding: 5px 10px;">
|
<div class="card-header" style="padding: 5px 10px;">
|
||||||
Share and Enjoy.
|
Share and Enjoy.
|
||||||
</div>
|
</div>
|
||||||
@ -11,9 +11,9 @@
|
|||||||
<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>
|
<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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header" style="padding: 5px 15px;">
|
<div class="card-header" style="padding: 5px 15px;">
|
||||||
Links.
|
Links.
|
||||||
</div>
|
</div>
|
||||||
@ -27,4 +27,4 @@
|
|||||||
<i class="fab fa-twitter" aria-hidden="true"></i> <a href="https://twitter.com/njcw">@njcw</a>
|
<i class="fab fa-twitter" aria-hidden="true"></i> <a href="https://twitter.com/njcw">@njcw</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -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>
|
|
@ -1,16 +1,3 @@
|
|||||||
{{ template "chrome/header.html" . }}
|
{{ define "main" }}
|
||||||
<body>
|
{{ .Content }}
|
||||||
{{ template "chrome/navbar.html" . }}
|
{{ end }}
|
||||||
<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" . }}
|
|
||||||
|
@ -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" . }}
|
|
@ -1,17 +1,10 @@
|
|||||||
{{ template "chrome/header.html" . }}
|
{{ define "main" }}
|
||||||
<body>
|
<h1>Rclone Commands</h1>
|
||||||
{{ template "chrome/navbar.html" . }}
|
<p>
|
||||||
<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
|
This is an index of all commands in rclone. Run "rclone
|
||||||
command --help" to see the help for that command.
|
command --help" to see the help for that command.
|
||||||
</p>
|
</p>
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Command</th>
|
<th>Command</th>
|
||||||
@ -26,16 +19,5 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{{ end }}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Sidebar -->
|
|
||||||
<div class="col-md-2">
|
|
||||||
{{ template "chrome/menu.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{ template "chrome/footer.copyright.html" . }}
|
|
||||||
</div>
|
|
||||||
{{ template "chrome/footer.html" . }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user