Compare commits
No commits in common. "2cb78ff5854e2f8d4cbb767fddfbdca2df4aa035" and "c83c102b146751c06e6e3ae034f9e7aa979ac5ac" have entirely different histories.
2cb78ff585
...
c83c102b14
|
@ -12,8 +12,7 @@ pygmentscodefencesguesssyntax = true
|
||||||
pygmentsOptions = "linenos=table"
|
pygmentsOptions = "linenos=table"
|
||||||
|
|
||||||
[permalinks]
|
[permalinks]
|
||||||
recipes = "/recipes/:title"
|
posts = "/posts/:year/:month/:title"
|
||||||
notes = "/notes/:title"
|
|
||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
home = ["HTML", "RSS", "JSON"]
|
home = ["HTML", "RSS", "JSON"]
|
||||||
|
@ -28,7 +27,11 @@ hidecredits = false
|
||||||
hidecopyright = false
|
hidecopyright = false
|
||||||
showNavTitle = true
|
showNavTitle = true
|
||||||
custom_css = [ "style.css" ]
|
custom_css = [ "style.css" ]
|
||||||
mainSections = ["recipe", "recipes", "note", "notes"]
|
|
||||||
|
#[[menu.main]]
|
||||||
|
#name = "Home"
|
||||||
|
#weight = 1
|
||||||
|
#url = "/"
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "By Category"
|
name = "By Category"
|
||||||
|
|
|
@ -5,9 +5,6 @@ image: noun-fire-962988.png
|
||||||
imagecaption: "A black and white flame illustrating how hot peppers can be"
|
imagecaption: "A black and white flame illustrating how hot peppers can be"
|
||||||
date: 2022-12-03
|
date: 2022-12-03
|
||||||
|
|
||||||
AuthorName: KemoNine
|
|
||||||
AuthorURL: "https://culinary.kemonine.info"
|
|
||||||
|
|
||||||
notes:
|
notes:
|
||||||
- Information
|
- Information
|
||||||
- Heat
|
- Heat
|
||||||
|
|
|
@ -7,7 +7,6 @@ date: 2022-12-03
|
||||||
|
|
||||||
AuthorName: KemoNine
|
AuthorName: KemoNine
|
||||||
AuthorURL: "https://culinary.kemonine.info"
|
AuthorURL: "https://culinary.kemonine.info"
|
||||||
|
|
||||||
category: Dinner
|
category: Dinner
|
||||||
cuisine: Italian
|
cuisine: Italian
|
||||||
tags:
|
tags:
|
||||||
|
@ -16,6 +15,8 @@ tags:
|
||||||
- Chicken
|
- Chicken
|
||||||
- Lemon
|
- Lemon
|
||||||
yield: 4
|
yield: 4
|
||||||
|
prepTime:
|
||||||
|
cookTime:
|
||||||
|
|
||||||
ingredients:
|
ingredients:
|
||||||
- cubed chicken
|
- cubed chicken
|
||||||
|
@ -36,5 +37,6 @@ directions:
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Notes
|
||||||
- spices are a must
|
- spices are a must
|
||||||
- break pasta in half or quarters prior to cooking to make the mixing of everything at the end easier
|
- break pasta in half or quarters prior to cooking to make the mixing of everything at the end easier
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
|
|
||||||
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
||||||
|
|
||||||
<link rel="alternate" href="{{ "index.xml" | absLangURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
|
|
||||||
|
|
||||||
<link rel="canonical" href="{{ .Permalink }}">
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
<link rel="stylesheet" href="https://unpkg.com/normalize.css@8.0.1/normalize.css" integrity="sha384-M86HUGbBFILBBZ9ykMAbT3nVb0+2C7yZlF8X2CiKNpDOQjKroMJqIeGZ/Le8N2Qp" crossorigin="anonymous" />
|
<link rel="stylesheet" href="https://unpkg.com/normalize.css@8.0.1/normalize.css" integrity="sha384-M86HUGbBFILBBZ9ykMAbT3nVb0+2C7yZlF8X2CiKNpDOQjKroMJqIeGZ/Le8N2Qp" crossorigin="anonymous" />
|
||||||
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
|
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
|
||||||
|
|
|
@ -4,51 +4,6 @@
|
||||||
{{ define "content" }}
|
{{ define "content" }}
|
||||||
|
|
||||||
<div class="container" itemscope itemtype="http://schema.org/Recipe">
|
<div class="container" itemscope itemtype="http://schema.org/Recipe">
|
||||||
<!-- call up the image and image credit link -->
|
|
||||||
<article class="post-content px2">
|
|
||||||
<!-- call up the main recipe title and content -->
|
|
||||||
<header class="post-header">
|
|
||||||
<h1 class="post-title center m1 sm-mt3" itemprop="name">{{ .Title }}</h1>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<div class="recipe-source">
|
|
||||||
<div class="clearfix mt3">
|
|
||||||
Chef:
|
|
||||||
{{if .Params.authorurl }}
|
|
||||||
<a href="{{.Params.authorurl}}">{{.Params.AuthorName}}</a>
|
|
||||||
{{else}}
|
|
||||||
{{.Params.AuthorName}}
|
|
||||||
{{end}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ with .Params.Category }}{{ partial "taxonomy/notes" . }}{{ end }}
|
|
||||||
{{ with .Params.Tags }}{{ partial "taxonomy/tags" . }}{{ end }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="px2 mt3 clearfix">
|
|
||||||
<div class="sm-col-8 mx-auto" itemprop="description">{{.Content}}</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
|
|
||||||
{{ if .Params.inspiration }}
|
|
||||||
<div class="px2 mt3 clearfix"><div class="sm-col-8 mx-auto" itemprop="description">
|
|
||||||
<h3 class="blue mt0 mb2 xs-center">Inspiration & Resources</h3>
|
|
||||||
{{ range .Params.inspiration }}
|
|
||||||
<ul class="recipe-source">
|
|
||||||
{{ if .url }}
|
|
||||||
<li><a href="{{ .URL }}">{{ .title }}</a></li>
|
|
||||||
{{ else }}
|
|
||||||
<li>{{ .title }}</li>
|
|
||||||
{{ end }}
|
|
||||||
</ul>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div></div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- call up the image and image credit link -->
|
<!-- call up the image and image credit link -->
|
||||||
{{ if .Params.image }}
|
{{ if .Params.image }}
|
||||||
<div class="xs-p2 center">
|
<div class="xs-p2 center">
|
||||||
|
@ -60,6 +15,44 @@
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<article class="post-content px2">
|
||||||
|
<!-- call up the main recipe title and content -->
|
||||||
|
<header class="post-header">
|
||||||
|
<h1 class="post-title center m1 sm-mt3" itemprop="name">{{ .Title }}</h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="px2 mt3 clearfix">
|
||||||
|
<div class="sm-col-8 mx-auto" itemprop="description">{{.Content}}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<div class="recipe-source">
|
||||||
|
<p>Chef:
|
||||||
|
{{if .Params.authorurl }}
|
||||||
|
<a href="{{.Params.authorurl}}">{{.Params.AuthorName}}</a>
|
||||||
|
{{else}}
|
||||||
|
{{.Params.AuthorName}}
|
||||||
|
{{end}}
|
||||||
|
{{ if .Params.inspiration }}
|
||||||
|
<p>Inspiration & Resources</p>
|
||||||
|
{{ range .Params.inspiration }}
|
||||||
|
<ul>
|
||||||
|
{{ if .url }}
|
||||||
|
<li><a href="{{ .URL }}">{{ .title }}</a></li>
|
||||||
|
{{ else }}
|
||||||
|
<li>{{ .title }}</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with .Params.Category }}{{ partial "taxonomy/notes" . }}{{ end }}
|
||||||
|
{{ with .Params.Tags }}{{ partial "taxonomy/tags" . }}{{ end }}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<div class="home">
|
<div class="home">
|
||||||
<div class="recipes xs-px1 xs-mt2">
|
<div class="recipes xs-px1 xs-mt2">
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
{{ range sort (where site.RegularPages "Type" "in" site.Params.mainSections) "Title" }}
|
{{ range sort (where .Site.RegularPages "Section" "recipes") "Title" }}
|
||||||
<div class="sm-col sm-col-6 md-col-6 lg-col-4 xs-px1 xs-mb2">
|
<div class="sm-col sm-col-6 md-col-6 lg-col-4 xs-px1 xs-mb2">
|
||||||
<a class="block relative bg-blue" href="{{ .RelPermalink }}">
|
<a class="block relative bg-blue" href="{{ .RelPermalink }}">
|
||||||
{{ if .Params.Image }}
|
{{ if .Params.Image }}
|
||||||
|
|
|
@ -4,31 +4,26 @@
|
||||||
{{ define "content" }}
|
{{ define "content" }}
|
||||||
|
|
||||||
<div class="container" itemscope itemtype="http://schema.org/Recipe">
|
<div class="container" itemscope itemtype="http://schema.org/Recipe">
|
||||||
|
<!-- call up the image and image credit link -->
|
||||||
|
{{ if .Params.image }}
|
||||||
|
<div class="xs-p2 center">
|
||||||
|
<figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
|
||||||
|
<img itemprop="image" src="{{ .Params.image }}" {{ if .Params.imagecaption }}alt="{{.Params.imagecaption}}"{{ end }} style="max-width:480px"/>
|
||||||
|
{{ if .Params.imagecaption }}
|
||||||
|
<figcaption><p><b>Pictured:</b> {{ .Params.imagecaption }}</p></figcaption>
|
||||||
|
{{ end }}
|
||||||
|
</figure>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<article class="post-content px2">
|
<article class="post-content px2">
|
||||||
<!-- call up the main recipe title and content -->
|
<!-- call up the main recipe title and content -->
|
||||||
<header class="post-header">
|
<header class="post-header">
|
||||||
<h1 class="post-title center m1 sm-mt3" itemprop="name">{{ .Title }}</h1>
|
<h1 class="post-title center m1 sm-mt3" itemprop="name">{{ .Title }}</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="recipe-source">
|
<div class="px2 mt3 clearfix">
|
||||||
<div class="clearfix mt3">
|
<div class="sm-col-8 mx-auto" itemprop="description">{{.Content}}</div>
|
||||||
<div class="sm-col sm-col-3">
|
|
||||||
Chef:
|
|
||||||
{{if .Params.authorurl }}
|
|
||||||
<a href="{{.Params.authorurl}}">{{.Params.AuthorName}}</a>
|
|
||||||
{{else}}
|
|
||||||
{{.Params.AuthorName}}
|
|
||||||
{{end}}
|
|
||||||
</div>
|
|
||||||
<div class="sm-col sm-col-3">
|
|
||||||
{{ with .Params.Category }}{{ partial "taxonomy/category" . }}{{ end }}
|
|
||||||
</div>
|
|
||||||
<div class="sm-col sm-col-3">
|
|
||||||
{{ with .Params.Cuisine }}{{ partial "taxonomy/cuisine" . }}{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ with .Params.Tags }}{{ partial "taxonomy/tags" . }}{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clearfix mt3">
|
<div class="clearfix mt3">
|
||||||
|
@ -90,10 +85,6 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- end recipe and directions -->
|
<!-- end recipe and directions -->
|
||||||
|
|
||||||
<div class="px2 mt3 clearfix">
|
|
||||||
<div class="sm-col-8 mx-auto" itemprop="description">{{.Content}}</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- check if it's a component-based recipe, render it -->
|
<!-- check if it's a component-based recipe, render it -->
|
||||||
{{ with .Params.Components }}
|
{{ with .Params.Components }}
|
||||||
<div class="components bg-darken-2 p2 mt3 mb3 center">
|
<div class="components bg-darken-2 p2 mt3 mb3 center">
|
||||||
|
@ -147,10 +138,17 @@
|
||||||
<!-- end components -->
|
<!-- end components -->
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
<div class="recipe-source">
|
||||||
|
<p>Chef:
|
||||||
|
{{if .Params.authorurl }}
|
||||||
|
<a href="{{.Params.authorurl}}">{{.Params.AuthorName}}</a>
|
||||||
|
{{else}}
|
||||||
|
{{.Params.AuthorName}}
|
||||||
|
{{end}}
|
||||||
{{ if .Params.inspiration }}
|
{{ if .Params.inspiration }}
|
||||||
<h3 class="blue mt0 mb2 xs-center center">Inspiration & Resources</h3>
|
<p>Inspiration & Resources</p>
|
||||||
{{ range .Params.inspiration }}
|
{{ range .Params.inspiration }}
|
||||||
<ul class="center">
|
<ul>
|
||||||
{{ if .url }}
|
{{ if .url }}
|
||||||
<li><a href="{{ .URL }}">{{ .title }}</a></li>
|
<li><a href="{{ .URL }}">{{ .title }}</a></li>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
@ -160,17 +158,12 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- call up the image and image credit link -->
|
{{ with .Params.Category }}{{ partial "taxonomy/category" . }}{{ end }}
|
||||||
{{ if .Params.image }}
|
{{ with .Params.Cuisine }}{{ partial "taxonomy/cuisine" . }}{{ end }}
|
||||||
<div class="xs-p2 center">
|
{{ with .Params.Tags }}{{ partial "taxonomy/tags" . }}{{ end }}
|
||||||
<figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
|
|
||||||
<img itemprop="image" src="{{ .Params.image }}" {{ if .Params.imagecaption }}alt="{{.Params.imagecaption}}"{{ end }} style="max-width:480px"/>
|
|
||||||
{{ if .Params.imagecaption }}
|
|
||||||
<figcaption><p><b>Pictured:</b> {{ .Params.imagecaption }}</p></figcaption>
|
|
||||||
{{ end }}
|
|
||||||
</figure>
|
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue