-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
42 lines (36 loc) · 1.58 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
{{!< default}}
{{!-- This loads cover image --}}
{{#if @site.cover_image }}
<script src="assets/js/background.inline.js" inline></script>
{{/if}}
<div class="flex flex-col lg:flex-row justify-center">
<div class="flex-1 py-10 text-center divide-y divide-gray-500 mr-4 md:max-w-xs">
<div>
<img data-src="{{@site.logo}}" alt="{{@site.title}}" class="rounded-full w-24 h-24 m-auto" />
<p class="text-3xl font-bold font-serif pt-2">{{@site.title}}</p>
<p class="text-gray-700 py-2">{{@site.description}}</p>
<div class="text-gray-700 inline social-links py-2">
{{#if @site.facebook}}
<a class="social-links-icon" href="{{facebook_url @site.facebook}}" title="Facebook" target="_blank"
rel="noopener">{{> "icons/facebook"}}</a>
{{/if}}
{{#if @site.twitter}}
<a class="social-links-icon" href="{{twitter_url @site.twitter}}" title="Twitter" target="_blank"
rel="noopener">{{> "icons/twitter"}}</a>
{{/if}}
</div>
</div>
<div class="divide-y divide-gray-500 hidden md:block" id="user-feeds">
{{> "feed" }}
</div>
</div>
<div class="divide-y divide-gray-500 divide-opacity-30 md:max-w-2xl md:ml-8">
{{#foreach posts}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{>"post-card" }}
{{/foreach}}
<div class="post">
{{ pagination }}
</div>
</div>
</div>