Some more initting.

This commit is contained in:
Greenscreener 2019-07-02 16:31:05 +02:00
parent 311328120f
commit a7615faf9d
14 changed files with 58 additions and 0 deletions

6
.gitmodules vendored Normal file
View 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

View File

@ -0,0 +1,2 @@
+++
+++

@ -0,0 +1 @@
Subproject commit 21c8940ebdacc0dc5f14a7ebbdab3224b1608709

View File

@ -0,0 +1,15 @@
// Bulma customization
$primary = #0b2a37;
// /Bulma customization
// Bulma import
@import "./bulma/bulma.sass";
// /Bulma import
// Custom styles
// /Custom styles

View File

View 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>

View File

View File

View 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 }}

View 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
View 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"
}
}