Refactor taxonomies page

This commit is contained in:
Hanzei 2018-07-24 00:04:56 +02:00
parent a9d6150b00
commit 5687d97c78
No known key found for this signature in database
GPG key ID: 69A2DEFD98937BA0
13 changed files with 30 additions and 24 deletions

View file

@ -54,7 +54,11 @@ DefaultContentLanguage = "en" # Default language fo
# url = "/blog/"
# weight = 1
#
# We only use tag as a taxonomies
# You can add more by yourself
[taxonomies]
tag = "tags"
[languages]
[languages.en]
languageName = "English"
@ -83,6 +87,6 @@ DefaultContentLanguage = "en" # Default language fo
weight = 2
title = "Vorstellung"
[languages.de.params]
dateForm = "2. January 2006"
dateFormat = "2. January 2006"
description = "Beschreibung der Webseite"
# footerText = ""

View file

@ -1,7 +1,7 @@
---
title: "Kaffee Ipsum"
date: 2017-11-01T12:04:16-05:00
tags: ['coffee', 'ipsum','images']
tags: ["coffee", "ipsum", "images"]
---
Aromatic aroma con panna, crema so coffee robust coffee barista, café au lait trifecta that strong blue mountain cortado aftertaste. Aroma extraction french press, skinny sweet, blue mountain cup roast barista, beans, extra cappuccino mug crema strong. Americano caffeine white, con panna saucer sit, con panna eu, carajillo aftertaste kopi-luwak, body aftertaste cup single origin café au lait saucer. Macchiato java sweet arabica, turkish cup, eu flavour mug extraction white cortado saucer est white brewed instant, rich, barista breve cappuccino barista organic. Barista, beans extraction, barista mocha, roast steamed siphon cup sweet cortado, cinnamon froth milk ristretto cortado galão. Crema, milk extra brewed, lungo dripper, espresso flavour qui, variety, grinder caramelization sit, strong turkish espresso body, filter barista caramelization half and half strong. To go viennese cream to go, flavour, so mocha as, carajillo iced et a siphon froth. Aged, eu, cup, brewed aroma kopi-luwak, coffee, id viennese french press brewed grounds acerbic froth. Decaffeinated acerbic, spoon beans seasonal, french press café au lait mazagran roast chicory, pumpkin spice galão as fair trade, dark irish cup ristretto half and half whipped shop. Latte instant black extra aroma, instant, extra robusta variety skinny shop aged cup ristretto foam cortado. Bar galão skinny saucer est affogato sugar caffeine chicory sugar coffee, seasonal barista french press acerbic in chicory robust.

View file

@ -1,7 +1,7 @@
---
title: "Hipster Ipsum"
date: 2017-11-13T11:58:39-05:00
tags: ['ipsum','words']
tags: ["ipsum", "words"]
---
Occupy mlkshk kale chips woke, listicle locavore next level fingerstache glossier aesthetic man braid before they sold out kitsch prism. Cred copper mug freegan, flannel YOLO single-origin coffee skateboard artisan four loko church-key man bun. Synth literally gastropub, kombucha chillwave helvetica offal truffaut church-key freegan pop-up gentrify narwhal. Kombucha viral vexillologist green juice. Slow-carb hoodie mumblecore tumeric tattooed meditation, lo-fi fap cred affogato forage whatever austin. Shabby chic direct trade migas, brunch gochujang sriracha chambray fanny pack 8-bit mustache letterpress. Street art umami tattooed, glossier selfies 90's kale chips cred cardigan taxidermy seitan distillery migas.

View file

@ -1,7 +1,7 @@
---
title: "Startup Ipsum"
date: 2017-11-06T12:04:06-05:00
tags: ['code','ipsum','words']
tags: ["code", "ipsum", "words"]
---
SpaceTeam affordances quantitative vs. qualitative SpaceTeam physical computing earned media thinker-maker-doer pair programming. Bootstrapping pitch deck physical computing driven cortado human-centered design innovate human-centered design driven. Grok pitch deck fund pitch deck sticky note affordances minimum viable product integrate paradigm viral iterate. Driven fund thought leader personas workflow SpaceTeam viral pair programming physical computing intuitive 360 campaign latte bootstrapping minimum viable product. Bootstrapping physical computing responsive pitch deck SpaceTeam parallax long shadow pitch deck bootstrapping ideate.

