Some more initting.
This commit is contained in:
parent
311328120f
commit
a7615faf9d
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
[submodule "bulma"]
|
||||
path = "themes/patek/assets/css/bulma"
|
||||
url = "git@github.com:/jgthms/bulma"
|
||||
[submodule "themes/patek/assets/css/bulma"]
|
||||
path = themes/patek/assets/css/bulma
|
||||
url = git@github.com:/jgthms/bulma
|
||||
2
themes/patek/archetypes/default.md
Normal file
2
themes/patek/archetypes/default.md
Normal file
@ -0,0 +1,2 @@
|
||||
+++
|
||||
+++
|
||||
1
themes/patek/assets/css/bulma
Submodule
1
themes/patek/assets/css/bulma
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 21c8940ebdacc0dc5f14a7ebbdab3224b1608709
|
||||
15
themes/patek/assets/css/main.scss
Normal file
15
themes/patek/assets/css/main.scss
Normal file
@ -0,0 +1,15 @@
|
||||
// Bulma customization
|
||||
|
||||
$primary = #0b2a37;
|
||||
|
||||
// /Bulma customization
|
||||
|
||||
// Bulma import
|
||||
@import "./bulma/bulma.sass";
|
||||
// /Bulma import
|
||||
|
||||
// Custom styles
|
||||
|
||||
|
||||
|
||||
// /Custom styles
|
||||
0
themes/patek/layouts/404.html
Normal file
0
themes/patek/layouts/404.html
Normal file
11
themes/patek/layouts/_default/baseof.html
Normal file
11
themes/patek/layouts/_default/baseof.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
||||
0
themes/patek/layouts/_default/list.html
Normal file
0
themes/patek/layouts/_default/list.html
Normal file
0
themes/patek/layouts/_default/single.html
Normal file
0
themes/patek/layouts/_default/single.html
Normal file
0
themes/patek/layouts/index.html
Normal file
0
themes/patek/layouts/index.html
Normal file
0
themes/patek/layouts/partials/footer.html
Normal file
0
themes/patek/layouts/partials/footer.html
Normal file
8
themes/patek/layouts/partials/head.html
Normal file
8
themes/patek/layouts/partials/head.html
Normal file
@ -0,0 +1,8 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ block "title" . }}{{ .Title }} » {{ .Site.Title }}{{ end }}</title>
|
||||
{{ block "css" . -}}
|
||||
{{ partial "sass.html" "css/main.scss" }}
|
||||
<meta name="theme-color" content="#0b2a37">
|
||||
{{- end }}
|
||||
|
||||
0
themes/patek/layouts/partials/header.html
Normal file
0
themes/patek/layouts/partials/header.html
Normal file
2
themes/patek/layouts/partials/sass.html
Normal file
2
themes/patek/layouts/partials/sass.html
Normal file
@ -0,0 +1,2 @@
|
||||
{{ $asset := resources.Get . | toCSS (dict "enableSourceMap" true) | minify | fingerprint -}}
|
||||
<link rel="stylesheet" href="{{ $asset.Permalink }}" integrity="{{ $asset.Data.Integrity }}">
|
||||
13
themes/patek/theme.json
Normal file
13
themes/patek/theme.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"name":"Pátek",
|
||||
"license":"MIT",
|
||||
"description": "A custom theme for the Pátek.cz webpage.",
|
||||
"homepage":"https://pátek.cz",
|
||||
"tags": [],
|
||||
"features": [],
|
||||
"min_version":"0.41",
|
||||
"author": {
|
||||
"name":"Pátek",
|
||||
"homepage":"https://pátek.cz"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user