hugo-json/layouts/_default/home.html

67 lines
1.7 KiB
HTML
Raw Normal View History

2024-06-15 22:41:34 -04:00
{{ define "main" }}
<p>{</p>
<main>
<div class="one">
<div class="flex-row">
<span>"title":</span>
<span class="highlight">"{{ .Site.Params.title }}"</span>
,
2024-06-16 01:07:10 -04:00
</div>
<div class="flex-row">
<span>"body":</span>
<span> <span class="highlight">"{{ .Site.Params.body }}"</span>, </span>
2024-06-16 04:07:07 -04:00
</div>
<span class="flex-col"
>"Q & A":[ {{ range $index, $element := .Site.Params.faq }} {{- if ne
$index 0 }}
<div class="two">},</div>
{{ end }}
<div class="two">
{
<div class="three">
<div>
2024-06-18 01:02:02 -04:00
<span>"Q":</span
><span class="highlight">"{{ $element.question }}"</span>,
</div>
<div>
2024-06-18 01:02:02 -04:00
<span>"A":</span
><span class="highlight">"{{ $element.answer }}"</span>
</div>
</div>
</div>
{{- end }} ]</span
>
<span class="flex-col">
2024-06-18 01:02:02 -04:00
"contact":{ {{ $length := len .Site.Params.contact }} {{ range $index,
$element := .Site.Params.contact }}
<div class="two">
<div class="three contact">
<span>"{{ $element.service }}"</span>:
<span class="highlight">"{{ $element.input }}"</span>
{{ if ne $index (sub $length 1) }},{{ end }}
</div>
</div>
2024-06-18 01:02:02 -04:00
{{ end }} },
</span>
</div>
</main>
<footer class="one">
<span>
"license":<a
class="highlight"
href="https://creativecommons.org/licenses/by-sa/4.0"
>"CC BY-SA 4.0"</a
>,
</span>
<span>
"source code":<a
class="highlight"
href="https://git.myco.systems/mycosystems/hugo-maintenance"
>"https://git.myco.systems/mycosystems/hugo-maintenance"</a
>
2024-06-16 04:18:52 -04:00
</span>
</footer>
<p>}</p>
2024-06-15 22:41:34 -04:00
{{ end }}