-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.hbs
executable file
·111 lines (102 loc) · 4.09 KB
/
index.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{{!< default}}
{{! The comment above "< default" means - insert everything in this file into
the {body} of the default.hbs template, which contains our header/footer. }}
{{! The big featured header on the homepage, with the site logo and description }}
<header class="site-head" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
<div class="vertical">
<!--<a class="blog-logo" href="{{@blog.url}}">-->
<!--{{#if @blog.logo}}í-->
<!--<img src="{{@blog.logo}}" alt="Blog Logo" />-->
<!--{{/if}}-->
<!--<h1 class="blog-title">{{@blog.title}}</h1>-->
<!--</a>-->
<!--<h2 class="blog-description">{{@blog.description}}</h2>-->
<div id="portada">
{{#get "posts" filter="tag:portada"}}
{{#foreach posts}}
<div class="portada">
{{content}}
</div>
{{/foreach}}
{{/get}}
</div>
</div>
</header>
{{! The main content area on the homepage }}
<main class="content" role="main">
<div id="flor">
{{#get "posts" filter="tag:flor"}}
{{#foreach posts}}
<article class="{{post_class}}">
<section class="post-excerpt">
<p>{{content}}</p>
</section>
</article>
{{/foreach}}
{{/get}}
</div>
<div class="" id="producciones">
<h2>Producciones</h2>
{{! Each post will be output using this markup }}
{{#get "posts" filter="tag:producciones"}}
{{#foreach posts}}
<article class="{{post_class}}">
<header class="post-header">
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
<!--<span class="post-meta"><time datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time> {{tags prefix="on "}}</span>-->
</header>
<section class="post-excerpt">
<img src="{{image}}" alt="Foto de {{title}}">
<p>{{excerpt}}…</p>
</section>
</article>
{{/foreach}}
{{/get}}
</div>
</div>
<div id="equipo">
<h2>Equipo</h2>
{{! Each post will be output using this markup }}
{{#get "posts" filter="tag:equipo"}}
{{#foreach posts}}
<article class="equipo-miembro">
<h3 class="equipo-nombre">{{{title}}}</h3>
<section class="equipo-detalles">
<div class="equipo-foto-marco">
<img src="{{image}}" alt="Foto de {{title}}">
</div>
{{content}}
</section>
</article>
{{/foreach}}
{{/get}}
<div style="clear: both;"></div>
</div>
{{! Forma de contacto }}
<div id="contacto">
{{#get "posts" filter="tag:contacto"}}
{{#foreach posts}}
<article class="{{post_class}}">
<section class="post-excerpt">
<p>{{content}}</p>
</section>
</article>
{{/foreach}}
{{/get}}
</div>
<div id="alianzas">
{{! Each post will be output using this markup }}
{{#get "posts" filter="tag:alianzas"}}
{{#foreach posts}}
<article class="{{post_class}}">
<header class="post-header">
<span class="tooltip">{{title}}</span>
<img src="{{image}}" alt="Foto de {{title}}">
</a>
</header>
</article>
{{/foreach}}
{{/get}}
<div style="clear: both;"></div>
</div>
</main>