bl-github/php/content.php

20 lines
870 B
PHP
Raw Permalink Normal View History

2023-03-11 11:38:14 +00:00
<div class="row">
<div class="col-md-12">
<?php foreach ($content as $page): ?>
<?php Theme::plugins('pageBegin'); ?>
<div class="p-3 border-bottom border-gray-light">
<svg class="octicon octicon-repo text-secondary" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"></path></svg>
<strong>
<a href="<?php echo $page->permalink(); ?>">
<?php echo $page->title(); ?>
</a>
</strong>
<br/>
<?php if ($page->description()): ?><p class="mt-3"><?php echo $page->description(); ?></p><?php endif ?>
<br/>
<?php include(THEME_DIR_PHP.'features.php'); ?>
</div>
<?php Theme::plugins('pageEnd'); ?>
<?php endforeach ?>
</div>
</div>