From be1607861bb27330f9432c23ce02710cdd9751e2 Mon Sep 17 00:00:00 2001 From: "n.karnaukhov" Date: Sat, 11 May 2024 11:55:51 +0200 Subject: [PATCH] Initial commit --- .gitignore | 4 ++++ archetypes/default.md | 5 +++++ assets/scss/index.scss | 5 +++++ content/_index.md | 1 + hugo.toml | 3 +++ index.md | 1 + layouts/_default/home.html | 16 ++++++++++++++++ 7 files changed, 35 insertions(+) create mode 100644 .gitignore create mode 100644 archetypes/default.md create mode 100644 assets/scss/index.scss create mode 100644 content/_index.md create mode 100644 hugo.toml create mode 100644 index.md create mode 100644 layouts/_default/home.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..de5ada2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.idea +public +resources +.hugo_build.lock \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/assets/scss/index.scss b/assets/scss/index.scss new file mode 100644 index 0000000..ab01bbe --- /dev/null +++ b/assets/scss/index.scss @@ -0,0 +1,5 @@ +html, body { + margin: 0; + padding: 0; + font-family: system-ui, sans-serif; +} \ No newline at end of file diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..2883bc0 --- /dev/null +++ b/content/_index.md @@ -0,0 +1 @@ +# INDEX \ No newline at end of file diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..a38b4e1 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,3 @@ +baseURL = 'https://mrelectronick.github.io/' +languageCode = 'en-us' +title = 'Mr.ElectroNick site' diff --git a/index.md b/index.md new file mode 100644 index 0000000..b2468c7 --- /dev/null +++ b/index.md @@ -0,0 +1 @@ +# Hi \ No newline at end of file diff --git a/layouts/_default/home.html b/layouts/_default/home.html new file mode 100644 index 0000000..710b98b --- /dev/null +++ b/layouts/_default/home.html @@ -0,0 +1,16 @@ + + + + + Title + {{ $opts := dict "transpiler" "dartsass" "targetPath" "css/style.css" }} + {{ with resources.Get "scss/index.scss" | toCSS $opts | minify | fingerprint }} + + {{ end }} + + + +{{ .Content }} + + + \ No newline at end of file