aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/profile-tabs.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/profile-tabs.html')
-rw-r--r--themes/default/layouts/partials/profile-tabs.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/themes/default/layouts/partials/profile-tabs.html b/themes/default/layouts/partials/profile-tabs.html
index 66b32c3..9796a6d 100644
--- a/themes/default/layouts/partials/profile-tabs.html
+++ b/themes/default/layouts/partials/profile-tabs.html
@@ -1,8 +1,13 @@
{{ $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.user) | default "default") }}
<tab-list>
- <a href="{{ .Site.BaseURL }}/{{ $author.user }}">Messages</a>
- <a href="{{ .Site.BaseURL }}/{{ $author.user }}/feeds/">Feeds</a>
- <a href="{{ .Site.BaseURL }}/{{ $author.user }}/media/">Media</a>
- <a href="{{ .Site.BaseURL }}/{{ $author.user }}/likes/">Likes</a>
+ <aside>
+ <a href="{{ .Site.BaseURL }}/{{ $author.user }}">Messages</a>
+ <a href="{{ .Site.BaseURL }}/{{ $author.user }}/feeds/">Feeds</a>
+ <a href="{{ .Site.BaseURL }}/{{ $author.user }}/media/">Media</a>
+ <a href="{{ .Site.BaseURL }}/{{ $author.user }}/likes/">Likes</a>
+ {{- if .Site.BuildDrafts }}
+ <a href="{{ .Site.BaseURL }}/{{ $author.user }}/drafts/">Drafts</a>
+ {{- end }}
+ </aside>
</tab-list>