Compare commits
4 commits
5234ef75d1
...
6bce7a9127
Author | SHA1 | Date | |
---|---|---|---|
|
6bce7a9127 | ||
|
affba305bc | ||
|
90b16d01ff | ||
|
f44df1040b |
10 changed files with 10 additions and 9 deletions
BIN
img/avatar/admin/ava128.avif
Normal file
BIN
img/avatar/admin/ava128.avif
Normal file
Binary file not shown.
BIN
img/avatar/admin/ava128.jpg
Normal file
BIN
img/avatar/admin/ava128.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
img/avatar/admin/ava128.webp
Normal file
BIN
img/avatar/admin/ava128.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
img/default-preview-small.png
Normal file
BIN
img/default-preview-small.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 8.9 KiB |
|
@ -6,7 +6,7 @@
|
|||
echo $category->name();
|
||||
?>
|
||||
</h1>
|
||||
<div class="previews-section preview-grid">
|
||||
<div class="previews-section preview-list">
|
||||
<?php foreach ($content as $page) : ?>
|
||||
<?php if ($page->type() != "sticky") : ?>
|
||||
<div class="h-entry">
|
||||
|
@ -15,7 +15,7 @@
|
|||
<?php if ($page->thumbCoverImage()) : ?>
|
||||
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" />
|
||||
<?php else : ?>
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" class="u-photo" />
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview-small.png" class="u-photo" />
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="preview-text">
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<?php if ($page->type() == "sticky") : ?>
|
||||
<article class="preview-featured h-entry">
|
||||
<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.png") ?>' class="d-none u-photo">
|
||||
<img src='<?php echo ($page->thumbCoverImage() ? $page->thumbCoverImage() : HTML_PATH_THEME_IMG . "/default-preview-small.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-overlay">
|
||||
<div class="preview-categories">
|
||||
|
@ -39,7 +39,7 @@
|
|||
<?php if ($page->thumbCoverImage()) : ?>
|
||||
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" />
|
||||
<?php else : ?>
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" class="u-photo" />
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview-small.png" class="u-photo" />
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="preview-text">
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
<aside class="card card-noheader article-meta">
|
||||
<div class="card-body">
|
||||
<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 HTML_PATH_THEME_IMG; ?>/admin/ava128.jpg" 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">
|
||||
<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>
|
||||
</div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
echo "Recherche pour « " . $title[1] . " »";
|
||||
?>
|
||||
</h1>
|
||||
<div class="previews-section preview-grid">
|
||||
<div class="previews-section preview-list">
|
||||
<?php foreach ($content as $page) : ?>
|
||||
<?php if ($page->type() != "sticky") : ?>
|
||||
<div class="h-entry">
|
||||
|
@ -14,7 +14,7 @@
|
|||
<?php if ($page->thumbCoverImage()) : ?>
|
||||
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" />
|
||||
<?php else : ?>
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" class="u-photo" />
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview-small.png" class="u-photo" />
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="preview-text">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
echo "Article avec le tag « " . $tag->name() . " »";
|
||||
?>
|
||||
</h1>
|
||||
<div class="previews-section preview-grid">
|
||||
<div class="previews-section preview-list">
|
||||
<?php foreach ($content as $page) : ?>
|
||||
<?php if ($page->type() != "sticky") : ?>
|
||||
<div class="h-entry">
|
||||
|
@ -15,7 +15,7 @@
|
|||
<?php if ($page->thumbCoverImage()) : ?>
|
||||
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" />
|
||||
<?php else : ?>
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" class="u-photo" />
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview-small.png" class="u-photo" />
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="preview-text">
|
||||
|
|
Loading…
Reference in a new issue