Prevent archiving when user set "noindex" (#11421)
This commit is contained in:
		@@ -5,7 +5,7 @@
 | 
			
		||||
  %meta{ name: 'description', content: account_description(@account) }/
 | 
			
		||||
 | 
			
		||||
  - if @account.user&.setting_noindex
 | 
			
		||||
    %meta{ name: 'robots', content: 'noindex' }/
 | 
			
		||||
    %meta{ name: 'robots', content: 'noindex, noarchive' }/
 | 
			
		||||
 | 
			
		||||
  %link{ rel: 'alternate', type: 'application/atom+xml', href: account_url(@account, format: 'atom') }/
 | 
			
		||||
  %link{ rel: 'alternate', type: 'application/rss+xml', href: account_url(@account, format: 'rss') }/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user