Migrating from Jekyll, help with Taxonomies and specific content loops

Thanks for your help again, I feel as though I’m getting fairly close now but I’m still not getting anything rendering when I add that code.

I’ve assigned a respective recipetype: value to each of my recipes, added these values to my config.toml, assigned layout: recipes to my recipes\_index.md page and added your code above, but made tweaks based on this post.

	<ul>
	  {{ range first 3 .Site.Taxonomies.recipetype.meal }}
		  <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a>
		  </li>
	  {{ end }}
	</ul>

I still get no output however, when I use the full " Example: List All Taxonomies, Terms, and Assigned Content" code, I do get output, but none of my pages seem to be assigning their taxonomies correctly.

I haven’t pushed this latest code to github, but if you’d like me to, I’ll create a separate branch for it.

1 Like