Skip to content
Snippets Groups Projects
Select Git revision
  • 048af1f6fdccc4c7b01f4e06fae4406a3e1a30ee
  • mui5-annotation-on-video-stable default
  • get_setter_canvasSizeInformations
  • fix-error-div-into-p
  • annotation-on-video-v2
  • detached
  • annotation-on-video-r17
  • mui5
  • mui5-react-18
  • jacob-test
  • annotation-on-video protected
  • master
  • test-antoinev1
  • 20-fetch-thumbnail-on-annotation
  • add-research-field
  • Save
  • add-plugin
  • 14-wip-no-seek-to
  • 14-bug-on-video-time-control
  • 9_wip_videotests
  • _upgrade_material_ui
  • latest-tetras-16
  • v3.3.0
  • v3.2.0
  • v3.1.1
  • v3.1.0
  • v3.0.0
  • v3.0.0-rc.7
  • v3.0.0-rc.6
  • v3.0.0-rc.5
  • v3.0.0-rc.4
  • v3.0.0-rc.3
  • v3.0.0-rc.2
  • v3.0.0-rc.1
  • v3.0.0-beta.10
  • v3.0.0-beta.9
  • v3.0.0-beta.8
  • v3.0.0-beta.7
  • v3.0.0-beta.6
  • v3.0.0-beta.5
  • v3.0.0-beta.3
41 results

jest-puppeteer.config.js

Blame
  • posts.php 1.42 KiB
    <?php theme_include('header'); ?>
    
    <section class="content">
    
    	<?php if(has_posts()): ?>
    		<ul class="items">
    			<?php posts(); ?>
    			<li>
    				<article class="wrap">
    					<h1>
    						<a href="<?php echo article_url(); ?>" title="<?php echo article_title(); ?>"><?php echo article_title(); ?></a>
    					</h1>
    
    					<div class="content">
    						<?php echo article_html(); ?>
    					</div>
    
    					<footer>
    						Posted <time datetime="<?php echo date(DATE_W3C, article_time()); ?>"><?php echo relative_time(article_time()); ?></time> by <?php echo article_author('real_name'); ?>.
    					</footer>
    				</article>
    			</li>
    			<?php $i = 0; while(posts()): ?>
    			<?php $bg = sprintf('background: hsl(215, 28%%, %d%%);', round(((++$i / posts_per_page()) * 20) + 20)); ?>
    			<li style="<?php echo $bg; ?>">
    				<article class="wrap">
    					<h2>
    						<a href="<?php echo article_url(); ?>" title="<?php echo article_title(); ?>"><?php echo article_title(); ?></a>
    					</h2>
    				</article>
    			</li>
    			<?php endwhile; ?>
    		</ul>
    
    		<?php if(has_pagination()): ?>
    		<nav class="pagination">
    			<div class="wrap">
    				<div class="previous">
    					<?php echo posts_prev(); ?>
    				</div>
    				<div class="next">
    					<?php echo posts_next(); ?>
    				</div>
    			</div>
    		</nav>
    		<?php endif; ?>
    
    	<?php else: ?>
    		<div class="wrap">
    			<h1>Pas d'articles pour le moment</h1>
    			<p>Blog en préparation</p>
    		</div>
    	<?php endif; ?>
    
    </section>
    
    <?php theme_include('footer'); ?>