blob: 0b58557363344f49e88d7efe597c28f4ead3004a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
Hugo Theme - SK1 (Skeleton 1)
---
Fully functional basic Hugo theme, html only, no css, no javascript.
Intended for learning hugo theme, or as a skeleton to develop full feature theme.
### Usage
- Git clone
In site directory:
```sh
git clone https://github.com/J-Siu/hugo-theme-sk1 theme/sk1
```
- Git submodule
In site directory:
```sh
git submodule add https://github.com/J-Siu/hugo-theme-sk1 theme/sk1
```
### Hugo Features Implemented
- layouts
- _default
- baseof.html
- No change, auto generated by Hugo
- list.html
- `Site.Params.maintype` for home page listing. Default: `post`
- Pagination
- single.html
- Content
- Date
- Next/Prev
- Related
- Tags
- ToC
- partials
- footer.html
- Site.Params.copyright
- head.html
- No change, auto generated by Hugo
- header.html
- Site.Params.subtitle
- 404.html
- Text "Page Not Found."
- index.html
- Deleted. Merged with list.html
### Site Config
```toml
baseURL = "https://sk1.jsiu.dev"
title = ""
enableGitInfo = false
relativeURLs = true
theme = "hugo-theme-sk1"
[Params]
copyright = ""
maintype = ""
subtitle = ""
```
### Demo
- https://sk1.jsiu.dev/
### Repository
- [docker_compose](https://github.com/J-Siu/hugo-theme-sk1)
### Contributors
- [John Sing Dao Siu](https://github.com/J-Siu)
### Change Log
- 1.0.0
- Initial Commit
|