all repos — archive/hugo-xmin @ 111767700619c5184943b1cb3dff3f7e195c2e85

Customised minimal hugo theme

add theme.toml, archetypes, layouts, and css

Yihui Xie
commit

111767700619c5184943b1cb3dff3f7e195c2e85

parent

fa6cebe7292c40fa8549590665e888abba4ed8af

1 file changed, 16 insertions(+), 0 deletions(-)

changed files
A layouts/_default/terms.html
@@ -0,0 +1,16 @@
+{{ partial "header.html" . }} + +<h1>{{ .Title }}</h1> + +<ul class="terms"> + {{ range $key, $value := .Data.Terms }} + <li> + <a href="{{ (print "/" $.Data.Plural "/" ($key | urlize)) | relURL }}"> + {{ $key }} + </a> + ({{ len $value }}) + </li> + {{ end }} +</ul> + +{{ partial "footer.html" . }}