summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/source/css/profile.css2
-rw-r--r--web/template/profile.tmpl12
2 files changed, 13 insertions, 1 deletions
diff --git a/web/source/css/profile.css b/web/source/css/profile.css
index 288ca6955..0065f6015 100644
--- a/web/source/css/profile.css
+++ b/web/source/css/profile.css
@@ -271,7 +271,7 @@ main {
box-shadow: $boxshadow;
}
-#recent {
+#recent, #pinned {
display: flex;
flex-direction: row;
align-items: center;
diff --git a/web/template/profile.tmpl b/web/template/profile.tmpl
index d584676a6..f567998a4 100644
--- a/web/template/profile.tmpl
+++ b/web/template/profile.tmpl
@@ -53,6 +53,18 @@
</div>
</div>
</div>
+ {{ if .pinned_statuses }}
+ <h2 id="pinned">
+ <span>Pinned toots</span>
+ </h2>
+ <div class="thread">
+ {{ range .pinned_statuses }}
+ <div class="toot expanded">
+ {{ template "status.tmpl" .}}
+ </div>
+ {{ end }}
+ </div>
+ {{ end }}
<h2 id="recent">
<span>Latest public toots</span>
{{ if .rssFeed }}