_config.yml: no 'mailto' in 'email'
authorMichael R. Crusoe <1330696+mr-c@users.noreply.github.com>
Wed, 30 May 2018 11:43:05 +0000 (14:43 +0300)
committerMaxim Belkin <maxim.belkin@gmail.com>
Wed, 30 May 2018 11:43:05 +0000 (11:43 +0000)
Closes swcarpentry/styles#283

`site.email` is used as:

_includes/lesson_footer.html:         <a href="mailto:{{ site.email }}">Contact</a>
_includes/workshop_footer.html: <a href="mailto:{{ site.email }}">Contact</a>

Therefore, it does not make sense to have `mailto` in the `email` itself.

bin/boilerplate/_config.yml

index 1f828e907c9e634ea9d3a820065f4b94ce62e0d2..974e568f7706c2640df5f84e926d506466ad26fc 100644 (file)
@@ -8,10 +8,8 @@ carpentry: "swc"
 # Overall title for pages.
 title: "Lesson Title"
 
-# Contact.  This *must* include the protocol: if it's an email
-# address, it must look like "mailto:lessons@software-carpentry.org",
-# or if it's a URL, "https://gitter.im/username/ProjectName".
-email: "mailto:lessons@software-carpentry.org"
+# Email address, no mailto:
+email: "lessons@software-carpentry.org"
 
 #------------------------------------------------------------
 # Generic settings (should not need to change).