Compare commits
5 commits
ddfbe4476c
...
128bdb776b
Author | SHA1 | Date | |
---|---|---|---|
|
128bdb776b | ||
|
d78d081579 | ||
|
5b5bf3ebf8 | ||
|
0876630039 | ||
|
fb9dc54bcb |
3 changed files with 26 additions and 15 deletions
|
@ -3,7 +3,7 @@
|
||||||
<a href="https://kobold.cafe/">
|
<a href="https://kobold.cafe/">
|
||||||
<img src="<?php echo HTML_PATH_THEME_IMG; ?>/koboldcafe.gif" alt="Ce site hébergé par Kobold Cafe">
|
<img src="<?php echo HTML_PATH_THEME_IMG; ?>/koboldcafe.gif" alt="Ce site hébergé par Kobold Cafe">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr">
|
<a href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr" rel="licence">
|
||||||
<img src="<?php echo HTML_PATH_THEME_IMG; ?>/cc-by-sa.gif" alt="Ce site est sous Creative Common Attribution - Partage dans les Mêmes Conditions 4.0 International">
|
<img src="<?php echo HTML_PATH_THEME_IMG; ?>/cc-by-sa.gif" alt="Ce site est sous Creative Common Attribution - Partage dans les Mêmes Conditions 4.0 International">
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
11
php/home.php
11
php/home.php
|
@ -3,8 +3,15 @@
|
||||||
<h1 class="page-title" id="title-featured">
|
<h1 class="page-title" id="title-featured">
|
||||||
Bienvenue sur mon blog
|
Bienvenue sur mon blog
|
||||||
</h1>
|
</h1>
|
||||||
<section class="mb-1">
|
<section class="mb-1 h-card">
|
||||||
<p>Bienvenue sur la partie blog du site de <a href="https://kazhnuz.space/" class="h-card">Kazhnuz</a> ! Sur cette partie, j'y poste mes pensées, mes textes, bref tout ce que je fais un peu en vrac (heureusement y'a les tags et les catégories pour s'y retrouver).</p>
|
<picture>
|
||||||
|
<source type="image/avif" srcset="<?php echo HTML_PATH_THEME_IMG; ?>/hhghtthrhtr-small.avif" />
|
||||||
|
<img
|
||||||
|
src="<?php echo HTML_PATH_THEME_IMG; ?>/hhghtthrhtr-small.png"
|
||||||
|
alt=""
|
||||||
|
class="myavatar u-photo d-none" />
|
||||||
|
</picture>
|
||||||
|
<p>Bienvenue sur la partie blog du site de <a href="https://kazhnuz.space/" class="p-name u-url">Kazhnuz</a> ! Sur cette partie, j'y poste mes pensées, mes textes, bref tout ce que je fais un peu en vrac (heureusement y'a les tags et les catégories pour s'y retrouver).</p>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<ul class="h-feed">
|
<ul class="h-feed">
|
||||||
|
|
26
php/page.php
26
php/page.php
|
@ -1,34 +1,38 @@
|
||||||
<main id="skip">
|
<main id="skip">
|
||||||
<?php Theme::plugins('pageBegin'); ?>
|
<?php Theme::plugins('pageBegin'); ?>
|
||||||
<article class="article container-article mb-1">
|
<article class="article container-article mb-1 h-entry">
|
||||||
<h1 class="page-title"><?php echo $page->title(); ?></h1>
|
<h1 class="page-title p-name"><?php echo $page->title(); ?></h1>
|
||||||
<?php if (!$page->isStatic() && !$url->notFound()): ?>
|
<?php if (!$page->isStatic() && !$url->notFound()): ?>
|
||||||
|
<div class="flex-that mb-1">
|
||||||
|
<time class="author-date dt-published" datetime="<?php echo $page->date(DATE_ATOM) ?>"><i>Le <?php echo $page->date('l j F Y à H:i') ?></i></time>
|
||||||
<p class="align-right pr-half"><span class="btn btn-small c-secondary"> <?php echo $page->readingTime() ?> </span></p>
|
<p class="align-right pr-half"><span class="btn btn-small c-secondary"> <?php echo $page->readingTime() ?> </span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<div class="article-entry mb-1">
|
<div class="article-entry mb-1 e-content">
|
||||||
<?php echo $page->content(); ?>
|
<?php echo $page->content(); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php if (!$page->isStatic() && !$url->notFound()): ?>
|
<?php if (!$page->isStatic() && !$url->notFound()): ?>
|
||||||
<aside class="card card-noheader article-meta">
|
<aside class="card card-noheader article-meta">
|
||||||
<h2 class="sr-only">Métadonnées de l'article</h2>
|
<h2 class="sr-only">Métadonnées de l'article</h2>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="author-area">
|
<div class="author-area p-author h-card">
|
||||||
<img alt="" src="<?php echo $page->user('profilePicture');?>" srcset="https://secure.gravatar.com/avatar/8a4aed71aeec9f65c9e098d81ff12638?s=240&d=mm&r=g 2x" class="avatar avatar-120 photo" height="120" width="120" decoding="async"> <div class="author-metadata">
|
<img alt="" src="<?php echo $page->user('profilePicture');?>" srcset="https://secure.gravatar.com/avatar/8a4aed71aeec9f65c9e098d81ff12638?s=240&d=mm&r=g 2x" class="avatar avatar-120 photo u-photo" height="120" width="120" decoding="async">
|
||||||
<div class="author-pseudo">Écrit par <a href="https://kazhnuz.space"><?php echo $page->user('nickname'); ?></a></div>
|
<div class="author-metadata">
|
||||||
<small class="author-date">Le <?php echo $page->date('l j F Y à H:i') ?></small>
|
<div class="author-pseudo">Écrit par <a href="https://kazhnuz.space" class="u-url p-name"><?php echo $page->user('nickname'); ?></a></div>
|
||||||
|
<small class="author-date p-note"><?php echo $page->user('firstname'); ?></small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php ?>
|
<p class="mb-0 pb-half p-summary"><?php echo $page->description(); ?></p>
|
||||||
|
|
||||||
<div class="article-category">
|
<div class="article-category">
|
||||||
<h3 class="sr-only">Tags et catégories</h3>
|
<h3 class="sr-only">Tags et catégories</h3>
|
||||||
<ul class="nolist" aria-labelledby="title-article-taxo-categories">
|
<ul class="nolist" aria-labelledby="title-article-taxo-categories">
|
||||||
<h4 class="sr-only" id="title-article-taxo-categories">Catégories</h4>
|
<h4 class="sr-only" id="title-article-taxo-categories">Catégories</h4>
|
||||||
<p class="mb-0 pb-half"><?php echo $page->description(); ?></p>
|
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo $page->categoryPermalink(); ?>" class="btn btn-small c-primary">
|
<a href="<?php echo $page->categoryPermalink(); ?>" rel="tag directory" class="btn btn-small c-primary p-category mr-half">
|
||||||
<svg class="icon" alt=""><use xlink:href="#icon-folder"></use></svg>
|
<svg class="icon" alt=""><use xlink:href="#icon-folder"></use></svg>
|
||||||
<?php echo $page->category(); ?>
|
<?php echo $page->category(); ?>
|
||||||
</a>
|
</a>
|
||||||
|
@ -39,7 +43,7 @@
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php
|
<a href="<?php
|
||||||
$tagObject = new Tag($x);
|
$tagObject = new Tag($x);
|
||||||
echo $tagObject->permalink(); ?>" class="btn btn-small c-secondary">
|
echo $tagObject->permalink(); ?>" rel="tag directory" class="btn btn-small c-secondary p-category mr-half">
|
||||||
<svg class="icon" alt=""><use xlink:href="#icon-tags"></use></svg>
|
<svg class="icon" alt=""><use xlink:href="#icon-tags"></use></svg>
|
||||||
<?php echo $y; ?>
|
<?php echo $y; ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue