From 4e7988b011e1dce93e9b7e8e0704a0220cf7dcdf Mon Sep 17 00:00:00 2001 From: 1bl4z3r Date: Wed, 5 Jul 2023 13:02:07 +0530 Subject: [PATCH] Rename config.toml -> hugo.toml --- .editorconfig | 20 ------------------- .gitattributes | 2 -- .gitignore | 4 ++++ .../content => content}/about-hugo.md | 0 .../posts/creating-a-new-theme.md | 0 .../posts/goisforlovers.md | 0 .../posts/hugoisforlovers.md | 0 .../posts/migrate-from-jekyll.md | 0 .../posts/post-with-featured-image.md | 0 .../posts/the-figure-shortcode.md | 0 .../content => content}/posts/typography.md | 0 exampleSite/config.toml => hugo.toml | 0 netlify.toml | 13 ------------ 13 files changed, 4 insertions(+), 35 deletions(-) delete mode 100644 .editorconfig delete mode 100644 .gitattributes create mode 100644 .gitignore rename {exampleSite/content => content}/about-hugo.md (100%) rename {exampleSite/content => content}/posts/creating-a-new-theme.md (100%) rename {exampleSite/content => content}/posts/goisforlovers.md (100%) rename {exampleSite/content => content}/posts/hugoisforlovers.md (100%) rename {exampleSite/content => content}/posts/migrate-from-jekyll.md (100%) rename {exampleSite/content => content}/posts/post-with-featured-image.md (100%) rename {exampleSite/content => content}/posts/the-figure-shortcode.md (100%) rename {exampleSite/content => content}/posts/typography.md (100%) rename exampleSite/config.toml => hugo.toml (100%) delete mode 100644 netlify.toml diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index f498b9e..0000000 --- a/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -# editorconfig.org - -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true - -[*.{html,xml}] -indent_style = tab - -[*.md] -indent_style = unset -indent_size = unset -insert_final_newline = unset -trim_trailing_whitespace = unset diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index d0c0c4c..0000000 --- a/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -* text eol=lf -*.png binary diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1cf7e44 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +# Generated files by hugo +/public/ +resources/ +.hugo_build.lock \ No newline at end of file diff --git a/exampleSite/content/about-hugo.md b/content/about-hugo.md similarity index 100% rename from exampleSite/content/about-hugo.md rename to content/about-hugo.md diff --git a/exampleSite/content/posts/creating-a-new-theme.md b/content/posts/creating-a-new-theme.md similarity index 100% rename from exampleSite/content/posts/creating-a-new-theme.md rename to content/posts/creating-a-new-theme.md diff --git a/exampleSite/content/posts/goisforlovers.md b/content/posts/goisforlovers.md similarity index 100% rename from exampleSite/content/posts/goisforlovers.md rename to content/posts/goisforlovers.md diff --git a/exampleSite/content/posts/hugoisforlovers.md b/content/posts/hugoisforlovers.md similarity index 100% rename from exampleSite/content/posts/hugoisforlovers.md rename to content/posts/hugoisforlovers.md diff --git a/exampleSite/content/posts/migrate-from-jekyll.md b/content/posts/migrate-from-jekyll.md similarity index 100% rename from exampleSite/content/posts/migrate-from-jekyll.md rename to content/posts/migrate-from-jekyll.md diff --git a/exampleSite/content/posts/post-with-featured-image.md b/content/posts/post-with-featured-image.md similarity index 100% rename from exampleSite/content/posts/post-with-featured-image.md rename to content/posts/post-with-featured-image.md diff --git a/exampleSite/content/posts/the-figure-shortcode.md b/content/posts/the-figure-shortcode.md similarity index 100% rename from exampleSite/content/posts/the-figure-shortcode.md rename to content/posts/the-figure-shortcode.md diff --git a/exampleSite/content/posts/typography.md b/content/posts/typography.md similarity index 100% rename from exampleSite/content/posts/typography.md rename to content/posts/typography.md diff --git a/exampleSite/config.toml b/hugo.toml similarity index 100% rename from exampleSite/config.toml rename to hugo.toml diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index b130ecf..0000000 --- a/netlify.toml +++ /dev/null @@ -1,13 +0,0 @@ -[build] - base = "exampleSite" - command = "hugo --gc --themesDir ../.. -b $URL" - publish = "exampleSite/public" - -[build.environment] - HUGO_THEME = "repo" - -[context.deploy-preview] - command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL" - -[context.branch-deploy] - command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL"