Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs: Create home page with redirect
Elian Doran5db499cf565b
diff --git a/docs-new/prepare.sh b/docs-new/prepare.shindex bc579ad280..09e8e686e8 100755--- a/docs-new/prepare.sh+++ b/docs-new/prepare.sh@@ -15,4 +15,9 @@ wget -rp -e robots=off "$share_url" -P "$output_dir"# Get rid of the domain in the output foldermv "$output_dir/$SHARE_HOST"/* "$output_dir/"-rmdir "$output_dir/$SHARE_HOST"\ No newline at end of file+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"\ No newline at end of file