Μετάβαση στο κύριο περιεχόμενο
← 📄 HTML & the platform·Ενότητα A6 · Μάθημα 10
ΕργασίαBuild the complete head for a blog post at https://learnpython.academy/blog/why-fastapi. Include: doctype, html lang='en', charset, viewport, title 'Why FastAPI | CodeMentor', description, canonical (self), robots index/follow, OG 8-tag block (title, description, image https://learnpython.academy/og/why-fastapi.png, image:width 1200, image:height 630, url, type='article', site_name 'CodeMentor'), twitter summary_large_image, twitter:image, hreflang en (self) + uk (/uk/blog/why-fastapi) + x-default, JSON-LD Article with headline, author Anna, datePublished 2026-05-20T10:00:00Z, image, publisher CodeMentor with logo.

Κεφάλαιο ενότητας: πλήρες SEO + κοινωνικό μπλοκ

200 XP14 min
Θεωρία

Putting A6 together

The "ship-ready" head for a blog post combines every concept from this module:

  • Title + description (per-page, value-first).
  • Canonical (self-referential, absolute).
  • robots index/follow.
  • OpenGraph 8-tag set with absolute image URL + dimensions.
  • Twitter summary_large_image.
  • JSON-LD Article with required Schema.org fields.
  • hreflang siblings for translated versions.

This is the head every post on CodeMentor's blog ships with. The Next.js Metadata API generates most of it from per-route config — but you should understand the shape it's generating.

🔒

Εγγράψου για να αρχίσεις να προγραμματίζεις

Η θεωρία είναι ανοιχτή για όλους. Ο επεξεργαστής, η ζωντανή προεπισκόπηση και ο έλεγχος ξεκλειδώνουν με 7-ήμερη δωρεάν δοκιμή — απαιτείται κάρτα.

Εγγραφή — δωρεάν δοκιμή →

Τα πρώτα 10 μαθήματα κάθε διαδρομής είναι δωρεάν. Δεν χρειάζεται κάρτα.

← ΠροηγούμενοΕπόμενο μάθημα →

Μια συμβουλή Python ή web την ημέρα — με email

Σύντομο, γραμμένο στο χέρι, χωρίς spam. Διαγραφή με ένα κλικ.