Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • dev
2 results

header.php

Blame
  • header.php 3.43 KiB
    <!doctype html>
    <html lang="fr">
    	<head>
    		<meta charset="utf-8">
    		<title><?php echo page_title('Page non trouv&eacute;'); ?> - <?php echo site_name(); ?></title>
    
    		<meta name="description" content="<?php echo site_description(); ?>">
    
    		<link rel="stylesheet" href="<?php echo theme_url('/css/reset.css'); ?>">
    		<link rel="stylesheet" href="<?php echo theme_url('/css/style.css'); ?>">
    		<link rel="stylesheet" href="<?php echo theme_url('/css/small.css'); ?>" media="(max-width: 400px)">
    
    		<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo rss_url(); ?>">
    		<link rel="shortcut icon" href="<?php echo theme_url('img/favicon.png'); ?>">
    
    		<!--[if lt IE 9]>
    			<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    		<![endif]-->
    
    		<script>var base = '<?php echo theme_url(); ?>';</script>
    		<script src="<?php echo asset_url('/js/zepto.js'); ?>"></script>
    		<script src="<?php echo theme_url('/js/main.js'); ?>"></script>
    
    	    <meta name="viewport" content="width=device-width">
    	    <meta name="generator" content="Anchor CMS">
    
    	    <meta property="og:title" content="<?php echo site_name(); ?>">
    	    <meta property="og:type" content="website">
    	    <meta property="og:url" content="<?php echo e(current_url()); ?>">
    	    <meta property="og:image" content="<?php echo theme_url('img/og_image.gif'); ?>">
    	    <meta property="og:site_name" content="<?php echo site_name(); ?>">
    	    <meta property="og:description" content="<?php echo site_description(); ?>">
    
    		<?php if(customised()): ?>
    		    <!-- Custom CSS -->
        		<style><?php echo article_css(); ?></style>
    
        		<!--  Custom Javascript -->
        		<script><?php echo article_js(); ?></script>
    		<?php endif; ?>
    	</head>
    	<body class="<?php echo body_class(); ?>">
    		<div class="main-wrap">
    			<div class="slidey" id="tray">
    				<div class="wrap">
    					<form id="search" action="<?php echo search_url(); ?>" method="post">
    						<label for="term">Rechercher sur ce site:</label>
    						<input type="search" id="term" name="term" placeholder="Rechercher&hellip;" value="<?php echo search_term(); ?>">
    						<input type="hidden" id="whatSearch" name="whatSearch" value="all" />
    					</form>
    
    					<aside>
                            <?php if(total_categories() > 1): ?>
    						<b>Categories</b>
    						<ul>
    						<?php while(categories()):
    								if (category_count() > 0) { ?>
    							<li>
    								<a href="<?php echo category_url(); ?>" title="<?php echo category_description(); ?>">
    									<?php echo category_title(); ?> <span><?php echo category_count(); ?></span>
    								</a>
    							</li>
    						<?php } endwhile; ?>
    						</ul>
    						<?php endif; ?>
    					</aside>
    				</div>
    			</div>
    
    			<header id="top">
                    <a id="logo" Href="<?php echo base_url(); ?>"><img style="height:150px" src="<?php echo theme_url('img/logo.svg'); ?>" alt="<?php echo site_name(); ?>"><?php echo site_description(); ?></a>
    
    
    				<nav id="main" class="navigation">
    					<ul>
    						<?php if(has_menu_items()):
    							while(menu_items()): ?>
    						<li <?php echo (menu_active() ? 'class="active"' : ''); ?>>
    							<a href="<?php echo menu_url(); ?>" title="<?php echo menu_title(); ?>">
    								<?php echo menu_name(); ?>
    							</a>
    						</li>
    						<?php endwhile;
    							endif; ?>
    						<li class="tray">
    							<a href="#tray" class="linky"><img src="<?php echo theme_url('img/categories.png'); ?>" alt="Categories" title="Articles par cat&eacute;gories"></a>
    						</li>
    					</ul>
    				</nav>
    			</header>