summaryrefslogtreecommitdiffhomepage
path: root/website/_includes
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2020-10-28 23:14:44 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-28 23:16:30 -0700
commitb0b275449b215c59b1621d509b07277c46c506f4 (patch)
tree655f8ba57d1f393112cf8e973d2527559143b790 /website/_includes
parent37b57ecd0469d225ca5997558a8a47968bc83eec (diff)
Add url option for blog authors
PiperOrigin-RevId: 339608078
Diffstat (limited to 'website/_includes')
-rw-r--r--website/_includes/byline.html2
1 files changed, 1 insertions, 1 deletions
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 %}