Blog: Move blog styles and content templates to the base repo
This commit is contained in:
parent
2e37336f5e
commit
ea26f5f68b
5 changed files with 101 additions and 5 deletions
|
@ -1,11 +1,13 @@
|
|||
{{/*
|
||||
Generates a list of the terms for a given taxonomy.
|
||||
{{- /*
|
||||
Generates a list of the terms for a given taxonomy.
|
||||
|
||||
@param {Page} .page The current page
|
||||
@param {String} .taxonomy The name of the taxonomy
|
||||
*/}}
|
||||
@context {Page} .page The current page
|
||||
@context {String} .taxonomy The name of the taxonomy
|
||||
|
||||
*/ -}}
|
||||
|
||||
{{- $taxonomy := .taxonomy -}}
|
||||
|
||||
{{ with .page.GetTerms $taxonomy }}
|
||||
{{- $name := $taxonomy -}}
|
||||
{{- with T $taxonomy (len .) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue