Allow specifying a subject in our email element. Eg the xhtml content ```xml <email mailto="yes" subject="Ada and Zangemann">contact@fsfe.org</email> ``` Will now generate ```xml <a href="mailto:contact@fsfe.org?subject=Ada and Zangemann">contact@fsfe.org</a> ``` Which when clicked will open an email client, and correctly populate the subject. I also added the subject to all ada zangemann pages, and have documented it on the web features page. Resolves #2742 Co-authored-by: Darragh Elliott <me@delliott.net> Reviewed-on: #5281 Co-authored-by: delliott <delliott@fsfe.org> Co-committed-by: delliott <delliott@fsfe.org>
This commit was merged in pull request #5281.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<html>
|
||||
<version>1</version>
|
||||
<version>2</version>
|
||||
|
||||
<head>
|
||||
<title>Overview of website features</title>
|
||||
@@ -190,6 +190,10 @@
|
||||
opened with the mail as recipient (like <email
|
||||
mailto="yes">donotmailme@fsfe.org</email>), make it <code><email
|
||||
mailto="yes">donotmailme@fsfe.org</email></code>.
|
||||
|
||||
We can also specify a subject, that most email clients will automatically set as the email subject. EG
|
||||
<email mailto="yes" subject="Web development">donotmailme@fsfe.org</email> and the code to produce it:
|
||||
<code><email mailto="yes" subject="Web development">donotmailme@fsfe.org</email></code>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user