Skip to content

Instantly share code, notes, and snippets.

@byverdu
Last active September 1, 2015 23:50
Show Gist options
  • Save byverdu/fb2a2f21b383ec49f5a1 to your computer and use it in GitHub Desktop.
Save byverdu/fb2a2f21b383ec49f5a1 to your computer and use it in GitHub Desktop.
- var pictures = [{src:'{{firstUrl}}',caption: "{{first}}" }, {src:'{{secondUrl}}',caption: '{{second}}'},
{src:'{{thirdUrl}}',caption: '{{third}}'}, {src:'{{fourthUrl}}',caption: '{{fourth}}'}]
//- Slick Slider
script(id="slickTemp", type="text/html")
.slider
each val in pictures
figure
img(src=val.src, alt=val.caption)
figcaption= val.caption
//- Responive nav tenplate
script(id="navbarTemp", type="text/html")
header.wrapper.clearfix
a(href="index.html")
h1.title Título
nav
button.nav-button Toggle Navigation
ul.primary-nav
li: a(href="service.html") {{serv}}
li: a(href="activity.html") {{act}}
li: a(href="contact.html") {{cont}}
li: select(onchange="location = this.options[this.selectedIndex].value;", class="toggleLang")
option Idioma
option(value="{{path}}") {{lang}}
//- Demás partes comunes ....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment