Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions layouts/partials/specs/project_meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@
{{- $card := dict "body" $projectMetaBody -}}
{{- partial "_elements/card.html" (dict "card" $card) -}}

<div class="article-content">
<h2>Endorsed SPECs</h1>
{{- $specs := where $.Site.Pages "Section" "specs" -}}
<ul class="endorsed-specs-list">
{{- range ($specs.ByParam "number") -}}
{{- if not (in (lower .Title) "meta") -}}
{{- if in ( index .Params "endorsed-by" ) $root.File.BaseFileName }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{- end -}}
<h2>Endorsed SPECs</h2>
{{- $specs := where $.Site.Pages "Section" "specs" -}}
<ul class="endorsed-specs-list">
{{- range ($specs.ByParam "number") -}}
{{- if not (in (lower .Title) "meta") -}}
{{- if in ( index .Params "endorsed-by" ) $root.File.BaseFileName }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{- end -}}
{{- end -}}
</ul>
</div>
{{- end -}}
</ul>
6 changes: 2 additions & 4 deletions layouts/specs/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ <h5 class="subtitle">{{ .Params.Subtitle }}</h5>
{{ . }}
{{- end }}

<div class="article-content">
{{ .Content }}
{{ partial "specs/comments.html" . }}
</div>
{{ .Content }}
{{ partial "specs/comments.html" . }}
</div>
{{ partial "shortcuts.html" . }}
</section>
Expand Down