Fix: remove duplicate author-bio includes, add author images, move inline styles
- Remove author-bio.php and article-footer.php duplicate inclusions from inside related article cards across 17 articles (was rendering 4x per page) - Create /assets/images/authors/ with SVG avatars for all 7 named authors - Move inline <style> block out of author-bio.php into main.css
This commit is contained in:
@@ -685,39 +685,19 @@ $read_time = 8;
|
||||
<div class="article-footer">
|
||||
<span class="read-time">9 min read</span>
|
||||
<a href="data-quality-validation-pipelines.php" class="read-more">Read →</a>
|
||||
</div>
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/author-bio.php'); ?>
|
||||
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/article-footer.php'); ?>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="article-card">
|
||||
</div> <article class="article-card">
|
||||
<h3><a href="business-intelligence-dashboard-design.php">Designing Effective Business Intelligence Dashboards</a></h3>
|
||||
<p>Create compelling, actionable BI dashboards that drive decision-making and business value.</p>
|
||||
<div class="article-footer">
|
||||
<span class="read-time">11 min read</span>
|
||||
<a href="business-intelligence-dashboard-design.php" class="read-more">Read →</a>
|
||||
</div>
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/author-bio.php'); ?>
|
||||
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/article-footer.php'); ?>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="article-card">
|
||||
</div> <article class="article-card">
|
||||
<h3><a href="financial-services-data-transformation.php">Financial Services Data Transformation Success Story</a></h3>
|
||||
<p>How a leading UK investment firm automated their market data collection and reduced analysis time by 75%.</p>
|
||||
<div class="article-footer">
|
||||
<span class="read-time">7 min read</span>
|
||||
<a href="financial-services-data-transformation.php" class="read-more">Read →</a>
|
||||
</div>
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/author-bio.php'); ?>
|
||||
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/article-footer.php'); ?>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</div> </div>
|
||||
|
||||
<div class="category-links">
|
||||
<a href="../categories/data-analytics.php" class="btn btn-secondary">More Data Analytics Articles</a>
|
||||
|
||||
Reference in New Issue
Block a user