Add shortcut icon link to Atom feed
This commit is contained in:
		
							parent
							
								
									3fe3599bc8
								
							
						
					
					
						commit
						d88d34a00a
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -11,8 +11,9 @@
 | 
			
		|||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
 | 
			
		||||
<feed xmlns="http://www.w3.org/2005/Atom">
 | 
			
		||||
  <title>{{ .Site.Title }}</title>
 | 
			
		||||
  <link href="{{ `/feed.xml` | absURL }}" rel="self" />
 | 
			
		||||
  <link href="{{ .Permalink }}" />
 | 
			
		||||
  <link href="{{ `/feed.xml` | absURL }}" rel="self" />
 | 
			
		||||
  <link href="{{ `/icons/favicon.png` | absURL }}" rel="shortcut icon" />
 | 
			
		||||
  {{ if not .Date.IsZero }}<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>{{ end }}
 | 
			
		||||
  <id>{{ .Permalink }}</id>
 | 
			
		||||
  {{ with .Site.Author.name }}
 | 
			
		||||
| 
						 | 
				
			
			@ -23,6 +24,6 @@
 | 
			
		|||
  </author>
 | 
			
		||||
  {{ end }}
 | 
			
		||||
  <generator version="{{ hugo.Version }}" uri="https://gohugo.io">Hugo {{ hugo.Version }}</generator>
 | 
			
		||||
  <rights>© {{ now.Year }} Eryn Wells</rights>
 | 
			
		||||
  <rights>© 2020-{{ now.Year }} Eryn Wells</rights>
 | 
			
		||||
  {{ range $pages }}{{ .Render "atom_entry" }}{{ end }}
 | 
			
		||||
</feed>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue