-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
44 lines (37 loc) · 1.34 KB
/
main.html
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
{if $wa->currentUrl() == $wa_app_url && (empty($page.id) && empty($page.content))}
<div class="welcome">
<h1>[`Welcome to your new site!`]</h1>
<p>{sprintf('[`Start by <a href="%s">creating a page</a> in your site backend.`]', $wa_backend_url|cat:'site/#/pages/')}</p>
</div>
{else}
<article class="content with-sidebar" itemscope itemtype="http://schema.org/WebPage">
{$content} {* see page.html *}
</article>
{if !empty($action) && $action == 'page'}
<div class="content">
<!-- FOLLOW -->
<aside class="connect inline">
{if !empty($theme_settings.facebook_likebox_code)}
<div class="likebox">
{$theme_settings.facebook_likebox_code}
</div>
{/if}
{if !empty($theme_settings.twitter_timeline_code)}
<div class="likebox">
{$theme_settings.twitter_timeline_code}
</div>
{/if}
{if !empty($theme_settings.vk_widget_code)}
<div class="likebox">
{$theme_settings.vk_widget_code}
</div>
{/if}
{*
<div class="likebox">
your custom social widget
</div>
*}
</aside>
</div>
{/if}
{/if}