Change how letter closes if not specified
The letter will default to `Yours faithfully,` because opening defaults to `Dear Sir or Madam`. If opening is specified (assuming this is because you know the name of the person you are writing to) closing will default to `Yours Sincerely`. This behaviour can still be overidden by specifying `closing: ...` in the yaml header
This commit is contained in:
		
							parent
							
								
									64f40be0fa
								
							
						
					
					
						commit
						89c4aa4ede
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -286,8 +286,12 @@ $endif$ | ||||||
| $if(closing)$ | $if(closing)$ | ||||||
| \closing{$closing$} | \closing{$closing$} | ||||||
| $else$ | $else$ | ||||||
|  | $if(opening)$ | ||||||
|  | \closing{Yours sincerely,} | ||||||
|  | $else$ | ||||||
| \closing{Yours faithfully,} | \closing{Yours faithfully,} | ||||||
| $endif$ | $endif$ | ||||||
|  | $endif$ | ||||||
| $if(encl)$ | $if(encl)$ | ||||||
| \encl{$for(encl)$$encl$$sep$\\$endfor$} | \encl{$for(encl)$$encl$$sep$\\$endfor$} | ||||||
| $endif$ | $endif$ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue