blob: 52cbfa196010f6dc2e209810f7c0a5db87c51989 (
plain)
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
|
<!-- Footer -->
{{ $data := index .Site.Data .Site.Language.Lang }}
<footer id="footer">
{{ with $data.contactinfo.contactformaction }}
<section>
<form method="post" action="{{ . }}">
<div class="field">
<label for="name">{{ i18n "CONTACT_FORM_FIELD_NAME" . }}</label>
<input type="text" name="name" id="name" />
</div>
<div class="field">
<label for="email">{{ i18n "CONTACT_FORM_FIELD_EMAIL" . }}</label>
<input type="text" name="email" id="email" />
</div>
<div class="field">
<label for="message">{{ i18n "CONTACT_FORM_FIELD_MESSAGE" . }}</label>
<textarea name="message" id="message" rows="3"></textarea>
</div>
<ul class="actions">
<li><input type="submit" value='{{ i18n "CONTACT_FORM_SUBMIT_SEND_MESSAGE" . }}' /></li>
</ul>
</form>
</section>
{{ end }}
<section class="split contact">
{{ with $data.contactinfo.address }}
<section class="alt">
<h3>{{ i18n "CONTACT_ADDRESS" . }}</h3>
<p>
{{ range $i, $e := . }}
{{ if $i }} <br/> {{ end }} {{ .line }}
{{ end }}
</p>
</section>
{{ end }}
{{ with $data.contactinfo.phone }}
<section>
<h3>{{ i18n "CONTACT_PHONE" . }}</h3>
<p><a href="tel:{{ . }}">{{ . }}</a></p>
</section>
{{ end }}
{{ with $data.contactinfo.email }}
<section>
<h3>{{ i18n "CONTACT_EMAIL" . }}</h3>
<p><a href="mailto:{{ . }}">{{ . }}</a></p>
</section>
{{ end }}
{{ with $data.social }}
<section>
<h3>{{ i18n "CONTACT_SOCIAL" . }}</h3>
<ul class="icons alt">
{{ with .twitter}}
<li><a href="{{ . }}" class="icon alt fa-twitter"><span class="label">Twitter</span></a></li>
{{ end }}
{{ with .facebook}}
<li><a href="{{ . }}" class="icon alt fa-facebook"><span class="label">Facebook</span></a></li>
{{ end }}
{{ with .instagram}}
<li><a href="{{ . }}" class="icon alt fa-instagram"><span class="label">Instagram</span></a></li>
{{ end }}
{{ with .linkedin}}
<li><a href="{{ . }}" class="icon alt fa-linkedin"><span class="label">LinkedIn</span></a></li>
{{ end }}
{{ with .github}}
<li><a href="{{ . }}" class="icon alt fa-github"><span class="label">GitHub</span></a></li>
{{ end }}
{{ with .youtube}}
<li><a href="{{ . }}" class="icon alt fa-youtube"><span class="label">Youtube</span></a></li>
{{ end }}
{{ with .googleplus}}
<li><a href="{{ . }}" class="icon alt fa-google-plus"><span class="label">Google Plus</span></a></li>
{{ end }}
{{ with .lastfm}}
<li><a href="{{ . }}" class="icon alt fa-lastfm"><span class="label">Last.fm</span></a></li>
{{ end }}
{{ with .flickr}}
<li><a href="{{ . }}" class="icon alt fa-flickr"><span class="label">Flickr</span></a></li>
{{ end }}
</ul>
</section>
{{ end }}
</section>
</footer>
|