Basic services structure

This commit is contained in:
nikurasu 2023-02-23 15:55:08 +01:00
parent 53f33bd880
commit a510459029
Signed by: Nikurasu
GPG key ID: 9E7F14C03EF1F271
9 changed files with 30 additions and 11 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
_gen
.hugo_build.lock
public/*

1
assets/sass/colors.scss Normal file
View file

@ -0,0 +1 @@
$bg-color: #202020;

View file

@ -1,3 +1,5 @@
body {
background: cyan;
}
@import './colors.scss';
/*body {
background: $bg-color;
}*/

View file

@ -1,4 +0,0 @@
---
title: Services by cat enby club
---
Hello this are my Services

View file

@ -1,4 +0,0 @@
---
title: About
---
This is about page

4
content/index.md Normal file
View file

@ -0,0 +1,4 @@
---
title: Testhomepage
---
Hello, I'm the homepage

View file

@ -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 = ''

View file

@ -6,6 +6,7 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="light dark">
<title>{{ .Page.Title }}</title>
</head>
<body>

View file

@ -1,3 +1,7 @@
{{ define "main" }}
{{ .Content }}
{{ range $.Site.Params.Service }}
<b>{{ .name }}</b>
{{ end }}
<p>Why isn't it working</p>
{{ end }}