switched to using webpack & svgo to optimize SVG files, and inline them via PHP

This commit is contained in:
Adam Piontek 2021-07-26 11:03:32 -04:00
parent 65810de967
commit 028efdcc67
13 changed files with 174 additions and 3693 deletions

View file

@ -22,7 +22,7 @@ get_header(); ?>
<header>
<h2>
<?php
echo svg_icon_use('mdi-account', 'baseline');
echo inline_svg( 'mdi-account', array( 'div_class' => 'icon baseline' ) );
echo ' ' . get_the_author_meta('display_name');
?>
</h2>