From 038648aaca4b68822644955443d382989a83a786 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 15 May 2020 18:17:46 +0100 Subject: [PATCH] docs: rename about.md to _index.md after Hugo upgrade Use the official way of including markdown content into index.html --- CONTRIBUTING.md | 2 +- bin/make_manual.py | 2 +- docs/content/{about.md => _index.md} | 1 - docs/layouts/index.html | 5 +---- 4 files changed, 3 insertions(+), 7 deletions(-) rename docs/content/{about.md => _index.md} (99%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f0cd2d23a..df0fa8074 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 diff --git a/bin/make_manual.py b/bin/make_manual.py index 186ba6b19..a96e242b2 100755 --- a/bin/make_manual.py +++ b/bin/make_manual.py @@ -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", diff --git a/docs/content/about.md b/docs/content/_index.md similarity index 99% rename from docs/content/about.md rename to docs/content/_index.md index 579b7c4c2..43c3df495 100644 --- a/docs/content/about.md +++ b/docs/content/_index.md @@ -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 diff --git a/docs/layouts/index.html b/docs/layouts/index.html index 264e1de47..b766d5985 100644 --- a/docs/layouts/index.html +++ b/docs/layouts/index.html @@ -4,11 +4,8 @@
- {{ range $key, $value := .Site.Taxonomies.groups.about.Pages }} - {{ $value.Content }} - {{ end }} + {{ .Content }}
-
{{ template "chrome/menu.html" . }}