add base pages
This commit is contained in:
		
							
								
								
									
										2
									
								
								layouts/_default/_markup/render-link.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								layouts/_default/_markup/render-link.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
{{$trimmed := strings.TrimSuffix ".md" (.Destination | safeURL)}}
 | 
			
		||||
<a href="{{ if (hasPrefix $trimmed "/") }}{{ $trimmed }}{{ else }}{{ print "/" $trimmed }}{{ end }}" rel="noopener">{{ .Text | safeHTML }}</a>
 | 
			
		||||
		Reference in New Issue
	
	Block a user