From a72c989a7da658c1ef07d436970e2aaae0773021 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Thu, 2 Jan 2025 09:49:37 -0500 Subject: [PATCH] Add editorconfig and re-format navigation.html --- .editorconfig | 25 +++++++ src/_includes/partials/navigation.html | 92 ++++++++++---------------- 2 files changed, 61 insertions(+), 56 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e5bf5c5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,25 @@ +# EditorConfig is awesome: https://editorconfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +charset = utf-8 +indent_style = space +indent_size = 4 +end_of_line = lf +insert_final_newline = false +trim_trailing_whitespace = true + +# JSON Files +[*.{json}] +indent_size = 2 + +# Markdown Files +[*.{md,mdx}] +trim_trailing_whitespace = false + +# Web Files +[*.{html,js,css}] +indent_size = 2 diff --git a/src/_includes/partials/navigation.html b/src/_includes/partials/navigation.html index ffd5bfc..cd4d0ed 100644 --- a/src/_includes/partials/navigation.html +++ b/src/_includes/partials/navigation.html @@ -1,58 +1,38 @@ + + \ No newline at end of file