PaneStack is building! 🎉 Discover what’s new

Hextra Shortcodes

الاستخدام الرئيسي لهذه الرموز المختصرة هو داخل التخطيط hextra-home.

hextra/feature-card

رمز مختصر لعرض بطاقة مميزة.

Usage

{{< hextra/feature-card title="Title" subtitle="Subtitle" >}}

Options

ParameterDescription
titleعنوان البطاقة.
subtitleالعنوان الفرعي للبطاقة.
classفئة البطاقة.
imageصورة البطاقة.
imageClassفئة الصورة.
styleنمط البطاقة.
iconأيقونة البطاقة.
linkرابط البطاقة.

hextra/feature-grid

رمز مختصر لعرض شبكة الميزات.

Usage

{{< hextra/feature-grid cols="3" >}}
  {{< hextra/feature-card title="One" >}}
  {{< hextra/feature-card title="Two" >}}
  {{< hextra/feature-card title="Three" >}}
{{< /hextra/feature-grid >}}

Options

ParameterDescription
colsعدد الأعمدة.
styleنمط الشبكة.

hextra/hero-badge

رمز مختصر لعرض شارة تحتوي على رابط.

Usage

{{< hextra/hero-badge >}}
  <div class="hx:w-2 hx:h-2 hx:rounded-full hx:bg-primary-400"></div>
  <span>Free, open source</span>
  {{< icon name="arrow-circle-right" attributes="height=14" >}}
{{< /hextra/hero-badge >}}

Options

ParameterDescription
linkرابط الشارة.
classفئة الشارة.
styleشكل الشارة.

hextra/hero-button

رمز مختصر لعرض زر يحتوي على رابط.

Usage

{{< hextra/hero-button text="Get Started" link="/docs" >}}

Options

ParameterDescription
linkرابط الزر.
textنص الزر.
styleشكل الزر.

hextra/hero-container

حاوية بطل بسيطة مع صورة على الجانب الأيسر.

Usage

{{< hextra/hero-container image="images/logo.svg"  imageTitle="title" >}}
    Content
{{< /hextra/hero-container >}}

Options

ParameterDescription
classفئة الحاوية.
colsعدد الأعمدة (الافتراضي: 2).
imageصورة الحاوية.
imageCardعرض الصورة كبطاقة (الافتراضي: false).
imageClassفئة الصورة.
imageLinkرابط الصورة.
imageStyleشكل الصورة.
imageTitleعنوان الصورة.
imageWidthعرض الصورة (الافتراضي: 350).
imageHeightارتفاع الصورة (الافتراضي: 350).
styleشكل الحاوية.

hextra/hero-headline

رمز مختصر لعرض عنوان رئيسي.

Usage

{{< hextra/hero-headline >}}
  Build modern websites&nbsp;<br class="hx:sm:block hx:hidden" />with Markdown and Hugo
{{< /hextra/hero-headline >}}

Options

ParameterDescription
styleأسلوب العنوان.

hextra/hero-section

قسم بطل بسيط مع عنوان ونمط اختياري.

Usage

{{< hextra/hero-section heading="h3" >}}Title{{< /hextra/hero-section >}}>

Options

ParameterDescription
headingمستوى العنوان (افتراضي: h2).
styleنمط العنوان.
contentمحتوى العنوان.

hextra/hero-subtitle

رمز مختصر لعرض عنوان فرعي للبطل.

Usage

{{< hextra/hero-subtitle >}}
  Fast, batteries-included Hugo theme&nbsp;<br class="hx:sm:block hx:hidden" />for creating beautiful static websites
{{< /hextra/hero-subtitle >}}

Options

ParameterDescription
styleأسلوب الترجمة.