progress on inline svg with svgo
This commit is contained in:
parent
7325162871
commit
ac64cafac7
13 changed files with 327 additions and 3889 deletions
content-templates
|
@ -25,15 +25,15 @@ namespace WP_RDNYC;
|
|||
|
||||
<div class="post-date font-monospace text-gray-300 <?php echo (has_tag() ? '' : 'mb-3'); ?>">
|
||||
<?php
|
||||
echo svg_icon_use("mdi-calendar-clock", "baseline me-2") . get_the_date('F j, Y');
|
||||
echo ' by ' . svg_icon_use("mdi-account", "baseline me-1") . get_the_author();
|
||||
// echo svg_icon_use("mdi-calendar-clock", "baseline me-2") . get_the_date('F j, Y');
|
||||
// echo ' by ' . svg_icon_use("mdi-account", "baseline me-1") . get_the_author();
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (has_tag()) {
|
||||
echo '<div class="post-tags fs-smaller mb-4">';
|
||||
echo svg_icon_use("mdi-tag-multiple", "baseline text-gray-300 me-1");
|
||||
// echo svg_icon_use("mdi-tag-multiple", "baseline text-gray-300 me-1");
|
||||
|
||||
$tag_strings = array_map(function ($tag) {
|
||||
return '<span class="text-gray-300">#</span><a href="' . get_tag_link($tag) . '">' . $tag->name . '</a>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue