Compare commits

..

No commits in common. "6bce7a912717b35436c695c4e518cf40cb8f0f8b" and "5234ef75d1228b9e17e53d5e4674304f17b4fb44" have entirely different histories.

10 changed files with 9 additions and 10 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -6,7 +6,7 @@
echo $category->name(); echo $category->name();
?> ?>
</h1> </h1>
<div class="previews-section preview-list"> <div class="previews-section preview-grid">
<?php foreach ($content as $page) : ?> <?php foreach ($content as $page) : ?>
<?php if ($page->type() != "sticky") : ?> <?php if ($page->type() != "sticky") : ?>
<div class="h-entry"> <div class="h-entry">
@ -15,7 +15,7 @@
<?php if ($page->thumbCoverImage()) : ?> <?php if ($page->thumbCoverImage()) : ?>
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" /> <img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" />
<?php else : ?> <?php else : ?>
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview-small.png" class="u-photo" /> <img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" class="u-photo" />
<?php endif ?> <?php endif ?>
</div> </div>
<div class="preview-text"> <div class="preview-text">

View file

@ -11,7 +11,7 @@
<?php if ($page->type() == "sticky") : ?> <?php if ($page->type() == "sticky") : ?>
<article class="preview-featured h-entry"> <article class="preview-featured h-entry">
<a href="<?php echo $page->permalink(); ?>" class="preview-link u-url"> <a href="<?php echo $page->permalink(); ?>" class="preview-link u-url">
<img src='<?php echo ($page->thumbCoverImage() ? $page->thumbCoverImage() : HTML_PATH_THEME_IMG . "/default-preview-small.png") ?>' class="d-none u-photo"> <img src='<?php echo ($page->thumbCoverImage() ? $page->thumbCoverImage() : HTML_PATH_THEME_IMG . "/default-preview.png") ?>' class="d-none u-photo">
<div class="preview-item" style="background-image:url('<?php echo ($page->thumbCoverImage() ? $page->thumbCoverImage() : HTML_PATH_THEME_IMG . "/default-preview.png") ?>');"> <div class="preview-item" style="background-image:url('<?php echo ($page->thumbCoverImage() ? $page->thumbCoverImage() : HTML_PATH_THEME_IMG . "/default-preview.png") ?>');">
<div class="preview-overlay"> <div class="preview-overlay">
<div class="preview-categories"> <div class="preview-categories">
@ -39,7 +39,7 @@
<?php if ($page->thumbCoverImage()) : ?> <?php if ($page->thumbCoverImage()) : ?>
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" /> <img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" />
<?php else : ?> <?php else : ?>
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview-small.png" class="u-photo" /> <img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" class="u-photo" />
<?php endif ?> <?php endif ?>
</div> </div>
<div class="preview-text"> <div class="preview-text">

View file

@ -29,8 +29,7 @@
<aside class="card card-noheader article-meta"> <aside class="card card-noheader article-meta">
<div class="card-body"> <div class="card-body">
<div class="author-area p-author h-card"> <div class="author-area p-author h-card">
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/admin/ava128.jpg" srcset="https://secure.gravatar.com/avatar/8a4aed71aeec9f65c9e098d81ff12638?s=240&amp;d=mm&amp;r=g 2x" class="avatar avatar-120 photo" height="120" width="120" decoding="async"> <img alt="" src="<?php echo $page->user('profilePicture');?>" srcset="https://secure.gravatar.com/avatar/8a4aed71aeec9f65c9e098d81ff12638?s=240&amp;d=mm&amp;r=g 2x" class="avatar avatar-120 photo" height="120" width="120" decoding="async"> <div class="author-metadata">
<div class="author-metadata">
<div class="author-pseudo">Écrit par <a href="https://kazhnuz.space" class="u-url p-name"><?php echo $page->user('nickname'); ?></a></div> <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="p-note"><?php echo print_r($page->user('firstName'), TRUE); ?></small> <small class="p-note"><?php echo print_r($page->user('firstName'), TRUE); ?></small>
</div> </div>

View file

@ -5,7 +5,7 @@
echo "Recherche pour « " . $title[1] . " »"; echo "Recherche pour « " . $title[1] . " »";
?> ?>
</h1> </h1>
<div class="previews-section preview-list"> <div class="previews-section preview-grid">
<?php foreach ($content as $page) : ?> <?php foreach ($content as $page) : ?>
<?php if ($page->type() != "sticky") : ?> <?php if ($page->type() != "sticky") : ?>
<div class="h-entry"> <div class="h-entry">
@ -14,7 +14,7 @@
<?php if ($page->thumbCoverImage()) : ?> <?php if ($page->thumbCoverImage()) : ?>
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" /> <img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" />
<?php else : ?> <?php else : ?>
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview-small.png" class="u-photo" /> <img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" class="u-photo" />
<?php endif ?> <?php endif ?>
</div> </div>
<div class="preview-text"> <div class="preview-text">

View file

@ -6,7 +6,7 @@
echo "Article avec le tag « " . $tag->name() . " »"; echo "Article avec le tag « " . $tag->name() . " »";
?> ?>
</h1> </h1>
<div class="previews-section preview-list"> <div class="previews-section preview-grid">
<?php foreach ($content as $page) : ?> <?php foreach ($content as $page) : ?>
<?php if ($page->type() != "sticky") : ?> <?php if ($page->type() != "sticky") : ?>
<div class="h-entry"> <div class="h-entry">
@ -15,7 +15,7 @@
<?php if ($page->thumbCoverImage()) : ?> <?php if ($page->thumbCoverImage()) : ?>
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" /> <img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" />
<?php else : ?> <?php else : ?>
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview-small.png" class="u-photo" /> <img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" class="u-photo" />
<?php endif ?> <?php endif ?>
</div> </div>
<div class="preview-text"> <div class="preview-text">