Skip to content

Instantly share code, notes, and snippets.

@frankspin89
Created September 12, 2019 09:16
Show Gist options
  • Save frankspin89/927c22c567c151ee18766bd9fdc0d08b to your computer and use it in GitHub Desktop.
Save frankspin89/927c22c567c151ee18766bd9fdc0d08b to your computer and use it in GitHub Desktop.
{{ range $index, $element := first 5 .Site.Menus.functions }}
<a href="{{.URL}}" class="block leading-tight text-white mb-4 xl:mb-6 hover:text-blue-500">
{{.Name}}
</a>
{{ end }}
</div>
<div class="md:w-1/2 lg:w-full xl:w-1/2 xl:px-2">
{{ range $index, $element := first 5 (after 5 .Site.Menus.functions ) }}
<a href="{{.URL}}" class="block leading-tight text-white mb-4 xl:mb-6 hover:text-blue-500">
{{.Name}}
</a>
{{ end }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment