Basic services structure
This commit is contained in:
parent
53f33bd880
commit
a510459029
9 changed files with 30 additions and 11 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
_gen
|
||||
.hugo_build.lock
|
||||
public/*
|
||||
|
|
1
assets/sass/colors.scss
Normal file
1
assets/sass/colors.scss
Normal file
|
@ -0,0 +1 @@
|
|||
$bg-color: #202020;
|
|
@ -1,3 +1,5 @@
|
|||
body {
|
||||
background: cyan;
|
||||
}
|
||||
@import './colors.scss';
|
||||
|
||||
/*body {
|
||||
background: $bg-color;
|
||||
}*/
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
title: Services by cat enby club
|
||||
---
|
||||
Hello this are my Services
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
title: About
|
||||
---
|
||||
This is about page
|
4
content/index.md
Normal file
4
content/index.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Testhomepage
|
||||
---
|
||||
Hello, I'm the homepage
|
14
hugo.toml
14
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 = ''
|
||||
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
{{ range $.Site.Params.Service }}
|
||||
<b>{{ .name }}</b>
|
||||
{{ end }}
|
||||
<p>Why isn't it working</p>
|
||||
{{ end }}
|
||||
|
|
Reference in a new issue