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(); ...@@ -7,7 +7,7 @@ $num = $page->chapter_number()->value();
$padded = str_pad($num, 2, '0', STR_PAD_LEFT); $padded = str_pad($num, 2, '0', STR_PAD_LEFT);
$filterId = 'rough' . $num; $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-bg" data-parallax="0.3"></div>
<div class="chapter-hero-grain"></div> <div class="chapter-hero-grain"></div>
<div class="chapter-hero-content"> <div class="chapter-hero-content">
......
<?php <?php
/** /**
* Snippet: html-head * Snippet: html-head
* Params: * Params:
...@@ -8,19 +9,18 @@ ...@@ -8,19 +9,18 @@
*/ */
?> ?>
<!doctype html> <!doctype html>
<html lang="en"> <html lang="<?= $site->lang() ?>">
<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 ?>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php snippet('seo/head'); ?>
<?= css('assets/css/shared.css') ?> <?= snippet('cookieconsentCss') ?>
<?= css('@auto') ?> <?= snippet('favicon') ?>
<?php foreach ($extraCss ?? [] as $stylesheet): ?> <?= css('assets/css/shared.css?' . time()) ?>
<?= css($stylesheet) ?> <?= css('@auto') ?>
<?php endforeach ?> <?php foreach ($extraCss ?? [] as $stylesheet): ?>
<?= css($stylesheet) ?>
<?php endforeach ?>
</head> </head>
\ No newline at end of file
<?php <?php
/** /**
* Snippet: scripts * Snippet: scripts
* Includes shared JS. * 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