docs: rename about.md to _index.md after Hugo upgrade

Use the official way of including markdown content into index.html
This commit is contained in:
Nick Craig-Wood 2020-05-15 18:17:46 +01:00
parent 0e3ac6b13c
commit 038648aaca
4 changed files with 3 additions and 7 deletions

View file

@ -383,7 +383,7 @@ alphabetical order of full name of remote (eg `drive` is ordered as
* update them with `make backenddocs` - revert any changes in other backends * update them with `make backenddocs` - revert any changes in other backends
* `docs/content/overview.md` - overview docs * `docs/content/overview.md` - overview docs
* `docs/content/docs.md` - list of remotes in config section * `docs/content/docs.md` - list of remotes in config section
* `docs/content/about.md` - front page of rclone.org * `docs/content/_index.md` - front page of rclone.org
* `docs/layouts/chrome/navbar.html` - add it to the website navigation * `docs/layouts/chrome/navbar.html` - add it to the website navigation
* `bin/make_manual.py` - add the page to the `docs` constant * `bin/make_manual.py` - add the page to the `docs` constant

View file

@ -13,7 +13,7 @@ outfile = "MANUAL.md"
# Order to add docs segments to make outfile # Order to add docs segments to make outfile
docs = [ docs = [
"about.md", "_index.md",
"install.md", "install.md",
"docs.md", "docs.md",
"remote_setup.md", "remote_setup.md",

View file

@ -3,7 +3,6 @@ title: "Rclone"
description: "rclone syncs files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox, Google Cloud Storage and Amazon Drive." description: "rclone syncs files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox, Google Cloud Storage and Amazon Drive."
type: page type: page
date: "2017-09-25" date: "2017-09-25"
groups: ["about"]
--- ---
# Rclone - rsync for cloud storage # Rclone - rsync for cloud storage

View file

@ -4,11 +4,8 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-10"> <div class="col-md-10">
{{ range $key, $value := .Site.Taxonomies.groups.about.Pages }} {{ .Content }}
{{ $value.Content }}
{{ end }}
</div> </div>
<!-- Sidebar --> <!-- Sidebar -->
<div class="col-md-2"> <div class="col-md-2">
{{ template "chrome/menu.html" . }} {{ template "chrome/menu.html" . }}