Skip to content
Snippets Groups Projects
Select Git revision
  • 9ab944992ed00216ab0f64d8f3c9fa5a75e58094
  • master default protected
  • dev
3 results

header.php

Blame
  • header.php 4.67 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="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    		<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>
    		<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></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>