From d9c28e5267ad3f3d84cdf034cb1854c4662dabdb Mon Sep 17 00:00:00 2001 From: Eric Drechsel Date: Thu, 2 Jun 2016 15:04:42 -0700 Subject: [PATCH] Comment explaining that contributors.html is a fallback. This file would seem to be the source for /contributors, but actually it's a fallback for /website/content/tmpl/contrib.html. Add a comment explaining the automatic generation to avoid confusion for folks attempting to edit the website. Also rename the template to contributing.html for consistency. Change-Id: Ic98c494b0cc24292dac8a4a22c751aded87f5b48 --- website/content/contributors.html | 3 +++ website/contributors.go | 2 +- website/tmpl/{contrib.html => contributors.html} | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename website/tmpl/{contrib.html => contributors.html} (100%) diff --git a/website/content/contributors.html b/website/content/contributors.html index 9b4a5a578..643a2faba 100644 --- a/website/content/contributors.html +++ b/website/content/contributors.html @@ -1,3 +1,6 @@ + +

Contributors

Camlistore contributors include:

diff --git a/website/contributors.go b/website/contributors.go index 1abf92ba2..568d51579 100644 --- a/website/contributors.go +++ b/website/contributors.go @@ -100,7 +100,7 @@ func gitShortlog() *exec.Cmd { } func genContribPage() ([]byte, error) { - contribHTML := readTemplate("contrib.html") + contribHTML := readTemplate("contributors.html") // The same committers could've authored commits with different emails/usersnames. // We index the authors by name and by email to try and merge graphs connected by diff --git a/website/tmpl/contrib.html b/website/tmpl/contributors.html similarity index 100% rename from website/tmpl/contrib.html rename to website/tmpl/contributors.html