| 1 |
{{ define "main" }} |
| 2 |
<div class="flex flex-col w-full p-0 m-0"> |
| 3 |
{{ partial "layouts/home/opensource.html" . }} |
| 4 |
<hr class="border-t border-gray-200 dark:border-gray-800 my-10 lg:my-14"> |
| 5 |
{{ partial "layouts/home/sponsors.html" (dict "ctx" . "gtag" "home") }} |
| 6 |
<hr class="border-t border-gray-200 dark:border-gray-800 my-10 lg:my-14"> |
| 7 |
{{ partial "layouts/home/features.html" . }} |
| 8 |
</div> |
| 9 |
{{ end }} |
| 10 |
|
| 11 |
{{ define "hero" }} |
| 12 |
<div class="relative isolate px-6 lg:px-8"> |
| 13 |
<div class="mx-auto max-w-2xl pt-16"> |
| 14 |
<div class="text-center"> |
| 15 |
<img |
| 16 |
src="{{ `images/hugo-logo-wide.svg` | relURL }}" |
| 17 |
alt="Hugo Logo" |
| 18 |
class="w-64 aspect-3/1 mx-auto mb-8"> |
| 19 |
<h1 |
| 20 |
class="text-4xl font-bold tracking-tight text-balance text-gray-900 dark:text-gray-300 sm:text-6xl"> |
| 21 |
The world’s fastest framework for building websites |
| 22 |
</h1> |
| 23 |
<div |
| 24 |
class="mt-8 text-lg font-medium text-pretty text-gray-800 dark:text-gray-400 sm:text-xl/8"> |
| 25 |
Hugo is one of the most popular open-source static site generators. |
| 26 |
With its amazing speed and flexibility, Hugo makes building websites |
| 27 |
fun again. |
| 28 |
</div> |
| 29 |
<div class="mt-10 flex items-center justify-center gap-x-6"> |
| 30 |
{{ with site.GetPage "/getting-started" }} |
| 31 |
<a |
| 32 |
href="{{ .RelPermalink }}" |
| 33 |
class="rounded-md uppercase tracking-wide bg-blue-600 hover:bg-blue-500 px-3.5 py-2.5 text-sm font-semibold text-white shadow-xs focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600" |
| 34 |
>{{ .LinkTitle }}</a |
| 35 |
> |
| 36 |
{{ end }} |
| 37 |
<div class="-my-5 mr-6 sm:mr-8 md:mr-0"> |
| 38 |
{{ partial "layouts/search/button.html" (dict "page" . "standalone" true) }} |
| 39 |
</div> |
| 40 |
</div> |
| 41 |
</div> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
{{ end }} |
| 45 |
|
| 46 |
{{ define "rightsidebar" }} |
| 47 |
{{ printf "%c" '\u00A0' }} |
| 48 |
{{ end }} |
| 49 |
|
| 50 |
{{ define "leftsidebar" }} |
| 51 |
{{ printf "%c" '\u00A0' }} |
| 52 |
{{ end }} |