mirror of
https://github.com/ParkerTenBroeck/ParkerTenBroeck.github.io.git
synced 2026-06-06 21:14:06 -04:00
First
This commit is contained in:
commit
6449151d7a
38 changed files with 779 additions and 0 deletions
9
templates/macros/taxonomy.html
Normal file
9
templates/macros/taxonomy.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{%- macro prettify(term) -%}
|
||||
{%- if taxonomy.name == "categories" -%}
|
||||
{{- "{" ~ term ~ "}" | safe -}}
|
||||
{%- elif taxonomy.name == "tags" -%}
|
||||
{{- "#" ~ term | safe -}}
|
||||
{%- else -%}
|
||||
{{- term | safe -}}
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue