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
* `docs/content/overview.md` - overview docs
* `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
* `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
docs = [
"about.md",
"_index.md",
"install.md",
"docs.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."
type: page
date: "2017-09-25"
groups: ["about"]
---
# Rclone - rsync for cloud storage

View File

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