From 1e255fcd1e69c0538be4fd7f6b6e68765fc4b907 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Fri, 5 Feb 2021 17:55:49 +0000
Subject: [PATCH] Bookmark below button header

---
 webapp_profile.py | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/webapp_profile.py b/webapp_profile.py
index 83eb6a241..9e522bc8e 100644
--- a/webapp_profile.py
+++ b/webapp_profile.py
@@ -714,13 +714,13 @@ def htmlProfile(rssIconAtTop: bool,
     navLinks = {
         translate['Switch to timeline view']: userPathStr + '/' + deft,
         translate['Edit']: userPathStr + '/editprofile',
-        translate['Following']: userPathStr + '/following#buttonheader',
-        translate['Followers']: userPathStr + '/followers#buttonheader',
-        translate['Roles']: userPathStr + '/roles#buttonheader',
-        translate['Skills']: userPathStr + '/skills#buttonheader',
-        translate['Shares']: userPathStr + '/shares#buttonheader',
+        translate['Following']: userPathStr + '/following#timeline',
+        translate['Followers']: userPathStr + '/followers#timeline',
+        translate['Roles']: userPathStr + '/roles#timeline',
+        translate['Skills']: userPathStr + '/skills#timeline',
+        translate['Shares']: userPathStr + '/shares#timeline',
         translate['Logout']: '/logout'
-    }    
+    }
     profileStr = htmlKeyboardNavigation(navLinks)
 
     profileStr += profileHeaderStr + donateSection
@@ -755,6 +755,9 @@ def htmlProfile(rssIconAtTop: bool,
     profileStr += '  </center>'
     profileStr += '</div>'
 
+    # start of #timeline
+    profileStr += '<div id="timeline">\n'
+
     profileStr += followApprovalsSection
 
     cssFilename = baseDir + '/epicyon-profile.css'
@@ -809,6 +812,8 @@ def htmlProfile(rssIconAtTop: bool,
             _htmlProfileShares(actor, translate,
                                nickname, domainFull,
                                extraJson) + licenseStr
+    # end of #timeline
+    profileStr += '</div>'
 
     instanceTitle = \
         getConfigParam(baseDir, 'instanceTitle')