This commit is contained in:
Ty Clifford
2026-07-03 07:31:09 -04:00
commit cebb0d3af1
800 changed files with 89782 additions and 0 deletions
+159
View File
@@ -0,0 +1,159 @@
/* COMMON */
a {
color: #495057;
text-decoration: none;
}
a:hover {
color: #0a58ca;
}
img {
max-width: 100%;
}
pre, code {
color: #f8f8f8;
background-color: #495057;
}
code {
display: inline;
padding: 0.2em 0.4em;
line-height: 1.4;
border-radius: 3px;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
pre {
overflow-x: auto;
padding: 1.6rem 2.2rem;
line-height: 1.5;
border-radius: 5px !important;
}
/* BOOTSTRAP */
.list-group-item {
background-color: inherit;
}
.badge {
font-size: 0.875rem;
font-weight: 400;
}
.bi {
margin-right: .5rem!important;
}
.btn:focus,
.form-control:focus,
.form-select:focus {
outline: none !important;
box-shadow: none !important;
}
/* PAGE */
section.page {
font-size: 1.1rem;
}
section.page .page-description {
font-style: italic;
}
section.page a {
color: #0a58ca;
}
section.page p {
margin-bottom: 1.2rem;
}
section.page h1.page-title {
font-size: 2rem;
}
section.page h2 {
font-size: 1.5rem;
}
section.page h3 {
font-size: 1.3rem;
}
section.page h4 {
font-size: 1.1rem;
}
section.page h5 {
font-size: 1rem;
}
section.page h2,
section.page h3,
section.page h4,
section.page h5 {
margin: 2rem 0 1rem 0;
}
/* NAV LINKS */
.nav-links {
list-style: none;
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.25rem;
margin: 0;
padding: 0;
}
.nav-links a {
color: #495057;
}
.nav-links a:hover {
color: #0a58ca;
}
/* HOME */
.site-title {
font-size: clamp(1.8rem, 2.5vw, 2.6rem);
}
.list-group-item h5 {
font-size: 1.15rem;
}
/* FOOTER */
.footer-links {
list-style: none;
margin: 0;
padding: 0;
}
@media (max-width: 575.98px) {
section.page {
font-size: 1rem;
}
section.page h1.page-title {
font-size: 1.75rem;
}
}
/* VIDEO EMBED RESPONSIVE */
.video-embed {
overflow:hidden;
padding-bottom: 56.25%; /* 16:9 */
position:relative;
height:0;
}
.video-embed iframe{
left:0;
top:0;
height:100%;
width:100%;
position:absolute;
}
+20
View File
@@ -0,0 +1,20 @@
/* HELPERs */
.color-blue {
color: #0a58ca;
}
.color-light {
color: #495057;
}
.bold {
font-weight: 600;
}
.italic {
font-style: italic;
}
.bg-gray {
background-color: #ececec;
}
+50
View File
@@ -0,0 +1,50 @@
body {
background-color: #1C1C1E !important;
color: #b3b3b3 !important;
}
a {
color: #b3b3b3 !important;
}
a:hover {
color: #e2e2e2 !important
}
a.badge:hover {
color: #999 !important;
}
.form-text {
color: #989899 !important;
}
.bg-light {
background-color: #000 !important;
}
.color-blue {
color: #688bbd !important;
}
.btn-outline-primary {
color: #688bbd !important;
border-color: #688bbd !important;
}
.btn-outline-primary:hover {
background-color: #1C1C1E !important;
color: #fff !important;
}
.page-link {
color: #688bbd !important;
border-color: #688bbd !important;
background-color: #1C1C1E !important;
}
.form-control {
background-color: #1C1C1E !important;
border-color: #302F33 !important;
color: #b3b3b3 !important;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

+87
View File
@@ -0,0 +1,87 @@
<!DOCTYPE html>
<html lang="<?php echo Theme::lang() ?>">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="Bludit">
<!-- Generate <title>...</title> -->
<?php echo Theme::metaTagTitle(); ?>
<!-- Generate <meta name="description" content="..."> -->
<?php echo Theme::metaTagDescription(); ?>
<!-- Generate <link rel="icon" href="..."> -->
<?php echo Theme::favicon('img/favicon.png'); ?>
<!-- Include CSS Bootstrap file from Bludit Core -->
<?php echo Theme::cssBootstrap(); ?>
<!-- Include CSS Bootstrap ICONS file from Bludit Core -->
<?php echo Theme::cssBootstrapIcons(); ?>
<!-- Include CSS Styles -->
<?php
echo Theme::css(array(
'css/01-style.css',
'css/02-helpers.css'
));
# Apply the following CSS only for Dark Mode
if ($themePlugin->darkMode()) {
echo Theme::css(
'css/99-darkmode.css'
);
}
?>
<?php if ($themePlugin->googleFonts()) : ?>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap">
<style>
body {
font-family: "Open Sans", sans-serif;
}
</style>
<?php endif; ?>
<!-- Execute Bludit plugins for the hook "Site head" -->
<?php Theme::plugins('siteHead'); ?>
</head>
<body>
<!-- Execute Bludit plugins for the hook "Site body begin" -->
<?php Theme::plugins('siteBodyBegin'); ?>
<!-- Navbar -->
<?php include(THEME_DIR_PHP . 'navbar.php'); ?>
<!-- Content -->
<?php
// $WHERE_AM_I variable provides where the user is browsing
// If the user is watching a particular page the variable takes the value "page"
// If the user is watching the frontpage the variable takes the value "home"
// If the user is watching a particular category the variable takes the value "category"
if ($WHERE_AM_I == 'page') {
include(THEME_DIR_PHP . 'page.php');
} else {
include(THEME_DIR_PHP . 'home.php');
}
?>
<!-- Footer -->
<?php include(THEME_DIR_PHP . 'footer.php'); ?>
<!-- Include Jquery file from Bludit Core -->
<?php echo Theme::jquery(); ?>
<!-- Include javascript Bootstrap file from Bludit Core -->
<?php echo Theme::jsBootstrap(); ?>
<!-- Execute Bludit plugins for the hook "Site body end" -->
<?php Theme::plugins('siteBodyEnd'); ?>
</body>
</html>
+5
View File
@@ -0,0 +1,5 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
if ($themePlugin == false) {
exit("To ensure proper functionality, the theme requires the Popeye plugin. Activate the plugin through the admin panel.");
}
+10
View File
@@ -0,0 +1,10 @@
{
"theme-data":
{
"name": "Popeye",
"description": ""
},
"related-pages": "Verwandte Seiten",
"minutes": "Minuten",
"read": "Lesezeit"
}
+10
View File
@@ -0,0 +1,10 @@
{
"theme-data":
{
"name": "Popeye",
"description": ""
},
"related-pages": "Verwandte Seiten",
"minutes": "Minuten",
"read": "Lesezeit"
}
+10
View File
@@ -0,0 +1,10 @@
{
"theme-data":
{
"name": "Popeye",
"description": ""
},
"related-pages": "Verwandte Seiten",
"minutes": "Minuten",
"read": "Lesezeit"
}
+10
View File
@@ -0,0 +1,10 @@
{
"theme-data":
{
"name": "Popeye",
"description": ""
},
"related-pages": "Related pages",
"minutes": "minutes",
"read": "read"
}
+10
View File
@@ -0,0 +1,10 @@
{
"theme-data":
{
"name": "Popeye",
"description": ""
},
"related-pages": "関連ページ",
"minutes": "分",
"read": "で読めます"
}
+11
View File
@@ -0,0 +1,11 @@
{
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.22.0",
"releaseDate": "2026-05-10",
"license": "MIT",
"compatible": "3.22",
"notes": "",
"plugin": "popeye"
}
+13
View File
@@ -0,0 +1,13 @@
<footer class="footer p-3 p-md-5 mt-5 text-center">
<div class="container">
<ul class="footer-links pl-0 mb-1">
<?php foreach (Theme::socialNetworks() as $key => $name) {
echo '<li class="d-inline-block pr-4"><a class="color-blue" href="' . $site->{$key}() . '">' . $name . '</a></li>';
}
?>
</ul>
<?php if (!defined('BLUDIT_PRO')): ?>
<p class="m-0 mt-2">Powered by <a class="color-blue" href="https://www.bludit.com">Bludit</a> - Open source CMS</p>
<?php endif; ?>
</div>
</footer>
+155
View File
@@ -0,0 +1,155 @@
<header class="p-3">
<div class="container text-center">
<!-- Site logo -->
<div class="site-logo">
<img class="img-thumbnail rounded-circle mx-auto d-block" height="140px" width="140px" src="<?php echo ($site->logo() ? $site->logo() : HTML_PATH_THEME_IMG . 'popeye.png') ?>" alt="<?php echo $site->title(); ?>">
</div>
<!-- End Site logo -->
<!-- Site title -->
<h1 class="site-title mt-3 mb-1 bold"><?php echo $site->title(); ?></h1>
<!-- End Site title -->
<!-- Site description -->
<?php if ($site->description()) : ?>
<div class="site-description mt-2">
<p><?php echo $site->description(); ?></p>
</div>
<?php endif ?>
<!-- End Site description -->
</div>
</header>
<!-- Print all the content -->
<section class="mt-4 mb-4">
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto">
<!-- Search input -->
<?php if (pluginActivated('pluginSearch')) : ?>
<form class="d-flex mb-4">
<label class="sr-only visually-hidden" for="search-input"><?php echo $L->g('Search'); ?></label>
<input id="search-input" class="form-control mr-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-primary" type="button" onClick="searchNow()">Search</button>
</form>
<script>
function searchNow() {
var searchURL = "<?php echo Theme::siteUrl(); ?>search/";
window.open(searchURL + document.getElementById("search-input").value, "_self");
}
document.getElementById("search-input").onkeypress = function(e) {
if (!e) e = window.event;
var keyCode = e.keyCode || e.which;
if (keyCode == '13') {
searchNow();
return false;
}
}
</script>
<?php endif ?>
<!-- End Search input -->
<!-- Content not available -->
<?php if (empty($content)) : ?>
<div class="text-center p-4">
<h3><?php $language->p('No pages found') ?></h3>
</div>
<?php endif ?>
<!-- End Content not available -->
<!-- Pages -->
<div class="list-group list-group-flush">
<?php foreach ($content as $pageTmp) : ?>
<div class="list-group-item pt-4 pb-4" aria-current="true">
<div class="d-flex w-100 justify-content-between">
<!-- Page title -->
<a href="<?php echo $pageTmp->permalink() ?>">
<h5 class="mb-1"><?php echo $pageTmp->title() ?></h5>
</a>
<!-- End Page title -->
<!-- Page date -->
<!-- This block is not visible on small devices -->
<div class="d-none d-sm-block">
<?php if ($themePlugin->dateFormat() == 'relative') : ?>
<small class="color-blue"><?php echo $pageTmp->relativeTime() ?></small>
<?php else : ?>
<small class="color-blue"><?php echo $pageTmp->date() ?></small>
<?php endif ?>
</div>
<!-- End Page date -->
</div>
<!-- Page date -->
<!-- This block is only visible on small devices -->
<div class="d-block d-sm-none">
<?php if ($themePlugin->dateFormat() == 'relative') : ?>
<small class="color-blue"><?php echo $pageTmp->relativeTime() ?></small>
<?php else : ?>
<small class="color-blue"><?php echo $pageTmp->date() ?></small>
<?php endif ?>
</div>
<!-- End Page date -->
<!-- Page description -->
<?php if ($pageTmp->description()) : ?>
<p class="mb-1 form-text"><?php echo $pageTmp->description(); ?></p>
<?php endif ?>
<!-- End Page description -->
<!-- Page tags -->
<?php
if ($themePlugin->showTags()) {
$tagsList = $pageTmp->tags(true);
if (!empty($tagsList)) {
echo '<small>';
foreach ($tagsList as $tagKey => $tagName) {
echo '<a class="badge bg-gray text-dark text-decoration-none mr-2" href="' . DOMAIN_TAGS . $tagKey . '">' . $tagName . '</a>';
}
echo '</small>';
}
}
?>
<!-- End Page tags -->
</div>
<?php endforeach ?>
</div>
<!-- End Pages -->
<!-- Pagination -->
<?php if (Paginator::numberOfPages() > 1) : ?>
<nav class="mt-4">
<ul class="pagination pagination-sm">
<!-- Older pages -->
<?php if (Paginator::showNext()) : ?>
<li class="page-item">
<a class="page-link" href="<?php echo htmlspecialchars(Paginator::nextPageUrl(), ENT_QUOTES, 'UTF-8') ?>">&#9664; <?php echo $L->get('Previous'); ?></a>
</li>
<?php endif; ?>
<!-- End Older pages -->
<!-- Newer pages -->
<?php if (Paginator::showPrev()) : ?>
<li class="page-item ml-auto">
<a class="page-link" href="<?php echo htmlspecialchars(Paginator::previousPageUrl(), ENT_QUOTES, 'UTF-8') ?>" tabindex="-1"><?php echo $L->get('Next'); ?> &#9658;</a>
</li>
<?php endif; ?>
<!-- End Newer pages -->
</ul>
</nav>
<?php endif ?>
<!-- End Pagination -->
</div>
</div>
</div>
</section>
<!-- End Print all the content -->
+15
View File
@@ -0,0 +1,15 @@
<nav class="navbar navbar-light bg-light sticky-top">
<div class="container">
<a class="navbar-brand bold" href="<?php echo $site->url() ?>"><?php echo $site->title() ?></a>
<ul class="nav-links ml-auto mb-0">
<!-- Blog link (when homepage is set to a static page) -->
<?php if ($site->homepage()): ?>
<li><a href="<?php echo DOMAIN_BASE . ltrim($url->filters('blog'), '/') ?>"><?php echo $L->get('Blog') ?></a></li>
<?php endif; ?>
<!-- Static pages -->
<?php foreach ($staticContent as $tmp) : ?>
<li><a href="<?php echo $tmp->permalink(); ?>"><?php echo $tmp->title(); ?></a></li>
<?php endforeach ?>
</ul>
</div>
</nav>
+78
View File
@@ -0,0 +1,78 @@
<section class="page mt-4 mb-4">
<div class="container">
<div class="row">
<div class="col-lg-6 mx-auto">
<!-- Load Bludit Plugins: Page Begin -->
<?php Theme::plugins('pageBegin'); ?>
<?php if (!$page->isStatic() && !$url->notFound()) : ?>
<div class="form-text mb-2">
<!-- Page creation time -->
<span class="pr-3"><i class="bi bi-calendar"></i><?php echo $page->date() ?></span>
<!-- Page reading time -->
<span class="pr-3"><i class="bi bi-clock"></i><?php echo $page->readingTime() . ' ' . $L->get('minutes') . ' ' . $L->g('read') ?></span>
<!-- Page author -->
<span><i class="bi bi-person"></i><?php echo $page->user('nickname') ?></span>
</div>
<?php endif ?>
<!-- Page title -->
<h1 class="page-title bold"><?php echo $page->title(); ?></h1>
<!-- Page description -->
<?php if ($page->description()) : ?>
<p class="page-description italic mt-1 color-light"><?php echo $page->description(); ?></p>
<?php endif ?>
<!-- Page content -->
<div class="page-content mt-3">
<?php echo $page->content(); ?>
</div>
<!-- Load Bludit Plugins: Page End -->
<?php Theme::plugins('pageEnd'); ?>
</div>
</div>
</div>
</section>
<!-- Related pages -->
<?php
$relatedPages = $page->related(true, 3);
?>
<?php if (!empty($relatedPages)) : ?>
<section class="related mt-4 mb-4">
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto p-4 bg-light">
<h4><?php $L->p('Related pages') ?></h4>
<div class="list-group list-group-flush">
<?php foreach ($relatedPages as $pageKey) : ?>
<?php $tmp = new Page($pageKey); ?>
<div class="list-group-item pt-4 pb-4" aria-current="true">
<div class="d-flex w-100 justify-content-between">
<!-- Related page title -->
<a href="<?php echo $tmp->permalink() ?>">
<h5 class="mb-1"><?php echo $tmp->title() ?></h5>
</a>
<!-- Related page date -->
<small class="color-blue"><?php echo $tmp->relativeTime() ?></small>
</div>
<!-- Related page description -->
<?php if ($tmp->description()) : ?>
<p class="mb-1 form-text"><?php echo $tmp->description(); ?></p>
<?php endif ?>
</div>
<?php endforeach ?>
</div>
</div>
</div>
</div>
</section>
<?php endif; ?>