diff --git a/pkg/controller/account/profile.go b/pkg/controller/account/profile.go index 41f59d2..9121e2c 100644 --- a/pkg/controller/account/profile.go +++ b/pkg/controller/account/profile.go @@ -40,7 +40,8 @@ func Profile() http.HandlerFunc { } vars := map[string]interface{}{ - "User": user, + "User": user, + "IsExternalView": true, } if err := tmpl.Execute(w, r, vars); err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) diff --git a/web/templates/account/profile.html b/web/templates/account/profile.html index d52e293..3e305ce 100644 --- a/web/templates/account/profile.html +++ b/web/templates/account/profile.html @@ -2,7 +2,7 @@ {{define "content"}} {{template "profile-theme-style" .User}}
About {{.User.Username}}
@@ -476,14 +476,14 @@
- Activity
+
diff --git a/web/templates/partials/themes.html b/web/templates/partials/themes.html
index 7611aa6..c4f5b46 100644
--- a/web/templates/partials/themes.html
+++ b/web/templates/partials/themes.html
@@ -24,97 +24,84 @@ section.hero {
{{$cardTitleFG := or (.GetProfileField "card-title-fg") "#f7f7f7"}}
{{$cardLinkFG := or (.GetProfileField "card-link-color") "#0099ff"}}
{{$cardLightness := .GetProfileField "card-lightness"}}
+ {{$heroA := or (.GetProfileField "hero-color-start") "#0f81cc"}}
+ {{$heroB := or (.GetProfileField "hero-color-end") "#7683cc"}}
{{end}}
|