Skip to content

Instantly share code, notes, and snippets.

@kingcody
Forked from detrohutt/gist:7051206
Last active December 25, 2015 22:39
Show Gist options
  • Save kingcody/7051224 to your computer and use it in GitHub Desktop.
Save kingcody/7051224 to your computer and use it in GitHub Desktop.
extends layout
block content
.container
#accordion.panel-group
- for (var i = 0; i < serviceList.length; i++)
.panel.panel-default
.panel-heading
h4.panel-title
a.accordion-toggle(data-toggle='collapse', data-parent='#accordion', href='#'+serviceList[i].name)=serviceList[i].name
div(id=serviceList[i].name).panel-collapse.collapse.in
.panel-body=serviceList[i].description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment