11---
22id : home
33lang : [gl, es]
4+ es :
5+ projects :
6+ title : Proyectos destacados
7+ gl :
8+ projects :
9+ title : Proxectos destacados
410 ---
511
6- <section class =" news-home" >
7- {{ for index, news of search .pages (` type=news lang=${ lang} ` , " date=desc" , 7 ) }}
12+ <section class =" projects-home ly-carousel" >
13+ <header class =" subheader" >
14+ <h2 class =" subheader-title" >{{ projects .title }}</h2 >
15+ </header >
816
9- {{ if index === 0 }}
10- {{ include " templates/news-grid.vto" { news, main: true } }}
11- {{ continue }}
12- {{ / if }}
13-
14- {{ if index === 1 }}<div class =" news-group is-first" >{{ / if }}
15- {{ if index === 4 }}</div ><div class =" news-group is-second" >{{ / if }}
17+ <ul class =" ly-carousel-items" >
18+ {{
19+ for project of search .pages (` type=project in_home=true lang=${ lang} ` , " year=desc title=asc" )
20+ }}
21+ <li >
22+ {{ include " templates/project-list.vto" { project } }}
23+ </li >
24+ {{ / for }}
25+ </ul >
26+ </section >
1627
28+ <section class =" news-home ly-grid" >
29+ {{
30+ for index, news of search .pages (` type=news lang=${ lang} ` , " date=desc" , 6 )
31+ }}
1732 {{ include " templates/news-grid.vto" { news } }}
18-
19- {{ if index === 6 }}</div >{{ / if }}
2033 {{ / for }}
2134
2235 <nav >
@@ -25,11 +38,3 @@ lang: [gl, es]
2538 <a class =" button-normal" href =" {{ page .url }}" >{{ t .home .more_news }}</a >
2639 </nav >
2740</section >
28-
29- {{# <section>
30- {{
31- for portfolio of search.pages(`type=portfolio lang=${lang}`, "date=desc", 10)
32- }}
33- {{ include "templates/portfolio-list.vto" { portfolio } }}
34- {{ /for }}
35- </section> #}}
0 commit comments