mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-28 16:53:30 -05:00 
			
		
		
		
	Add see-also shortcode
This commit is contained in:
		
							
								
								
									
										7
									
								
								layouts/shortcodes/see-also.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								layouts/shortcodes/see-also.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| <div class="see-also"> | ||||
|     {{ with .Site.GetPage (.Get 0) }} | ||||
|         <p>SEE ALSO: <a href="{{ .Permalink }}">{{ .Title }}</a></p> | ||||
|     {{ else }} | ||||
|         {{ errorf "Page could not be found for see-also shortcode: %s" .Position }} | ||||
|     {{ end }} | ||||
| </div> | ||||
		Reference in New Issue
	
	Block a user