-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathlayout.html.php
More file actions
106 lines (106 loc) · 6 KB
/
layout.html.php
File metadata and controls
106 lines (106 loc) · 6 KB
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
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
<!DOCTYPE html>
<html lang="<?php echo blog_language();?>">
<head>
<?php echo head_contents();?>
<?php echo $metatags;?>
<link rel="stylesheet" id="ct-ignite-google-fonts-css" href="<?php echo theme_path();?>css/fonts.css" type="text/css" media="all">
<link rel="stylesheet" id="font-awesome-css" href="<?php echo theme_path();?>css/font-awesome.css" type="text/css" media="all">
<link rel="stylesheet" id="style-css" href="<?php echo theme_path();?>css/style.css" type="text/css" media="all">
<script type="text/javascript" src="<?php echo theme_path();?>js/jquery.js"></script>
<script type="text/javascript" src="<?php echo theme_path();?>js/jquery-migrate.js"></script>
</head>
<body id="ignite" class="home blog">
<?php if (facebook()) { echo facebook(); } ?>
<?php if (login()) { toolbar(); } ?>
<!--skip to content link-->
<a class="skip-content" href="#main">Skip to content</a>
<header class="site-header" id="site-header" role="banner">
<div id="title-info" class="title-info">
<?php if (is_index()) {?>
<h1 class="site-title"><a href="<?php echo site_url();?>" title="<?php echo blog_title();?>"><?php echo blog_title();?></a></h1>
<?php } else { ?>
<h2 class="site-title"><a href="<?php echo site_url();?>" title="<?php echo blog_title();?>"><?php echo blog_title();?></a></h2>
<?php } ?>
</div>
<button id="toggle-navigation" class="toggle-navigation"><i class="fa fa-bars"></i></button>
<div class="menu-container menu-primary" id="menu-primary" role="navigation">
<p id="site-description"><?php echo blog_tagline();?></p>
<?php echo menu('menu-primary-items') ?>
<?php echo social('social-media-icons');?>
</div><!-- #menu-primary .menu-container -->
</header>
<div id="overflow-container" class="overflow-container">
<?php if (!empty($breadcrumb)): ?>
<div class="breadcrumb-trail breadcrumbs" id="breadcrumbs"><?php echo $breadcrumb ?></div>
<?php endif; ?>
<div id="main" class="main" role="main">
<div id="loop-container" class="loop-container">
<?php echo content();?>
</div>
</div> <!-- .main -->
<div id="sidebar-primary-container" class="sidebar-primary-container">
<div class="sidebar sidebar-primary" id="sidebar-primary" role="complementary">
<?php if (theme_config('ignite_search')):?>
<section id="search-3" class="widget widget_search">
<div class="search-form-container">
<form role="search">
<label class="screen-reader-text"><?php echo i18n("Search_for");?></label>
<input class="form-control" type="search" placeholder="<?php echo i18n("Search");?> ..." name="search">
</form>
</div>
</section>
<?php endif;?>
<?php if (theme_config('recent_posts')):?>
<section class="widget widget_recent_entries">
<h2 class="widget-title"><?php echo i18n("Recent_posts");?></h2>
<?php echo recent_posts() ?>
</section>
<?php endif;?>
<?php if (theme_config('popular_posts')):?>
<section class="widget widget_popular_entries">
<h2 class="widget-title"><?php echo i18n("Popular_posts");?></h2>
<?php echo popular_posts() ?>
</section>
<?php endif;?>
<?php if (disqus()): ?>
<section class="widget widget_comments">
<h2 class="widget-title"><?php echo i18n("Comments");?></h2>
<script src="//<?php echo config('disqus.shortname');?>.disqus.com/recent_comments_widget.js?num_items=5&hide_avatars=0&avatar_size=48&excerpt_length=200&hide_mods=0" type="text/javascript"></script><style>li.dsq-widget-item {padding-top:15px;} img.dsq-widget-avatar {margin-right:5px;}</style>
</section>
<?php endif;?>
<?php if (theme_config('archive')):?>
<section class="widget widget_archive">
<h2 class="widget-title"><?php echo i18n("Archives");?></h2>
<?php echo archive_list() ?>
</section>
<?php endif;?>
<?php if (theme_config('category_list')):?>
<section class="widget widget_tags">
<h2 class="widget-title"><?php echo i18n("Category");?></h2>
<style>.category-widget ul li a {display:inline}</style>
<div class="category-widget"><?php echo category_list();?></div>
</section>
<?php endif;?>
<?php if (theme_config('tagcloud')):?>
<section class="widget widget_tags">
<h2 class="widget-title">Tag Cloud</h2>
<style>.tag-cloud-link {text-decoration:none}</style>
<div class="category-widget"><?php echo tag_cloud();?></div>
</section>
<?php endif;?>
</div><!-- #sidebar-primary -->
</div>
</div> <!-- .overflow-container -->
<footer class="site-footer" role="contentinfo">
<h3><a href="<?php echo site_url();?>"><?php echo blog_title();?></a></h3>
<span><?php echo blog_description();?></span>
<div class="design-credit">
<div class="credit"><?php echo copyright();?></div>
<span>Design by <a href="https://www.competethemes.com" target="_blank" rel="nofollow">Compete Themes</a></span>
</div>
</footer>
<script type="text/javascript" src="<?php echo theme_path();?>js/production.js" async="async"></script>
<?php if (analytics()): ?><?php echo analytics() ?><?php endif; ?>
</body>
</html>