This repository was archived by the owner on Jul 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathpage.php
More file actions
40 lines (39 loc) · 1.35 KB
/
page.php
File metadata and controls
40 lines (39 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<main>
<section class="section section-lg section-hero section-shaped">
<!-- Background circles -->
<?php printBackground(($this->fields->pic?$this->fields->pic:getRandomImage($this->options->randomImage)), $this->options->bubbleShow); ?>
<div class="container shape-container d-flex align-items-center py-lg">
<div class="col px-0 text-center">
<div class="row align-items-center justify-content-center">
<h1 class="text-white"><?php $this->title() ?></h1>
</div>
</div>
</div>
</section>
<section class="section section-components bg-secondary content-card-container">
<div class="container container-lg py-5 align-items-center content-card-container">
<div class="card shadow content-card content-card-head">
<!-- Page content -->
<section class="section">
<div class="container">
<div class="content">
<?php
$this->content();
?>
</div>
</div>
</section>
</div>
<!-- Comment -->
<?php if (!$this->hidden && $this->allow('comment')): ?>
<div class="card shadow content-card">
<?php $this->need('comments.php'); ?>
</div>
<?php endif; ?>
</div>
</section>
<?php $this->need('footer.php'); ?>