Reverse the RSS/ATOM discovery tag order, make ATOM the default.
This commit is contained in:
		
							parent
							
								
									371cb1938a
								
							
						
					
					
						commit
						5d4157063c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -31,8 +31,8 @@ fn blagh_init { | ||||||
|             handler_body_main=blagh_body |             handler_body_main=blagh_body | ||||||
|             u=$blagh_uri'index' |             u=$blagh_uri'index' | ||||||
|             extraHeaders=$"extraHeaders ^ \ |             extraHeaders=$"extraHeaders ^ \ | ||||||
| '<link rel="alternate" type="application/rss+xml" title="RSS" href="'$"u'.rss" /> | '<link rel="alternate" type="application/atom+xml" title="ATOM" href="'$"u'.atom" /> | ||||||
| <link rel="alternate" type="application/atom+xml" title="ATOM" href="'$"u'.atom" />' | <link rel="alternate" type="application/rss+xml" title="RSS" href="'$"u'.rss" />' | ||||||
|         } |         } | ||||||
|         if not if(~ $req_path $blagh_uri^index.atom) |         if not if(~ $req_path $blagh_uri^index.atom) | ||||||
|             blagh_setup_feed_handlers atom.tpl |             blagh_setup_feed_handlers atom.tpl | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Uriel
						Uriel