diff --git a/.gitignore b/.gitignore index 504732d..47b0c9c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ _gen .hugo_build.lock +public/* diff --git a/assets/sass/colors.scss b/assets/sass/colors.scss new file mode 100644 index 0000000..c9ca644 --- /dev/null +++ b/assets/sass/colors.scss @@ -0,0 +1 @@ +$bg-color: #202020; diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 5bc2906..a502498 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -1,3 +1,5 @@ -body { - background: cyan; -} +@import './colors.scss'; + +/*body { + background: $bg-color; +}*/ diff --git a/content/_index.md b/content/_index.md deleted file mode 100644 index 53021bb..0000000 --- a/content/_index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Services by cat enby club ---- -Hello this are my Services diff --git a/content/about.md b/content/about.md deleted file mode 100644 index fff5462..0000000 --- a/content/about.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: About ---- -This is about page diff --git a/content/index.md b/content/index.md new file mode 100644 index 0000000..954d8a9 --- /dev/null +++ b/content/index.md @@ -0,0 +1,4 @@ +--- +title: Testhomepage +--- +Hello, I'm the homepage diff --git a/hugo.toml b/hugo.toml index aad4eec..82fc4d9 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,3 +1,17 @@ baseURL = 'http://example.org/' languageCode = 'en-us' title = 'Services by Cat-Enby Club' + +[Params.Service.Test] + name = 'Service 1' + summary = '' + link = '' + icon = '' + +[Params.Service.Test2] + name = 'Another Service' + summary = '' + link = '' + icon = '' + + diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f061eee..5dede77 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,6 +6,7 @@ + {{ .Page.Title }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 956b317..d455f5b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,3 +1,7 @@ {{ define "main" }} {{ .Content }} + {{ range $.Site.Params.Service }} + {{ .name }} + {{ end }} +

Why isn't it working

{{ end }}