use jsonl (JSON lines) as format for index information
This commit is contained in:
		
							parent
							
								
									ae0a5776ca
								
							
						
					
					
						commit
						6053135667
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -1,4 +0,0 @@ | |||
| {{- range .Site.RegularPages -}} | ||||
|   {{- $s := (dict "title" .Title "contents" .Plain "link" .Permalink) -}} | ||||
|   {{- jsonify (dict "noHTMLEscape" true) $s }} | ||||
| {{ end -}} | ||||
							
								
								
									
										4
									
								
								layouts/_default/index.jsonl
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								layouts/_default/index.jsonl
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | |||
| {{- range .Site.RegularPages -}} | ||||
|   {{- $s := (dict "title" .Title "content" .Plain "link" .Permalink) -}} | ||||
|   {{- replace (jsonify (dict "noHTMLEscape" true) $s) "\\" "\\\\" }} | ||||
| {{ end -}} | ||||
		Loading…
	
	Add table
		
		Reference in a new issue