Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Dec 9, 2024
1 parent 3a97091 commit 14308b6
Show file tree
Hide file tree
Showing 8 changed files with 2,580 additions and 2,787 deletions.
20 changes: 18 additions & 2 deletions about.page
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,23 @@ images:
- /lot/y/clean-blog/index/1.png
link: 'https://github.com/BlackrockDigital/startbootstrap-clean-blog'
author: Taufik Nurrohman
version: 2.0.0
version: 2.0.1
...

A stylish, responsive blog theme for Bootstrap created by [Start Bootstrap](https://startbootstrap.com).
A stylish, responsive blog theme for Bootstrap created by [Start Bootstrap](https://startbootstrap.com).

### Usage

Typical page data structure for this layout:

~~~ .yaml
---
title: Post Title
description: Post description.
author: Post Author
type: Markdown
cover: /image/2024/cover.jpg
...

Post content.
~~~
6 changes: 3 additions & 3 deletions enter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta content="width=device-width,initial-scale=1,shrink-to-fit=no" name="viewport">
<?php if ($w = w($page->description ?? $site->description)): ?>
<meta content="<?= $w; ?>" name="description">
<?php if ($v = w($page->description ?? $site->description)): ?>
<meta content="<?= $v; ?>" name="description">
<?php endif; ?>
<?php if ('archive' === $page->x): ?>
<!-- Prevent search engines from indexing pages with `archive` state -->
Expand All @@ -14,7 +14,7 @@
<title>
<?= w($t->reverse->join(' - ')); ?>
</title>
<link href="<?= eat($url); ?>/favicon.ico" rel="icon">
<link href="<?= eat($url . '/favicon.ico'); ?>" rel="icon">
<link href="<?= eat($url->current(false, false)); ?>" rel="canonical">
<!-- Font Awesome Icons (free version) -->
<script src="https://use.fontawesome.com/releases/v6.1.0/js/all.js" crossorigin="anonymous"></script>
Expand Down
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</li>
</ul>
<div class="small text-center text-muted fst-italic">
&#x00A9; <a href="<?= eat($url); ?>">
&#x00a9; <a href="<?= eat($url); ?>">
<?= $site->title; ?>
</a> <?= $date->year; ?> &#x00B7; <?= i('Powered by %s', ['<a href="https://mecha-cms.com">Mecha ' . VERSION . '</a>']); ?>
</div>
Expand Down
Loading

0 comments on commit 14308b6

Please sign in to comment.