summaryrefslogtreecommitdiffstats
path: root/templates/shared/user/authorlink.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shared/user/authorlink.tmpl')
-rw-r--r--templates/shared/user/authorlink.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/shared/user/authorlink.tmpl b/templates/shared/user/authorlink.tmpl
new file mode 100644
index 0000000000..81c2a4ed5e
--- /dev/null
+++ b/templates/shared/user/authorlink.tmpl
@@ -0,0 +1,3 @@
+<a class="author"{{if gt .ID 0}} href="{{.HomeLink}}"{{end}}>
+ {{.GetDisplayName}}
+</a>