mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-21 23:15:06 +00:00
Docs: Generate client pages (#45)
This commit is contained in:
@@ -27,11 +27,11 @@
|
||||
|
||||
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
|
||||
{{ $projects := where .Site.RegularPages "Section" "projects" }}
|
||||
{{ $pages = first (default 100 .Site.Params.homePosts) (sort (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) "Date" "desc") }}
|
||||
|
||||
<div class="container">
|
||||
<section>
|
||||
<div class="posts">
|
||||
{{ $pages = .Site.Taxonomies.labels.readme }}
|
||||
{{ range $i,$e := $pages }}
|
||||
|
||||
{{if modBool $i 2}}
|
||||
@@ -58,6 +58,8 @@
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
<!-- todo: do not copypaste it all -->
|
||||
</div>
|
||||
</section>
|
||||
{{ if gt (len $projects) 0}}
|
||||
|
||||
Reference in New Issue
Block a user