Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re-kirby
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
santiago duque
re-kirby
Commits
a0b11aa3
Commit
a0b11aa3
authored
May 04, 2026
by
santiago duque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added head and footer code for plugins, removed reveal for chapter hero
parent
df496763
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
16 deletions
+20
-16
hero.php
www/site/snippets/chapter/hero.php
+1
-1
html-head.php
www/site/snippets/html-head.php
+14
-14
scripts.php
www/site/snippets/scripts.php
+5
-1
No files found.
www/site/snippets/chapter/hero.php
View file @
a0b11aa3
...
@@ -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"
>
...
...
www/site/snippets/html-head.php
View file @
a0b11aa3
<?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
)
:
?>
</head>
<?=
css
(
$stylesheet
)
?>
<?php
endforeach
?>
</head>
\ No newline at end of file
www/site/snippets/scripts.php
View file @
a0b11aa3
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment