vacp2p-rfc/layouts/docs/single.html

44 lines
1.4 KiB
HTML
Raw Normal View History

Merge repo with rfc.vac.dev (#310) * Hugo init * Init Hugo book * Add basic README and title * Import RFC: 1/COSS * Move example content to dedicated folder * Basic menu * Tweak single layout * Fix base url and permalink * Basic index tweaks * Add netifly config * gitignore * 1/COSS: Add COSS lifecycle * Remove public artifact * Add basic numbers in menu * Empty READMEs init * Import mvds spec raw * 2/MVDS: Simplify * 3/REMOTE-LOG: Import * 3/REMOTE-LOG: Simplify * 4/MVDS-META: Import * 4/MVDS-META Simplify * Tweaks * 5/WAKU0: Import * 5: Simplify * 6/WAKU1: Import * 6/WAKU1: Simplify * 7/WAKU-DATA: Import * 7/WAKU-DATA: Simplify * 8/WAKU-MAIL: Import * 8/WAKU-MAIL: Simplify * Tweak * 9/WAKU-RPC: Import * 9/WAKU-RPC: Simplify * 10/WAKU2: Import * 10/WAKU2: Simplify * 11/WAKU-RELAY: Import * Tweaks * 11/WAKU-RELAY: Simplify * 12/WAKU-FILTER: Import * 12/WAKU2-FILTER: Simplify * 13/WAKU-STORE: Import * 13/WAKU-STORE: Simplify * 14/WAKU-MESSAGE: Import * 14/WAKU-MESSAGE: Simplify * 15/WAKU-BRIDGE: Import * 15: Simplify * 16: Import * 16: Simplify * 17: Import * 17: Simplify * 18: Import * 18: Simplify * 12: Bump update * 14: Bump update * 11: Bump update * 17: Bump update * 18: Bump update * 16: Bump update * Fix slug for 18 * Editor changes for 11, 12, 15 * Revert "Editor changes for 11, 12, 15" This reverts commit 5c32fe791bec57ca1d5326e0d2724339f12a784a. * Revert "Revert "Editor changes for 11, 12, 15"" This reverts commit ccd75131d72a1f1c43b701f445fe66ebd6857fc4. * Editor changes for 13, 2, 4 * Move current specs to archive * Update README * bump
2021-04-01 04:03:14 +00:00
{{ define "main" }}
<article class="markdown">
{{ printf "# %s" .Params.title | markdownify }}
{{ if .Params.name }}
{{ printf "# %s" .Params.name | markdownify }}
{{ end }}
{{ if eq .Params.status "raw" }}
<img src="https://img.shields.io/badge/status-{{.Params.status}}-lightgrey?style=flat-square" />
{{ end }}
{{ if eq .Params.status "draft" }}
<img src="https://img.shields.io/badge/status-{{.Params.status}}-blue?style=flat-square" />
{{ end }}
{{ if eq .Params.status "stable" }}
<img src="https://img.shields.io/badge/status-{{.Params.status}}-brightgreen?style=flat-square" />
{{ end }}
{{ if eq .Params.status "deprecated" }}
<img src="https://img.shields.io/badge/status-{{.Params.status}}-yellowgreen?style=flat-square" />
{{ end }}
{{ if eq .Params.status "retired" }}
<img src="https://img.shields.io/badge/status-{{.Params.status}}-red?style=flat-square" />
{{ end }}
<ul>
<li>Status: {{ .Params.status | markdownify }}</li>
<li>Editor: {{ .Params.editor | markdownify }}</li>
{{ if .Params.contributors }}
<li>Contributors:
{{ range $index, $element := .Params.contributors }}
{{if $index}},{{end}}
{{ . | markdownify }}
{{ end }}
</li>
{{ end }}
</ul>
{{- .Content -}}
</article>
{{ end }}
{{ define "toc" }}
{{ partial "docs/toc" . }}
{{ end }}