Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed May 5, 2023
1 parent 6bca5ac commit 9a85258
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# y.bootstrap.album
Simple layout for photo galleries, portfolios, and more built with Bootstrap.
Bootstrap Album Layout for [Mecha](https://github.com/mecha-cms/mecha)
======================================================================

![Code Size](https://img.shields.io/github/languages/code-size/mecha-cms/y.bootstrap.album?color=%23444&style=for-the-badge)

![Bootstrap Album](index.png?v=2022-11-14)

A fully functional layout from the [Bootstrap’s album example](https://getbootstrap.com/docs/5.3/examples/album).
4 changes: 2 additions & 2 deletions about.page
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Bootstrap Album
description: Lorem ipsum dolor sit amet.
description: Simple layout for photo galleries, portfolios, and more.
image: /lot/y/bootstrap.album/index.png
images:
- /lot/y/bootstrap.album/index.png
Expand All @@ -10,4 +10,4 @@ author: Taufik Nurrohman
version: 1.0.0
...

Lorem ipsum dolor sit amet.
A fully functional layout from the Bootstrap’s album example.
2 changes: 1 addition & 1 deletion page.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?= self::enter(); ?>
<div class="py-5">
<div class="<?= $site->is('home') ? 'bg-body-tertiary ' : ""; ?>py-5">
<div class="container">
<?php if ($page->exist): ?>
<div class="g-5 row">
Expand Down
2 changes: 1 addition & 1 deletion pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<?= $title; ?>
</h3>
<?php endif; ?>
<?php if ($description = To::description($page->description, 360)): ?>
<?php if ($description = To::description($page->description, 120)): ?>
<p class="card-text">
<?= $description; ?>
</p>
Expand Down

0 comments on commit 9a85258

Please sign in to comment.