Skip to content

Commit 66de926

Browse files
committed
theme fix
1 parent 4ae8c24 commit 66de926

File tree

117 files changed

+6175
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+6175
-1
lines changed

themes/til

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{{ if .Versions -}}
2+
<a name="unreleased"></a>
3+
## [Unreleased]
4+
5+
{{ if .Unreleased.CommitGroups -}}
6+
{{ range .Unreleased.CommitGroups -}}
7+
### {{ .Title }}
8+
{{ range .Commits -}}
9+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
10+
{{ end }}
11+
{{ end -}}
12+
{{ end -}}
13+
{{ end -}}
14+
15+
{{ range .Versions }}
16+
<a name="{{ .Tag.Name }}"></a>
17+
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
18+
{{ range .CommitGroups -}}
19+
### {{ .Title }}
20+
{{ range .Commits -}}
21+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
22+
{{ end }}
23+
{{ end -}}
24+
25+
{{- if .NoteGroups -}}
26+
{{ range .NoteGroups -}}
27+
### {{ .Title }}
28+
{{ range .Notes }}
29+
{{ .Body }}
30+
{{ end }}
31+
{{ end -}}
32+
{{ end -}}
33+
{{ end -}}
34+
35+
{{- if .Versions }}
36+
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD
37+
{{ range .Versions -}}
38+
{{ if .Tag.Previous -}}
39+
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
40+
{{ end -}}
41+
{{ end -}}
42+
{{ end -}}

themes/til/.chglog/config.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
style: github
2+
template: CHANGELOG.tpl.md
3+
info:
4+
title: CHANGELOG
5+
repository_url: https://github.com/michenriksen/hugo-theme-til
6+
options:
7+
commits:
8+
filters:
9+
Type:
10+
- feat
11+
- fix
12+
- docs
13+
commit_groups:
14+
sort_by: Custom
15+
title_maps:
16+
feat: Features
17+
fix: Fixes
18+
docs: Documentation
19+
title_order:
20+
- feat
21+
- fix
22+
- docs
23+
header:
24+
pattern: "^(\\w*)\\:\\s(.*)$"
25+
pattern_maps:
26+
- Type
27+
- Subject
28+
notes:
29+
keywords:
30+
- BREAKING CHANGE

themes/til/.gitignore

