Xin 5c7303bee7
feat: add hx- prefix to Hextra Tailwind CSS classes (#300)
* feat: add prefix to tailwind css classes

* fix: remove unnecessary prefixes

* fix: add missing prefix in other places

* chore: regenerate hugo_stats.json

* chore: run `npm run build:css`

* chore: add `hx-` prefix to _index.fa.md

* fix: lang switcher display issue

* fix: add `hx-` prefix to showcase/index.fa.md

* fix: lang switch param mistake
2024-02-20 22:59:31 +00:00

3.2 KiB

title layout
Hextra Theme hextra-home

{{< hextra/hero-badge >}}

Free, open source {{< icon name="arrow-circle-right" attributes="height=14" >}} {{< /hextra/hero-badge >}}
{{< hextra/hero-headline >}} Build modern websites 
with Markdown and Hugo {{< /hextra/hero-headline >}}
{{< hextra/hero-subtitle >}} Fast, batteries-included Hugo theme 
for creating beautiful static websites {{< /hextra/hero-subtitle >}}
{{< hextra/hero-button text="Get Started" link="docs" >}}

{{< hextra/feature-grid >}} {{< hextra/feature-card title="Fast and Full-featured" subtitle="Simple and easy to use, yet powerful and feature-rich." class="hx-aspect-auto md:hx-aspect-[1.1/1] max-md:hx-min-h-[340px]" image="images/hextra-doc.webp" imageClass="hx-top-[40%] hx-left-[24px] hx-w-[180%] sm:hx-w-[110%] dark:hx-opacity-80" style="background: radial-gradient(ellipse at 50% 80%,rgba(194,97,254,0.15),hsla(0,0%,100%,0));"

}} {{< hextra/feature-card title="Markdown is All You Need" subtitle="Compose with just Markdown. Enrich with Shortcode components." class="hx-aspect-auto md:hx-aspect-[1.1/1] max-lg:hx-min-h-[340px]" image="images/hextra-markdown.webp" imageClass="hx-top-[40%] hx-left-[36px] hx-w-[180%] sm:hx-w-[110%] dark:hx-opacity-80" style="background: radial-gradient(ellipse at 50% 80%,rgba(142,53,74,0.15),hsla(0,0%,100%,0));" }} {{< hextra/feature-card title="Full Text Search" subtitle="Built-in full text search with FlexSearch, no extra setup required." class="hx-aspect-auto md:hx-aspect-[1.1/1] max-md:hx-min-h-[340px]" image="images/hextra-search.webp" imageClass="hx-top-[40%] hx-left-[36px] hx-w-[110%] sm:hx-w-[110%] dark:hx-opacity-80" style="background: radial-gradient(ellipse at 50% 80%,rgba(221,210,59,0.15),hsla(0,0%,100%,0));" }} {{< hextra/feature-card title="Lightweight as a Feather" subtitle="No dependency or Node.js is needed to use Hextra. Powered by Hugo, one of the fastest static site generators, building your site in just seconds with a single binary." }} {{< hextra/feature-card title="Responsive with Dark Mode Included" subtitle="Looks great on different screen sizes. Built-in dark mode support, with auto-switching based on user's system preference." }} {{< hextra/feature-card title="Build and Host for Free" subtitle="Build with GitHub Actions, and host for free on GitHub Pages. Alternatively it can be hosted on any static hosting service." }} {{< hextra/feature-card title="Multi-Language Made Easy" subtitle="Create multi-language pages by just adding locales suffix to the Markdown file. Adding i18n support to your site is intuitive." }} {{< hextra/feature-card title="And Much More..." icon="sparkles" subtitle="Syntax highlighting / Table of contents / SEO / RSS / LaTeX / Mermaid / Customizable / and more..." }} {{< /hextra/feature-grid >}}