bug fixes

This commit is contained in:
2025-05-20 12:01:13 -06:00
parent 75b4cfe538
commit 76f4628ae4
3 changed files with 10 additions and 30 deletions
-28
View File
@@ -45,34 +45,6 @@
{{ .Description }}
</div>
{{- end }}
<!-- {{- if .Param "taxButtons" }}
<div class="buttons" style="margin:1rem 0;justify-content:left;">
<a class="button" href="/categories/" rel="noopener" title="categories" style="margin: .5rem 1rem .5rem 0;">
<span class="button-inner">
Categories
</span>
</a>
<a class="button" href="/tags/" rel="noopener" title="tags" style="margin: .5rem 1rem .5rem 0;">
<span class="button-inner">
Tags
</span>
</a>
</div>
{{- end }}
{{- if .Param "recipeButtons" }}
<div class="buttons" style="margin:1rem 0;justify-content:left;">
<a class="button" href="/meals/" rel="noopener" title="meals" style="margin: .5rem 1rem .5rem 0;">
<span class="button-inner">
Find by Meal Type
</span>
</a>
<a class="button" href="/diets/" rel="noopener" title="diets" style="margin: .5rem 1rem .5rem 0;">
<button class="read-more-toggle" data-action="read-more">Read More</button>
Find by Diet
</span>
<button class="read-more-toggle" data-action="read-less">Read Less</button>
</div>
{{- end }} -->
</header>
{{- end }}
+8
View File
@@ -14,6 +14,14 @@
</span>
{{- end }}
</h1>
<div class="post-description">
{{- if .Param "part" }}
Part {{ .Param "part" }}
{{- if .Param "chapter" }}
&bull; Chapter {{ .Param "chapter" }}
{{- end }}
{{- end }}
</div>
{{- if .Description }}
<div class="post-description">
{{ .Description }}
+2 -2
View File
@@ -2,14 +2,14 @@
{{- if and (gt (len $pages) 1) (in $pages . ) }}
<nav class="paginav">
{{- with $pages.Next . }}
{{- with $pages.Prev . }}
<a class="prev" href="{{ .Permalink }}">
<span class="title">« {{ i18n "prev_page" }}</span>
<br>
<span>{{- .Name -}}</span>
</a>
{{- end }}
{{- with $pages.Prev . }}
{{- with $pages.Next . }}
<a class="next" href="{{ .Permalink }}">
<span class="title">{{ i18n "next_page" }} »</span>
<br>