diff options
-rw-r--r-- | website/_config.yml | 1 | ||||
-rw-r--r-- | website/_includes/byline.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/website/_config.yml b/website/_config.yml index 51cb8e13c..dc44945bc 100644 --- a/website/_config.yml +++ b/website/_config.yml @@ -40,6 +40,7 @@ authors: ianlewis: name: Ian Lewis email: ianlewis@google.com + url: https://twitter.com/IanMLewis mpratt: name: Michael Pratt email: mpratt@google.com diff --git a/website/_includes/byline.html b/website/_includes/byline.html index d8ae22cb0..1e808260f 100644 --- a/website/_includes/byline.html +++ b/website/_includes/byline.html @@ -5,7 +5,7 @@ By {% assign author_id=include.authors[i] %} {% assign author=site.authors[author_id] %} {% if author %} - <a href="mailto:{{ author.email }}">{{ author.name }}</a> + <a href="{% if author.url %}{{ author.url }}{% else %}mailto:{{ author.email }}{% endif %}">{{ author.name }}</a> {% else %} {{ author_id }} {% endif %} |