View file

@ -1,7 +1,7 @@
---
title: "Coffee Ipsum"
date: 2017-11-01T12:04:16-05:00
tags: ['coffee', 'ipsum','images']
tags: ["coffee", "ipsum", "images"]
---
Aromatic aroma con panna, crema so coffee robust coffee barista, café au lait trifecta that strong blue mountain cortado aftertaste. Aroma extraction french press, skinny sweet, blue mountain cup roast barista, beans, extra cappuccino mug crema strong. Americano caffeine white, con panna saucer sit, con panna eu, carajillo aftertaste kopi-luwak, body aftertaste cup single origin café au lait saucer. Macchiato java sweet arabica, turkish cup, eu flavour mug extraction white cortado saucer est white brewed instant, rich, barista breve cappuccino barista organic. Barista, beans extraction, barista mocha, roast steamed siphon cup sweet cortado, cinnamon froth milk ristretto cortado galão. Crema, milk extra brewed, lungo dripper, espresso flavour qui, variety, grinder caramelization sit, strong turkish espresso body, filter barista caramelization half and half strong. To go viennese cream to go, flavour, so mocha as, carajillo iced et a siphon froth. Aged, eu, cup, brewed aroma kopi-luwak, coffee, id viennese french press brewed grounds acerbic froth. Decaffeinated acerbic, spoon beans seasonal, french press café au lait mazagran roast chicory, pumpkin spice galão as fair trade, dark irish cup ristretto half and half whipped shop. Latte instant black extra aroma, instant, extra robusta variety skinny shop aged cup ristretto foam cortado. Bar galão skinny saucer est affogato sugar caffeine chicory sugar coffee, seasonal barista french press acerbic in chicory robust.

View file

@ -1,7 +1,7 @@
---
title: "Hipster Ipsum"
date: 2017-11-13T11:58:39-05:00
tags: ['ipsum','words']
tags: ["ipsum", "words"]
---
Occupy mlkshk kale chips woke, listicle locavore next level fingerstache glossier aesthetic man braid before they sold out kitsch prism. Cred copper mug freegan, flannel YOLO single-origin coffee skateboard artisan four loko church-key man bun. Synth literally gastropub, kombucha chillwave helvetica offal truffaut church-key freegan pop-up gentrify narwhal. Kombucha viral vexillologist green juice. Slow-carb hoodie mumblecore tumeric tattooed meditation, lo-fi fap cred affogato forage whatever austin. Shabby chic direct trade migas, brunch gochujang sriracha chambray fanny pack 8-bit mustache letterpress. Street art umami tattooed, glossier selfies 90's kale chips cred cardigan taxidermy seitan distillery migas.

View file

@ -1,7 +1,7 @@
---
title: "Startup Ipsum"
date: 2017-11-06T12:04:06-05:00
tags: ['code','ipsum','words']
tags: ["code", "ipsum", "words"]
---
SpaceTeam affordances quantitative vs. qualitative SpaceTeam physical computing earned media thinker-maker-doer pair programming. Bootstrapping pitch deck physical computing driven cortado human-centered design innovate human-centered design driven. Grok pitch deck fund pitch deck sticky note affordances minimum viable product integrate paradigm viral iterate. Driven fund thought leader personas workflow SpaceTeam viral pair programming physical computing intuitive 360 campaign latte bootstrapping minimum viable product. Bootstrapping physical computing responsive pitch deck SpaceTeam parallax long shadow pitch deck bootstrapping ideate.

View file

@ -1,7 +1,7 @@
---
title: "Coffee Ipsum - Español"
date: 2017-11-01T12:04:16-05:00
tags: ['coffee', 'ipsum','images']
tags: ["coffee", "ipsum", "images"]
---
Aromatic aroma con panna, crema so coffee robust coffee barista, café au lait trifecta that strong blue mountain cortado aftertaste. Aroma extraction french press, skinny sweet, blue mountain cup roast barista, beans, extra cappuccino mug crema strong. Americano caffeine white, con panna saucer sit, con panna eu, carajillo aftertaste kopi-luwak, body aftertaste cup single origin café au lait saucer. Macchiato java sweet arabica, turkish cup, eu flavour mug extraction white cortado saucer est white brewed instant, rich, barista breve cappuccino barista organic. Barista, beans extraction, barista mocha, roast steamed siphon cup sweet cortado, cinnamon froth milk ristretto cortado galão. Crema, milk extra brewed, lungo dripper, espresso flavour qui, variety, grinder caramelization sit, strong turkish espresso body, filter barista caramelization half and half strong. To go viennese cream to go, flavour, so mocha as, carajillo iced et a siphon froth. Aged, eu, cup, brewed aroma kopi-luwak, coffee, id viennese french press brewed grounds acerbic froth. Decaffeinated acerbic, spoon beans seasonal, french press café au lait mazagran roast chicory, pumpkin spice galão as fair trade, dark irish cup ristretto half and half whipped shop. Latte instant black extra aroma, instant, extra robusta variety skinny shop aged cup ristretto foam cortado. Bar galão skinny saucer est affogato sugar caffeine chicory sugar coffee, seasonal barista french press acerbic in chicory robust.

View file

@ -1,7 +1,7 @@
---
title: "Hipster Ipsum - Español"
date: 2017-11-13T11:58:39-05:00
tags: ['ipsum','words']
tags: ["ipsum", "words"]
---
Occupy mlkshk kale chips woke, listicle locavore next level fingerstache glossier aesthetic man braid before they sold out kitsch prism. Cred copper mug freegan, flannel YOLO single-origin coffee skateboard artisan four loko church-key man bun. Synth literally gastropub, kombucha chillwave helvetica offal truffaut church-key freegan pop-up gentrify narwhal. Kombucha viral vexillologist green juice. Slow-carb hoodie mumblecore tumeric tattooed meditation, lo-fi fap cred affogato forage whatever austin. Shabby chic direct trade migas, brunch gochujang sriracha chambray fanny pack 8-bit mustache letterpress. Street art umami tattooed, glossier selfies 90's kale chips cred cardigan taxidermy seitan distillery migas.

View file

@ -1,7 +1,7 @@
---
title: "Startup Ipsum - Español"
date: 2017-11-06T12:04:06-05:00
tags: ['code','ipsum','words']
tags: ["code", "ipsum", "words"]
---
SpaceTeam affordances quantitative vs. qualitative SpaceTeam physical computing earned media thinker-maker-doer pair programming. Bootstrapping pitch deck physical computing driven cortado human-centered design innovate human-centered design driven. Grok pitch deck fund pitch deck sticky note affordances minimum viable product integrate paradigm viral iterate. Driven fund thought leader personas workflow SpaceTeam viral pair programming physical computing intuitive 360 campaign latte bootstrapping minimum viable product. Bootstrapping physical computing responsive pitch deck SpaceTeam parallax long shadow pitch deck bootstrapping ideate.

View file

@ -1,12 +1,9 @@
{{ define "title" }}
<h1 class="bold-title is-1">Tagged "{{ lower .Title }}"</h1>
<h1 class="bold-title is-1">{{ .Data.Singular | humanize }}: {{ lower .Title }}</h1>
{{ end }}
{{ define "main" }}
<div class="container">
<article>
{{ .Content }}
</article>
<ul>
{{ range .Pages.ByPublishDate.Reverse }}
<li>

View file

@ -1,12 +1,9 @@
{{ define "main" }}
<div class="container">
<article>
{{ .Content }}
</article>
<div class="section tags-list">
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
<a class="tag-cloud" href="{{"tags/" | absLangURL }}{{ $name | urlize }}">{{ lower $name }}&nbsp;({{ len $taxonomy }})</a>
{{ end }}
{{- range $key, $value:= .Data.Terms -}}
<a class="tag-cloud" href="{{ "/" | absLangURL }}{{ $.Data.Plural | urlize }}/{{ $key | urlize }}">{{ $key }}&nbsp;({{ $value.Count }})</a>
{{- end -}}
</div>
</div>
{{ end }}

View file

@ -42,6 +42,14 @@
{{ end }}
</div>
{{ end }}
{{ if .Params.tags }}
<p>
Tag{{ if gt (len .Params.tags) 1 }}s{{ end }}:
{{ range $index, $tag := .Params.tags }}
{{ if gt $index 0 }}, {{ end }}<a href="{{ "/tags/" | absLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
</p>
{{ end }}
</div>
<!-- Begin blog post content -->
<div class="container markdown top-pad">