[Glitch] Change public accounts pages to mount the web UI
Port 839f893168 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
			
			
This commit is contained in:
		@@ -273,7 +273,9 @@ class Header extends ImmutablePureComponent {
 | 
			
		||||
    const content          = { __html: account.get('note_emojified') };
 | 
			
		||||
    const displayNameHtml = { __html: account.get('display_name_html') };
 | 
			
		||||
    const fields          = account.get('fields');
 | 
			
		||||
    const acct            = account.get('acct').indexOf('@') === -1 && domain ? `${account.get('acct')}@${domain}` : account.get('acct');
 | 
			
		||||
    const isLocal         = account.get('acct').indexOf('@') === -1;
 | 
			
		||||
    const acct            = isLocal && domain ? `${account.get('acct')}@${domain}` : account.get('acct');
 | 
			
		||||
    const isIndexable     = !account.get('noindex');
 | 
			
		||||
 | 
			
		||||
    let badge;
 | 
			
		||||
 | 
			
		||||
@@ -353,6 +355,7 @@ class Header extends ImmutablePureComponent {
 | 
			
		||||
 | 
			
		||||
        <Helmet>
 | 
			
		||||
          <title>{titleFromAccount(account)}</title>
 | 
			
		||||
          <meta name='robots' content={(isLocal && isIndexable) ? 'all' : 'noindex'} />
 | 
			
		||||
        </Helmet>
 | 
			
		||||
      </div>
 | 
			
		||||
    );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user