Meta tags, opensearch
This commit is contained in:
		
							parent
							
								
									2eec07dc4d
								
							
						
					
					
						commit
						9f3a879628
					
				
							
								
								
									
										
											BIN
										
									
								
								app/assets/images/logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/assets/images/logo.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 3.8 KiB  | 
@ -3,8 +3,11 @@
 | 
			
		||||
  %head
 | 
			
		||||
    %title BeatHaven
 | 
			
		||||
    %meta{ :charset => "utf-8" }
 | 
			
		||||
    %meta{ :name => 'csrf-token', :content => form_authenticity_token }
 | 
			
		||||
    %link{ :rel => "shortcut icon", :href => "/favicon.ico" }
 | 
			
		||||
    %meta{ :name => "csrf-token", content: form_authenticity_token }
 | 
			
		||||
    %meta{ name: "description", content: "Ultimate Online Jukebox" }
 | 
			
		||||
    %link{ rel: "shortcut icon", href: "/favicon.ico" }
 | 
			
		||||
    %link{ rel: "apple-touch-icon", href: image_path("logo.png") }
 | 
			
		||||
    %link{ rel: "search", type: "application/opensearchdescription+xml", title: "BeatHaven", href: "/opensearch.xml"}
 | 
			
		||||
    = stylesheet_link_tag "application"
 | 
			
		||||
    = javascript_include_tag "application"
 | 
			
		||||
  %body
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										7
									
								
								public/opensearch.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								public/opensearch.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
 | 
			
		||||
  <ShortName>BeatHaven</ShortName>
 | 
			
		||||
  <Description>BeatHaven</Description>
 | 
			
		||||
  <Image height="16" width="16" type="image/x-icon">http://beathaven.org/favicon.ico</Image>
 | 
			
		||||
  <Url type="text/html" method="get" template="http://beathaven.org/artist/{searchTerms}/"/>
 | 
			
		||||
</OpenSearchDescription>
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user