adjust license notice
This commit is contained in:
commit
c7c6cc3298
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2022 Rico Ullmann
|
||||
Copyright (c) 2019 Jason Rametta
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -0,0 +1,7 @@
|
|||
+++
|
||||
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||
date = {{ .Date }}
|
||||
tags = []
|
||||
featured_image = ""
|
||||
description = ""
|
||||
+++
|
|
@ -0,0 +1,3 @@
|
|||
{{ define "main" }}
|
||||
<div class="section">Page not found</div>
|
||||
{{ end }}
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" class="has-navbar-fixed-top">
|
||||
{{- partial "head.html" . -}}
|
||||
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<main role="main">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</main>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
{{ define "main" }}.
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="columns is-centered">
|
||||
<div class="column is-half">
|
||||
<h3 class="title">{{ humanize .Page.Title }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="columns is-centered">
|
||||
<div class="column">
|
||||
{{ range $index, $page := .Pages }}
|
||||
{{ if eq (mod $index 4) 0 }}{{ partial "box.html" $page }}{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="column">
|
||||
{{ range $index, $page := .Pages }}
|
||||
{{ if eq (mod $index 4) 1 }}{{ partial "box.html" $page }}{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="column">
|
||||
{{ range $index, $page := .Pages }}
|
||||
{{ if eq (mod $index 4) 2 }}{{ partial "box.html" $page }}{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="column">
|
||||
{{ range $index, $page := .Pages }}
|
||||
{{ if eq (mod $index 4) 3 }}{{ partial "box.html" $page }}{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
|
@ -0,0 +1,32 @@
|
|||
{{ define "main" }}
|
||||
<div class="section">
|
||||
<article class="container">
|
||||
<header>
|
||||
<div class="is-flex">
|
||||
{{ with .Params.featured_image }}
|
||||
<figure class="image is-96x96" style="margin-right: 0.5em;">
|
||||
<img alt="{{ . }}" class="is-rounded" src="{{ . }}" />
|
||||
</figure>
|
||||
{{ end }}
|
||||
<div>
|
||||
<h1 class="title is-1">
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
<h6 class="subtitle is-6">
|
||||
{{ .Summary }}
|
||||
</h6>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top: 1em;">
|
||||
<span class="tag is-primary is-light">{{ .Params.Time }}</span>
|
||||
{{ range .Params.Tags }}
|
||||
<a class="tag" href="/tags/{{ . }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</header>
|
||||
<div class="content" style="margin-top: 1em;">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{{ end }}
|
|
@ -0,0 +1,38 @@
|
|||
{{ define "main" }}
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="columns is-centered">
|
||||
<div class="column">
|
||||
<div style="margin-bottom: 1em;">
|
||||
{{ range .Site.Taxonomies.tags }}
|
||||
<a class="tag" href="{{ .Page.Permalink }}">{{ .Page.Title }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="columns is-centered">
|
||||
<div class="column">
|
||||
{{ range $index, $page := .Site.RegularPages }}
|
||||
{{ if eq (mod $index 4) 0 }}{{ partial "box.html" $page }}{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="column">
|
||||
{{ range $index, $page := .Site.RegularPages }}
|
||||
{{ if eq (mod $index 4) 1 }}{{ partial "box.html" $page }}{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="column">
|
||||
{{ range $index, $page := .Site.RegularPages }}
|
||||
{{ if eq (mod $index 4) 2 }}{{ partial "box.html" $page }}{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="column">
|
||||
{{ range $index, $page := .Site.RegularPages }}
|
||||
{{ if eq (mod $index 4) 3 }}{{ partial "box.html" $page }}{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
|
@ -0,0 +1,19 @@
|
|||
<a class="box" href="{{ .Permalink }}" aria-label="{{ .Title }}">
|
||||
<div class="is-flex">
|
||||
{{ with .Params.featured_image }}
|
||||
<figure class="image is-48x48" style="margin-right: 0.5em;">
|
||||
<img alt="{{ . }}" class="is-rounded" src="{{ . }}" />
|
||||
</figure>
|
||||
{{ end }}
|
||||
<div>
|
||||
<div>{{ .Title }}</div>
|
||||
<small class="has-text-grey">{{ .Summary }}</small>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top: 0.5em;">
|
||||
<span class="tag is-primary is-light">{{ .Params.Time }}</span>
|
||||
{{ range .Params.Tags }}
|
||||
<span class="tag">{{ . }}</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</a>
|
|
@ -0,0 +1,12 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }}</title>
|
||||
<meta name="author" content="{{ .Site.Params.author }}">
|
||||
<meta name="description" content="{{ .Site.Params.description }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/bulma-0.8.0.min.css">
|
||||
</head>
|
|
@ -0,0 +1,7 @@
|
|||
<nav class="navbar is-dark is-fixed-top" role="navigation" aria-label="main navigation">
|
||||
<div class="navbar-brand">
|
||||
<a class="navbar-item" href="/">
|
||||
{{ $.Site.Title }}
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Binary file not shown.
After Width: | Height: | Size: 65 KiB |
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Binary file not shown.
After Width: | Height: | Size: 789 B |
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "Jason's Recipe Book",
|
||||
"short_name": "Recipes",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#363636",
|
||||
"background_color": "#363636",
|
||||
"display": "standalone"
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Recipes"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||
description = ""
|
||||
homepage = "http://example.com/"
|
||||
tags = []
|
||||
features = []
|
||||
min_version = "0.41"
|
||||
|
||||
[author]
|
||||
name = "Jason Rametta"
|
||||
homepage = ""
|
Loading…
Reference in New Issue