summaryrefslogtreecommitdiffstats
path: root/templates/shared/user/avatarlink.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shared/user/avatarlink.tmpl')
-rw-r--r--templates/shared/user/avatarlink.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/shared/user/avatarlink.tmpl b/templates/shared/user/avatarlink.tmpl
new file mode 100644
index 0000000..5e3ed7a
--- /dev/null
+++ b/templates/shared/user/avatarlink.tmpl
@@ -0,0 +1 @@
+<a class="avatar"{{if gt .user.ID 0}} href="{{.user.HomeLink}}"{{end}}>{{ctx.AvatarUtils.Avatar .user}}</a>