Lines changed: 248 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,248 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/linux,macos,vim,visualstudiocode,hugo,node
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=linux,macos,vim,visualstudiocode,hugo,node
3+
4+
### Hugo ###
5+
# Generated files by hugo
6+
/public/
7+
/resources/_gen/
8+
/assets/jsconfig.json
9+
hugo_stats.json
10+
11+
# Executable may be added to repository
12+
hugo.exe
13+
hugo.darwin
14+
hugo.linux
15+
16+
# Temporary lock file while building
17+
/.hugo_build.lock
18+
19+
### Linux ###
20+
*~
21+
22+
# temporary files which can be created if a process still has a handle open of a deleted file
23+
.fuse_hidden*
24+
25+
# KDE directory preferences
26+
.directory
27+
28+
# Linux trash folder which might appear on any partition or disk
29+
.Trash-*
30+
31+
# .nfs files are created when an open file is removed but is still being accessed
32+
.nfs*
33+
34+
### macOS ###
35+
# General
36+
.DS_Store
37+
.AppleDouble
38+
.LSOverride
39+
40+
# Icon must end with two \r
41+
Icon
42+
43+
44+
# Thumbnails
45+
._*
46+
47+
# Files that might appear in the root of a volume
48+
.DocumentRevisions-V100
49+
.fseventsd
50+
.Spotlight-V100
51+
.TemporaryItems
52+
.Trashes
53+
.VolumeIcon.icns
54+
.com.apple.timemachine.donotpresent
55+
56+
# Directories potentially created on remote AFP share
57+
.AppleDB
58+
.AppleDesktop
59+
Network Trash Folder
60+
Temporary Items
61+
.apdisk
62+
63+
### macOS Patch ###
64+
# iCloud generated files
65+
*.icloud
66+
67+
### Node ###
68+
# Logs
69+
logs
70+
*.log
71+
npm-debug.log*
72+
yarn-debug.log*
73+
yarn-error.log*
74+
lerna-debug.log*
75+
.pnpm-debug.log*
76+
77+
# Diagnostic reports (https://nodejs.org/api/report.html)
78+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
79+
80+
# Runtime data
81+
pids
82+
*.pid
83+
*.seed
84+
*.pid.lock
85+
86+
# Directory for instrumented libs generated by jscoverage/JSCover
87+
lib-cov
88+
89+
# Coverage directory used by tools like istanbul
90+
coverage
91+
*.lcov
92+
93+
# nyc test coverage
94+
.nyc_output
95+
96+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
97+
.grunt
98+
99+
# Bower dependency directory (https://bower.io/)
100+
bower_components
101+
102+
# node-waf configuration
103+
.lock-wscript
104+
105+
# Compiled binary addons (https://nodejs.org/api/addons.html)
106+
build/Release
107+
108+
# Dependency directories
109+
node_modules/
110+
jspm_packages/
111+
112+
# Snowpack dependency directory (https://snowpack.dev/)
113+
web_modules/
114+
115+
# TypeScript cache
116+
*.tsbuildinfo
117+
118+
# Optional npm cache directory
119+
.npm
120+
121+
# Optional eslint cache
122+
.eslintcache
123+
124+
# Optional stylelint cache
125+
.stylelintcache
126+
127+
# Microbundle cache
128+
.rpt2_cache/
129+
.rts2_cache_cjs/
130+
.rts2_cache_es/
131+
.rts2_cache_umd/
132+
133+
# Optional REPL history
134+
.node_repl_history
135+
136+
# Output of 'npm pack'
137+
*.tgz
138+
139+
# Yarn Integrity file
140+
.yarn-integrity
141+
142+
# dotenv environment variable files
143+
.env
144+
.env.development.local
145+
.env.test.local
146+
.env.production.local
147+
.env.local
148+
149+
# parcel-bundler cache (https://parceljs.org/)
150+
.cache
151+
.parcel-cache
152+
153+
# Next.js build output
154+
.next
155+
out
156+
157+
# Nuxt.js build / generate output
158+
.nuxt
159+
dist
160+
161+
# Gatsby files
162+
.cache/
163+
# Comment in the public line in if your project uses Gatsby and not Next.js
164+
# https://nextjs.org/blog/next-9-1#public-directory-support
165+
# public
166+
167+
# vuepress build output
168+
.vuepress/dist
169+
170+
# vuepress v2.x temp and cache directory
171+
.temp
172+
173+
# Docusaurus cache and generated files
174+
.docusaurus
175+
176+
# Serverless directories
177+
.serverless/
178+
179+
# FuseBox cache
180+
.fusebox/
181+
182+
# DynamoDB Local files
183+
.dynamodb/
184+
185+
# TernJS port file
186+
.tern-port
187+
188+
# Stores VSCode versions used for testing VSCode extensions
189+
.vscode-test
190+
191+
# yarn v2
192+
.yarn/cache
193+
.yarn/unplugged
194+
.yarn/build-state.yml
195+
.yarn/install-state.gz
196+
.pnp.*
197+
198+
### Node Patch ###
199+
# Serverless Webpack directories
200+
.webpack/
201+
202+
# Optional stylelint cache
203+
204+
# SvelteKit build / generate output
205+
.svelte-kit
206+
207+
### Vim ###
208+
# Swap
209+
[._]*.s[a-v][a-z]
210+
!*.svg # comment out if you don't need vector files
211+
[._]*.sw[a-p]
212+
[._]s[a-rt-v][a-z]
213+
[._]ss[a-gi-z]
214+
[._]sw[a-p]
215+
216+
# Session
217+
Session.vim
218+
Sessionx.vim
219+
220+
# Temporary
221+
.netrwhist
222+
# Auto-generated tag files
223+
tags
224+
# Persistent undo
225+
[._]*.un~
226+
227+
### VisualStudioCode ###
228+
.vscode/*
229+
!.vscode/settings.json
230+
!.vscode/tasks.json
231+
!.vscode/launch.json
232+
!.vscode/extensions.json
233+
!.vscode/*.code-snippets
234+
235+
# Local History for Visual Studio Code
236+
.history/
237+
238+
# Built Visual Studio Code Extensions
239+
*.vsix
240+
241+
### VisualStudioCode Patch ###
242+
# Ignore all local history of files
243+
.history
244+
.ionide
245+
246+
# End of https://www.toptal.com/developers/gitignore/api/linux,macos,vim,visualstudiocode,hugo,node
247+
248+
/exampleSite

themes/til/.prettierignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
exampleSite/
2+
layouts/_default/_markup/render-heading.html
3+
layouts/partials/pagination.html
4+
layouts/posts/list.html
5+
assets/js/main.js
6+
node_modules/
7+
CHANGELOG.md
8+
.chglog/

themes/til/.prettierrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "none",
4+
"printWidth": 100,
5+
"plugins": ["prettier-plugin-go-template", "prettier-plugin-tailwindcss"],
6+
"overrides": [
7+
{
8+
"files": ["*.html", "layouts/**/*.json"],
9+
"options": {
10+
"parser": "go-template"
11+
}
12+
}
13+
]
14+
}

0 commit comments

Comments
 (0)