Hugo-based levitation.wales initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{{- /* List the child project pages of the section this shortcode is called
|
||||
from, ordered by their `weight`. The bold link text is each page's
|
||||
`linkTitle` (the acronym); the description is the page `title` with the
|
||||
leading "ACRONYM: " stripped. Keeps this list in sync with the pages
|
||||
(and hence the sidebar) so a new project is a one-file addition. */ -}}
|
||||
<ul>
|
||||
{{- range .Page.Pages.ByWeight }}
|
||||
{{- $desc := replaceRE `^[^:]+:\s*` "" .Title -}}
|
||||
<li><a href="{{ .RelPermalink }}"><strong>{{ .LinkTitle }}</strong></a>: {{ $desc }}</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user