Commit a0b11aa3 authored by santiago duque's avatar santiago duque

added head and footer code for plugins, removed reveal for chapter hero

parent df496763
......@@ -7,7 +7,7 @@ $num = $page->chapter_number()->value();
$padded = str_pad($num, 2, '0', STR_PAD_LEFT);
$filterId = 'rough' . $num;
?>
<section class="chapter-hero reveal">
<section class="chapter-hero">
<div class="chapter-hero-bg" data-parallax="0.3"></div>
<div class="chapter-hero-grain"></div>
<div class="chapter-hero-content">
......
<?php
/**
* Snippet: html-head
* Params:
......@@ -8,19 +9,18 @@
*/
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?= html($pageTitle ?? $site->title()->value()) ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php if ($page->seo_description()->isNotEmpty()): ?>
<meta name="description" content="<?= $page->seo_description()->html() ?>">
<?php endif ?>
<html lang="<?= $site->lang() ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php snippet('seo/head'); ?>
<?= css('assets/css/shared.css') ?>
<?= css('@auto') ?>
<?php foreach ($extraCss ?? [] as $stylesheet): ?>
<?= css($stylesheet) ?>
<?php endforeach ?>
<?= snippet('cookieconsentCss') ?>
<?= snippet('favicon') ?>
<?= css('assets/css/shared.css?' . time()) ?>
<?= css('@auto') ?>
<?php foreach ($extraCss ?? [] as $stylesheet): ?>
<?= css($stylesheet) ?>
<?php endforeach ?>
</head>
\ No newline at end of file
<?php
/**
* Snippet: scripts
* Includes shared JS.
*/
?>
<?= js('assets/js/shared.js') ?>
<div id="cc-container" class="transition-fade"></div>
<?= snippet('cookieconsentJs') ?>
<?= js('assets/js/shared.js?' . time()) ?>
<?php snippet('seo/schemas'); ?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment