mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	docs: Create home page with redirect
This commit is contained in:
		
							parent
							
								
									bfab6b4d5c
								
							
						
					
					
						commit
						5db499cf56
					
				| @ -16,3 +16,8 @@ wget -rp -e robots=off "$share_url" -P "$output_dir" | |||||||
| # Get rid of the domain in the output folder | # Get rid of the domain in the output folder | ||||||
| mv "$output_dir/$SHARE_HOST"/* "$output_dir/" | mv "$output_dir/$SHARE_HOST"/* "$output_dir/" | ||||||
| rmdir "$output_dir/$SHARE_HOST" | rmdir "$output_dir/$SHARE_HOST" | ||||||
|  | 
 | ||||||
|  | # Create home page with redirect | ||||||
|  | index_dest_path="$output_dir/index.html" | ||||||
|  | cp index.template.html "$index_dest_path" | ||||||
|  | sed -i "s/{{ROOT_NOTE_ID}}/$ROOT_NOTE_ID/g" "$index_dest_path" | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran