Organizing Hugo Website with Taxonomies

preview_player
Показать описание
Categories, tags, series, groups, etc. Numerous ways to organize your Hugo website posts.

GeekLaunch produces educational videos covering such topics as Linux, web development (including HTML5, CSS 3, JavaScript, and PHP), Java programming, tips for power users, among many others. Subscribe: New video every Wednesday!

Not a geek? Start today!
Рекомендации по теме
Комментарии
Автор

Thank you, man! Very helpful tutorial "without water" (nothing extra, without many words)

IlfarKhuzin
Автор

Thanks, but i don't understand. Why you not show your code for the listing tags and categories in the sidebar?

SergiuBurduja-yl
Автор

I find the reason of my problem.

I must to use the categories, not the drinks. Because the drinks is the post type.

SergiuBurduja-yl
Автор

I can't understand, how to show the list of the taxonomy terms on the home page.
I create the taxonomy drinks.

After i create the posts drinks,

And after i write this code in the home page.

<ul>
{{ range .Site.Taxonomies.drinks }}
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> {{ .Count }}</li>
{{ end }}
</ul>

And why is not displayed term list?

Thanks.

SergiuBurduja-yl
Автор

Why was "How to" change to "how-to" after the site was re-generated?

jasdnbsad
Автор


Out of curiosity: are you thinking about updating this video to reflect the new archetypes when you create your new post (i.e., they no longer sort fm fields in a really annoying way...)....

RyanWattersRyanWatters
welcome to shbcf.ru