= I18n::t('homepage.seo.h1') ?>
إِنَّ الدِّينَ عِندَ اللَّهِ الْإِسْلَامُ
= I18n::t('homepage.hero.verse_ref', ['default' => 'Sourate Al-Imran (3:19)']) ?>
= I18n::t('homepage.intro') ?>
%%SOMMAIRE%%
%%LAST_MODIFICATION%%
= I18n::t('homepage.explore.title') ?>
= $citiesFormatted ?>
= I18n::t('homepage.stats.cities') ?>
= $prenomsFormatted ?>+
= I18n::t('homepage.stats.names') ?>
= $sahabaFormatted ?>+
= I18n::t('homepage.stats.sahaba') ?>
114
= I18n::t('homepage.stats.sourates', ['default' => 'Sourates']) ?>
= $totalLanguages ?>
= I18n::t('homepage.stats.languages') ?>
= I18n::t('homepage.pillars.visual.title') ?>
= I18n::t('homepage.h2.meaning', ['default' => 'Comprendre l\'Islam']) ?>
= I18n::t('homepage.h2.whatisislam') ?>
▼
= I18n::t('homepage.whatisislam.p1') ?>
= I18n::t('homepage.whatisislam.p2') ?>
= I18n::t('homepage.h3.pillars') ?>
▼
= I18n::t('homepage.pillars.p1') ?>
= I18n::t('homepage.pillars.p2') ?>
= I18n::t('homepage.pillars.p3') ?>
= I18n::t('homepage.pillars.p4') ?>
= I18n::t('homepage.h2.beliefs') ?>
▼
= I18n::t('homepage.beliefs.p1') ?>
= I18n::t('homepage.beliefs.p2') ?>
= I18n::t('homepage.h3.prophets') ?>
▼
= I18n::t('homepage.prophets.p1') ?>
= I18n::t('homepage.prophets.p2') ?>
= I18n::t('homepage.prophets.p3') ?>
= I18n::t('homepage.prophets.p4') ?>
= I18n::t('homepage.h3.convert') ?>
▼
= I18n::t('homepage.convert.p1') ?>
I18n::t('homepage.h2.whatisislam'), 'a' => I18n::t('homepage.whatisislam.p1') . ' ' . I18n::t('homepage.whatisislam.p2')],
['q' => I18n::t('homepage.h3.pillars'), 'a' => I18n::t('homepage.pillars.p1') . ' ' . I18n::t('homepage.pillars.p2') . ' ' . I18n::t('homepage.pillars.p3')],
['q' => I18n::t('homepage.h2.beliefs'), 'a' => I18n::t('homepage.beliefs.p1') . ' ' . I18n::t('homepage.beliefs.p2')],
['q' => I18n::t('homepage.h3.prophets'), 'a' => I18n::t('homepage.prophets.p1') . ' ' . I18n::t('homepage.prophets.p2')],
['q' => I18n::t('homepage.h3.convert'), 'a' => I18n::t('homepage.convert.p1')],
]);
$hpUrl = $lang === 'fr' ? 'https://moustaqim.com/' : "https://moustaqim.com/{$lang}/";
seo_breadcrumb_schema([
['name' => I18n::t('homepage.seo.h1'), 'url' => $hpUrl],
]);
seo_speakable_schema($hpUrl, ['h1', '.hero-tagline', '.faq-answer-inner']);
// ---- Buffer final : sommaire + last-update + temps de lecture ----
$__html = ob_get_clean();
// Temps de lecture : mots du contenu / 200
$__words = str_word_count(strip_tags($__html), 0, 'ءآأؤإئابتثجحخدذرزسشصضطظعغفقكلمنهوي');
$readingTime = max(1, (int) ceil($__words / 200));
// Sommaire statique (sections home, ancres posées manuellement - garde les class)
$__sommaire = '
'
. ' ' . htmlspecialchars(I18n::t('common.toc')) . '
'
. ' ';
// Last-update + reading-time via composant central ($readingTime posé AVANT l'include)
ob_start();
include(__DIR__ . '/inc/base/last-update.php');
$__lastupdate = ob_get_clean();
echo str_replace(
['%%SOMMAIRE%%', '%%LAST_MODIFICATION%%'],
[$__sommaire, $__lastupdate],
$__html
);
?>