Final launch tweaks
Some checks are pending
Deploy to Netlify / Deploy Hugo site to Netlify (push) Waiting to run

This commit is contained in:
Alan Youngblood
2024-03-06 16:42:40 -05:00
parent 9c269beb24
commit fa7ae99f5c
31 changed files with 26 additions and 13 deletions

View File

@ -25,14 +25,16 @@
<section class="w-100 mw8">
{{/* Range through the first $n_posts items of the section */}}
{{ range (first $n_posts $section) }}
{{ if ne .Title "About" }}
<div class="relative w-100 mb4">
{{ .Render "summary-with-image" }}
</div>
{{ end }}
{{ end }}
</section>
{{ if ge $section_count (add $n_posts 1) }}
<section class="w-100">
<!-- <section class="w-100">
<h1 class="f3">{{ i18n "more" }}</h1>
{{/* Now, range through the next four after the initial $n_posts items. Nest the requirements, "after" then "first" on the outside */}}
{{ range (first 4 (after $n_posts $section)) }}
@ -41,13 +43,13 @@
{{ .Title }}
</a>
</h2>
{{ end }}
{{ end }}
{{/* As above, Use $section_name to get the section title, and URL. Use "with" to only show it if it exists */}}
{{ with .Site.GetPage "section" $section_name }}
<a href="{{ .RelPermalink }}" class="link db f6 pa2 br3 bg-mid-gray white dim w4 tc">{{ i18n "allTitle" . }}</a>
{{ end }}
</section>
</section> -->
{{ end }}
</div>