This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | title: Contact | |
| preset: page | |
| icon: 📮 | |
| status: | |
| draft: Draft | |
| listed: Published | |
| fields: | |
| to: | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| return function($site, $pages, $page) { | |
| $alert = null; | |
| $messages = null; | |
| if(r::is('post') && get('submit')) { | |
| if(!empty(get('subject'))) { | |
| // lets tell the bot that everything is ok | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | title: Contact | |
| pages: false | |
| fields: | |
| title: | |
| label: Page | |
| type: text | |
| width: 1/4 | |
| subtitle: | |
| label: Title | |
| type: text | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php snippet('header') ?> | |
| <?php if($count > 0): ?> | |
| <main id="cart" class="main cf" role="main"> | |
| <?php if(param('checkout') == 'cheque'): ?> | |
| <!-- Formulaire --> | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width,initial-scale=1.0"> | |
| <title><?php echo $site->title()->html() ?> | <?php echo $page->title()->html() ?></title> | |
| <meta name="description" content="<?php echo $site->description()->html() ?>"> | |
| <meta name="keywords" content="<?php echo $site->keywords()->html() ?>"> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <meta name="description" content="<?php echo $page->description()->or($site->description()) ?>"> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function getEventTarget(e) { | |
| e = e || window.event; | |
| return e.target || e.srcElement; | |
| } | |
| function removeClass (argument) { | |
| for (var i = argument.length - 1; i >= 0; i--) { | |
| argument[i].className = "" | |
| } | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | git submodule add https://github.com/getkirby/kirby.git | |
| git submodule add https://github.com/getkirby/panel.git | |
| git submodule update --init --recursive | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| $blogs = $pages->findByUID('blog1', 'blog2'); | |
| $articles = $blogs->children()->sortBy('date', 'desc'); | |
| // if you want you can add a limit or pagination to that set of articles | |
| // afterwards just use a regular foreach loop to go through them all. | |
| ?> | 
NewerOlder