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:
@@ -174,33 +174,13 @@ $og_image = "https://ukdataservices.co.uk/assets/images/icon-automation.svg";
|
||||
<article class="related-card">
|
||||
<h3><a href="/blog/articles/competitive-intelligence-roi-metrics.php">Measuring ROI in Competitive Intelligence: A UK Business Guide</a></h3>
|
||||
<p>Learn how to quantify the value of competitive intelligence initiatives and demonstrate clear ROI to stakeholders.</p>
|
||||
<span class="category-tag">Data Analytics</span>
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/author-bio.php'); ?>
|
||||
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/article-footer.php'); ?>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="related-card">
|
||||
<span class="category-tag">Data Analytics</span> <article class="related-card">
|
||||
<h3><a href="/blog/articles/web-scraping-compliance-uk-guide.php">Web Scraping Compliance in the UK: Legal Framework and Best Practices</a></h3>
|
||||
<p>Navigate the complex legal landscape of web scraping in the UK with our comprehensive compliance guide.</p>
|
||||
<span class="category-tag">Web Scraping</span>
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/author-bio.php'); ?>
|
||||
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/article-footer.php'); ?>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="related-card">
|
||||
<span class="category-tag">Web Scraping</span> <article class="related-card">
|
||||
<h3><a href="/blog/articles/javascript-heavy-sites-scraping.php">Advanced Techniques for Scraping JavaScript-Heavy Websites</a></h3>
|
||||
<p>Master the technical challenges of extracting data from modern, dynamic websites using proven methodologies.</p>
|
||||
<span class="category-tag">Web Scraping</span>
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/author-bio.php'); ?>
|
||||
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/article-footer.php'); ?>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<span class="category-tag">Web Scraping</span> </div>
|
||||
</section>
|
||||
|
||||
<!-- CTA Section -->
|
||||
|
||||
Reference in New Issue
Block a user