inital setup
This commit is contained in:
		
							
								
								
									
										15
									
								
								layouts/shortcodes/rtl.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								layouts/shortcodes/rtl.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| {{ $.Scratch.Set "md" false }} | ||||
|  | ||||
| {{ if .IsNamedParams }} | ||||
| {{ $.Scratch.Set "md" (.Get "md") }} | ||||
| {{ else }} | ||||
| {{ $.Scratch.Set "md" (.Get 0) }} | ||||
| {{ end }} | ||||
|  | ||||
| <div dir="rtl"> | ||||
|   {{ if eq ($.Scratch.Get "md") false }} | ||||
|     {{ .Inner }} | ||||
|   {{ else }} | ||||
|     {{ .Inner | markdownify }} | ||||
|   {{ end }} | ||||
| </div> | ||||
		Reference in New Issue
	
	Block a user