المشكلة
عند تشغيل hugo serve وفتح http://localhost:1313 في متصفحك، تواجه خطأ “Page Not Found”.
الحل
تقريبًا دائمًا، هذه المشكلة سببها مجلد theme مفقود!
أولًا، افحص إن كنت نسيت تحديث submodules لديك (إذا كان لديك theme أصلًا، لكن لا ضرر من تجربته في أي حال):
git_submodule_update.sh
git submodule update --initإذا لم يساعد ذلك بعد، افحص إن كنت أضفت theme أصلًا - انظر الخطوة 3 من Quickstart. أيضًا، افحص مخرجات hugo serve لأي رسائل خطأ!
Check out similar posts by category:
Hugo
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow
